1## Process this file with automake to produce Makefile.in
2
3INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
4
5lib_LTLIBRARIES = libogg.la
6
7libogg_la_SOURCES = framing.c bitwise.c
8libogg_la_LDFLAGS = -no-undefined -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
9
10# build and run the self tests on 'make check'
11
12noinst_PROGRAMS = test_bitwise test_framing
13
14test_bitwise_SOURCES = bitwise.c
15test_bitwise_CFLAGS = -D_V_SELFTEST
16
17test_framing_SOURCES = framing.c
18test_framing_CFLAGS = -D_V_SELFTEST
19
20check: $(noinst_PROGRAMS)
21	./test_bitwise$(EXEEXT)
22	./test_framing$(EXEEXT)
23
24debug:
25	$(MAKE) all CFLAGS="@DEBUG@"
26
27profile:
28	$(MAKE) all CFLAGS="@PROFILE@"
29