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