2
# The contents of this file are subject to the Netscape Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/NPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
21
DEPTH = ../../../../../../..
22
topsrcdir = @top_srcdir@
26
include $(DEPTH)/config/autoconf.mk
28
XPIDL_MODULE = npscriptable
29
LIBRARY_NAME = npscriptable
38
CPPSRCS = plugin.cpp \
39
nsScriptablePeer.cpp \
42
XPIDLSRCS = nsIScriptablePluginSample.idl
44
SHARED_LIBRARY_LIBS = ../../common/$(LIB_PREFIX)plugingate_s.$(LIB_SUFFIX)
46
DEFFILE = $(srcdir)/npscriptable.def
47
RESFILE = npscriptable.res
53
include $(topsrcdir)/config/rules.mk
55
DEFINES += -DMOZILLA_STRICT_API
57
LOCAL_INCLUDES = -I./$(XPIDL_GEN_DIR) \
58
-I$(srcdir)/../../include \
59
-I$(srcdir)/../../../include \