2 # automake source for drivers acquiring installation utility Makefile
3 # Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
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
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.
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
19 include $(top_srcdir)/Makefile-head.am
26 ui-gnome-interface.c \
27 ui-gnome-interface.h \
28 ui-gnome-callbacks.h \
32 captive_install_acquire_SOURCES= \
33 cabextract/cabextract.c \
34 cabextract/cabextract.h \
59 captive_install_acquire-ui-gnome-interface.$(OBJEXT): ui-gnome-callbacks.h
61 if HAVE_GLADE_WRITESOURCE
62 # touch(1) as 'ui-gnome-callbacks.h' are not overwritten if not changed:
63 $(GLADE_OUT): $(GLADE_IN)
64 sh $(top_srcdir)/macros/glade-w.sh $<
65 @touch ui-gnome-callbacks.h
70 ui-gnome-callbacks.c \
74 captive_install_acquire_CFLAGS=$(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS) $(OPENSSL_CFLAGS)
75 captive_install_acquire_LDADD =$(GNOME_VFS_LIBS) $(LIBXML_LIBS) $(OPENSSL_LIBS)
76 captive_install_acquire_LDADD+= $(READLINE_LIBS) $(LIBNTFS_LIBS) $(POPT_LIBS) $(INTLLIBS)
77 captive_install_acquire_LDFLAGS=$(READLINE_LDFLAGS)
79 # FIXME: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:51: warning: function declaration isn't a prototype
80 # /* We use () here to mean unspecified arguments. This is deprecated
81 # * as of C99, but we can't change it without breaking compatibility.
82 # * (Note that if we are included from a C++ program () will mean
83 # * (void) so an explicit cast will be needed.)
85 # typedef void (*GtkItemFactoryCallback) ();
86 # We cannot put '-Wno-strict-prototypes' as we get always overriden by $(CFLAGS) !
87 captive_install_acquire_CFLAGS+=$(GNOMEUI_CFLAGS)
88 captive_install_acquire_LDADD +=$(GNOMEUI_LIBS)
90 captive_install_acquire_CFLAGS+=-DSYSCONFDIR="$(sysconfdir)"
91 captive_install_acquire_CFLAGS+=-DVARLIBCAPTIVEDIR="$(localstatedir)/lib/$(PACKAGE)"
92 captive_install_acquire_LDADD+=../libcaptive-install/libcaptive-install.a
95 w32-mod-id.captivemodid.xml
96 EXTRA_DIST+=$(sysconf_DATA)
99 captive_install_acquire_cond=captive-install-acquire
101 sbin_PROGRAMS+=$(captive_install_acquire_cond)