Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / modules / plugin / sdk / samples / npruntime / Makefile.in
blob1ff433ae9b1d1e583a336f9a6dc8c360a8dccbb4
1 ############################################################################
2 ## Makefile.in (Generic SANE Plugin Tree)
3 ##
4 ## The contents of this file are subject to the Mozilla Public
5 ## License Version 1.1 (the "License"); you may not use this file
6 ## except in compliance with the License. You may obtain a copy of
7 ## the License at http://www.mozilla.org/MPL/
8 ##
9 ## Software distributed under the License is distributed on an "AS
10 ## IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 ## implied. See the License for the specific language governing
12 ## rights and limitations under the License.
13 ## Contributor(s):
15 ## Rusty Lynch <rusty.lynch@intel.com>
16 ############################################################################
18 DEPTH = ../../../../..
19 topsrcdir = @top_srcdir@
20 srcdir = @srcdir@
21 VPATH = @srcdir@
23 include $(DEPTH)/config/autoconf.mk
25 MODULE = plugin
26 LIBRARY_NAME = nprt
27 ifeq ($(OS_ARCH),WINNT)
28 RESFILE = nprt.res
29 DEFFILE = $(srcdir)/nprt.def
30 endif
32 # plugins should always be shared, even in the "static" build
33 FORCE_SHARED_LIB = 1
35 # Force use of PIC
36 FORCE_USE_PIC = 1
38 NO_DIST_INSTALL = 1
39 NO_INSTALL = 1
41 CPPSRCS = \
42 np_entry.cpp \
43 npn_gate.cpp \
44 npp_gate.cpp \
45 plugin.cpp \
46 $(NULL)
48 REQUIRES = \
49 plugin \
50 $(NULL)
52 LOCAL_INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../../public \
53 -I/usr/lib/glib/include
55 include $(topsrcdir)/config/rules.mk
57 install-plugin: $(SHARED_LIBRARY)
58 ifdef SHARED_LIBRARY
59 $(INSTALL) $(SHARED_LIBRARY) $(DIST)/bin/plugins
60 endif
62 libs:: install-plugin
64 install:: $(SHARED_LIBRARY)
65 ifdef SHARED_LIBRARY
66 $(SYSINSTALL) $(IFLAGS2) $< $(DESTDIR)$(mozappdir)/plugins
67 endif