Makefile.am 670 B

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