src/Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Thu Jan 08 13:51:07 2009 +0000 (2009-01-08)
changeset 327 c85643dd7164
parent 284 6e19775d8930
child 332 9f735b6f5939
permissions -rw-r--r--
Don't try and create symbolic links on platforms that don't support symlink()
     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 check_PROGRAMS = test-driver
    19 
    20 razor_SOURCES = main.c import-yum.c
    21 if HAVE_RPMLIB
    22 razor_SOURCES += import-rpmdb.c
    23 endif
    24 razor_LDADD = $(RPM_LIBS) $(EXPAT_LIBS) $(CURL_LIBS) $(top_builddir)/librazor/librazor.la
    25 
    26 rpm_SOURCES = rpm.c
    27 rpm_LDADD = $(top_builddir)/librazor/librazor.la
    28 
    29 test_driver_SOURCES = test-driver.c
    30 test_driver_LDADD = $(EXPAT_LIBS) $(top_builddir)/librazor/librazor.la
    31 
    32 TESTS = test-driver
    33 
    34 clean-local :
    35 	rm -f *~
    36