Makefile.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ## Process this file with automake to produce Makefile.in
  2. noinst_PROGRAMS = dump_video dump_psnr libtheora_info \
  3. $(BUILDABLE_EXAMPLES)
  4. # possible contents of BUILDABLE_EXAMPLES:
  5. EXTRA_PROGRAMS = player_example encoder_example png2theora tiff2theora
  6. AM_CPPFLAGS = -I$(top_srcdir)/include
  7. AM_CFLAGS = $(OGG_CFLAGS)
  8. LDADD = ../lib/libtheora.la $(OGG_LIBS)
  9. LDADDDEC = ../lib/libtheoradec.la $(OGG_LIBS)
  10. LDADDENC = ../lib/libtheoraenc.la ../lib/libtheoradec.la $(OGG_LIBS)
  11. dump_video_SOURCES = dump_video.c
  12. EXTRA_dump_video_SOURCES = getopt.c getopt1.c getopt.h
  13. dump_video_LDADD = $(GETOPT_OBJS) $(LDADDDEC) $(COMPAT_LIBS)
  14. dump_psnr_SOURCES = dump_psnr.c
  15. EXTRA_dump_psnr_SOURCES = getopt.c getopt1.c getopt.h
  16. dump_psnr_LDADD = $(GETOPT_OBJS) $(LDADDDEC) -lm
  17. libtheora_info_SOURCES = libtheora_info.c
  18. libtheora_info_LDADD = $(LDADDENC)
  19. player_example_SOURCES = player_example.c
  20. player_example_CFLAGS = $(SDL_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS)
  21. player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS) -lm
  22. encoder_example_SOURCES = encoder_example.c
  23. EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h
  24. encoder_example_CFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS)
  25. encoder_example_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(VORBIS_LIBS) $(VORBISENC_LIBS) -lm
  26. png2theora_SOURCES = png2theora.c
  27. png2theora_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS)
  28. png2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm
  29. tiff2theora_SOURCES = tiff2theora.c
  30. tiff2theora_CFLAGS = $(OGG_CFLAGS) $(TIFF_CFLAGS)
  31. tiff2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(TIFF_LIBS) -lm
  32. debug:
  33. $(MAKE) all CFLAGS="@DEBUG@"
  34. profile:
  35. $(MAKE) all CFLAGS="@PROFILE@"