1 ############################################################################
2 ## Makefile.in (Generic SANE Plugin Tree)
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/
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.
15 ## Rusty Lynch <rusty.lynch@intel.com>
16 ############################################################################
18 DEPTH
= ..
/..
/..
/..
/..
19 topsrcdir
= @top_srcdir@
23 include $(DEPTH
)/config
/autoconf.mk
27 ifeq ($(OS_ARCH
),WINNT
)
29 DEFFILE
= $(srcdir)/nprt.def
32 # plugins should always be shared, even in the "static" build
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
)
59 $(INSTALL
) $(SHARED_LIBRARY
) $(DIST
)/bin
/plugins
64 install:: $(SHARED_LIBRARY
)
66 $(SYSINSTALL
) $(IFLAGS2
) $< $(DESTDIR
)$(mozappdir
)/plugins