First usable command-line UI version.
[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                 cabextract/cabextract.h \
24                 cabinet.c \
25                 cabinet.h \
26                 captivemodid.c \
27                 captivemodid.h \
28                 diskscan.c \
29                 diskscan.h \
30                 main.c \
31                 main.h \
32                 microsoftcom.c \
33                 microsoftcom.h \
34                 moduriload.c \
35                 moduriload.h \
36                 ui-line.c \
37                 ui-line.h
38 captive_install_acquire_CFLAGS=$(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS) $(OPENSSL_CFLAGS)
39 captive_install_acquire_LDADD =$(GNOME_VFS_LIBS)   $(LIBXML_LIBS)   $(OPENSSL_LIBS)   $(LIBNTFS_LIBS) $(POPT_LIBS)
40 captive_install_acquire_LDADD+= $(READLINE_LIBS)    $(INTLLIBS)
41 captive_install_acquire_LDFLAGS=$(READLINE_LDFLAGS)
42
43 captive_install_acquire_CFLAGS+=-DSYSCONFDIR="$(sysconfdir)"
44 captive_install_acquire_CFLAGS+=-DVARLIBCAPTIVEDIR="$(localstatedir)/lib/$(PACKAGE)"
45 captive_install_acquire_LDADD+=../libcaptive-install/libcaptive-install.a
46
47 EXTRA_DIST+= \
48                 cabextract/.vimrc
49
50 sysconf_DATA= \
51                 w32-mod-id.captivemodid.xml
52
53 if HAVE_LIBNTFS
54 captive_install_acquire_cond=captive-install-acquire
55 endif
56 sbin_PROGRAMS+=$(captive_install_acquire_cond)