src/Makefile.am
author James Bowes <jbowes@redhat.com>
Wed Jul 09 10:11:13 2008 -0400 (2008-07-09)
changeset 318 829d6711b316
parent 265 71b615b7c185
child 320 53e1185e2366
permissions -rw-r--r--
Use strings to identify section types in the on-disk repo format.

Previously, a given razor file type had a fixed number of sections in a
fixed order, identified by an integer type. Now, sections are identified
by a named string (stored in a string pool after the section lists).

This will allow for razor files to contain arbitrary sections.

For bonus points, also drop the 4k section alignment and change the
magic byte string to "RZDB".

committer: Kristian H?gsberg <krh@redhat.com>
rhughes@241
     1
## Process this file with automake to produce Makefile.in
rhughes@241
     2
rhughes@241
     3
INCLUDES = \
rhughes@241
     4
	$(CURL_CFLAGS) \
rhughes@241
     5
	$(EXPAT_CFLAGS) \
rhughes@241
     6
	$(RPM_CFLAGS) \
rhughes@241
     7
	-I$(top_builddir)/src -I$(top_srcdir)/src \
rhughes@241
     8
	-I$(top_srcdir)/librazor \
rhughes@241
     9
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
rhughes@241
    10
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
rhughes@241
    11
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
rhughes@241
    12
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
rhughes@241
    13
	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
rhughes@241
    14
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\"
rhughes@241
    15
krh@265
    16
bin_PROGRAMS = razor
krh@265
    17
noinst_PROGRAMS = rpm
jbowes@284
    18
check_PROGRAMS = test-driver
rhughes@241
    19
rhughes@241
    20
razor_SOURCES = main.c import-rpmdb.c import-yum.c
rhughes@241
    21
razor_LDADD = $(RPM_LIBS) $(EXPAT_LIBS) $(CURL_LIBS) $(top_builddir)/librazor/librazor.la
rhughes@241
    22
rhughes@241
    23
rpm_SOURCES = rpm.c
rhughes@241
    24
rpm_LDADD = $(top_builddir)/librazor/librazor.la
rhughes@241
    25
jbowes@284
    26
test_driver_SOURCES = test-driver.c
jbowes@284
    27
test_driver_LDADD = $(EXPAT_LIBS) $(top_builddir)/librazor/librazor.la
jbowes@284
    28
jbowes@284
    29
TESTS = test-driver
jbowes@284
    30
rhughes@241
    31
clean-local :
rhughes@241
    32
	rm -f *~
rhughes@241
    33