src/Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Thu Jan 08 15:36:35 2009 +0000 (2009-01-08)
changeset 332 9f735b6f5939
parent 320 53e1185e2366
child 335 636f120d1b5e
permissions -rw-r--r--
Use gnulib with the razor binary for portability (for fnmatch in particular).
     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)/gl -I$(top_srcdir)/gl \
     8 	-I$(top_builddir)/src -I$(top_srcdir)/src \
     9 	-I$(top_srcdir)/librazor \
    10 	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
    11 	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
    12 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
    13 	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
    14 	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
    15 	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\"
    16 
    17 bin_PROGRAMS = razor
    18 noinst_PROGRAMS = rpm
    19 check_PROGRAMS = test-driver
    20 
    21 razor_SOURCES = main.c import-yum.c
    22 if HAVE_RPMLIB
    23 razor_SOURCES += import-rpmdb.c
    24 endif
    25 razor_LDADD = $(RPM_LIBS) $(EXPAT_LIBS) $(CURL_LIBS) $(top_builddir)/librazor/librazor.la $(top_builddir)/gl/libgnu.la
    26 
    27 rpm_SOURCES = rpm.c
    28 rpm_LDADD = $(top_builddir)/librazor/librazor.la
    29 
    30 test_driver_SOURCES = test-driver.c
    31 test_driver_LDADD = $(EXPAT_LIBS) $(top_builddir)/librazor/librazor.la
    32 
    33 TESTS = test-driver
    34 
    35 clean-local :
    36 	rm -f *~
    37