Bootstrap of 'captive-install-acquire' for W32 modules acquiration process.
[captive.git] / src / install / acquire / Makefile.am
1 # $Id$
2 # automake source for drivers acquiring installation utility Makefile
3 # Copyright (C) 2003 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
21 captive_install_acquire_SOURCES= \
22                 cabextract/cabextract.c \
23                 cabinet.c \
24                 cabinet.h \
25                 captivemodid.c \
26                 captivemodid.h \
27                 diskscan.c \
28                 diskscan.h \
29                 main.c \
30                 main.h \
31                 moduriload.c \
32                 moduriload.h
33 captive_install_acquire_CFLAGS=$(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS) $(OPENSSL_CFLAGS)
34 captive_install_acquire_LDADD =$(GNOME_VFS_LIBS)   $(LIBXML_LIBS)   $(OPENSSL_LIBS)   $(LIBNTFS_LIBS) $(POPT_LIBS)
35
36 captive_install_acquire_CFLAGS+=-DSYSCONFDIR="$(sysconfdir)"
37 captive_install_acquire_LDADD+=../libcaptive-install/libcaptive-install.a
38
39 EXTRA_DIST+= \
40                 cabextract/.vimrc
41
42 if HAVE_LIBNTFS
43 captive_install_acquire_cond=captive-install-acquire
44 endif
45 sbin_PROGRAMS+=$(captive_install_acquire_cond)