src/Makefile.am
author James Bowes <jbowes@redhat.com>
Mon Jun 23 21:20:16 2008 -0400 (2008-06-23)
changeset 278 97c12ddedfb3
parent 241 c3eb520e2219
child 284 6e19775d8930
permissions -rw-r--r--
Create an empty package iterator when we don't know about the given file.

This is an easy way to stop segfaults when trying to destroy iterators for
unknown files.
     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
    17 noinst_PROGRAMS = rpm
    18 
    19 razor_SOURCES = main.c import-rpmdb.c import-yum.c
    20 razor_LDADD = $(RPM_LIBS) $(EXPAT_LIBS) $(CURL_LIBS) $(top_builddir)/librazor/librazor.la
    21 
    22 rpm_SOURCES = rpm.c
    23 rpm_LDADD = $(top_builddir)/librazor/librazor.la
    24 
    25 clean-local :
    26 	rm -f *~
    27