src/Makefile.am
author Kristian H?gsberg <krh@redhat.com>
Fri Jun 20 21:56:43 2008 -0400 (2008-06-20)
changeset 254 ccb1c11968ab
child 265 71b615b7c185
permissions -rw-r--r--
Introduce install/remove iterators.

These iterator constructors lets you pass in two sets and creates
an iterator for the packages to remove or the packages to install.
The iterators will step through the packages in a sequence that respects
the pre, post, preun and postun modifiers.

Right now, the install order isn't actually implemented, this patch just
implements the API changes and updates the applications.
     1 ## Process this file with automake to produce Makefile.in
     2 
     3 INCLUDES = \
     4 	$(CURL_CFLAGS) \
     5 	$(EXPAT_CFLAGS) \
     6 	$(RPM_CFLAGS) \
     7 	-I$(top_builddir)/src -I$(top_srcdir)/src \
     8 	-I$(top_srcdir)/librazor \
     9 	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
    10 	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
    11 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
    12 	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
    13 	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
    14 	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\"
    15 
    16 bin_PROGRAMS = razor rpm
    17 
    18 razor_SOURCES = main.c import-rpmdb.c import-yum.c
    19 razor_LDADD = $(RPM_LIBS) $(EXPAT_LIBS) $(CURL_LIBS) $(top_builddir)/librazor/librazor.la
    20 
    21 rpm_SOURCES = rpm.c
    22 rpm_LDADD = $(top_builddir)/librazor/librazor.la
    23 
    24 clean-local :
    25 	rm -f *~
    26