Provide statical linking of GnomeVFS "libntfs" method for: --enable-standalone
[captive.git] / src / libcaptive / captivemodid / Makefile.am
1 # $Id$
2 # automake source for the XML database of W32 module ids of libcaptive Makefile 
3 # Copyright (C) 2005 Jan Kratochvil <project-captive@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
21
22 noinst_LTLIBRARIES=libcaptivemodid.la
23
24 if HAVE_LIBXML_XMLREADER_H
25 captivemodid_cond=captivemodid.c
26 endif
27
28 libcaptivemodid_la_SOURCES= \
29                 $(captivemodid_cond)
30 libcaptivemodid_la_CFLAGS=$(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS) $(OPENSSL_CFLAGS)
31 libcaptivemodid_la_LIBADD=$(GNOME_VFS_LIBS)   $(LIBXML_LIBS)   $(OPENSSL_LIBS)
32
33 libcaptivemodid_la_CFLAGS+=-DSYSCONFDIR="$(sysconfdir)"
34
35 sysconf_DATA= \
36                 w32-mod-id.captivemodid.xml
37 EXTRA_DIST+=$(sysconf_DATA)
38
39 EXTRA_DIST+= \
40                 captivemodid-list.pl \
41                 captivemodid-print.pl \
42                 compatibility-test.sh