Makefile.am 778 Bytes
Newer Older
andre's avatar
andre committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
## Process this file with automake to produce Makefile.in

AM_CFLAGS = -Wall -pedantic -g

INCLUDES = -I$(top_srcdir)/include

OGGZDIR = ../liboggz
OGGZ_LIBS = $(OGGZDIR)/liboggz.la @OGG_LIBS@

if OGGZ_CONFIG_READ
if OGGZ_CONFIG_WRITE
oggz_rw_programs = identity
endif
endif

if OGGZ_CONFIG_READ
oggz_read_programs = read-file
endif

conrad's avatar
conrad committed
20 21 22 23
if OGGZ_CONFIG_WRITE
oggz_write_programs = write-feed write-hungry
endif

andre's avatar
andre committed
24
# Programs to build
conrad's avatar
conrad committed
25 26
noinst_PROGRAMS = $(oggz_rw_programs) $(oggz_read_programs) \
	$(oggz_write_programs)
andre's avatar
andre committed
27 28 29 30 31 32

identity_SOURCES = identity.c
identity_LDADD = $(OGGZ_LIBS)

read_file_SOURCES = read-file.c
read_file_LDADD = $(OGGZ_LIBS)
conrad's avatar
conrad committed
33 34 35 36 37 38

write_feed_SOURCES = write-feed.c
write_feed_LDADD = $(OGGZ_LIBS)

write_hungry_SOURCES = write-hungry.c
write_hungry_LDADD = $(OGGZ_LIBS)