mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 20:20:11 +02:00
Updated libtheora from 1.1 to 1.1.1, we kept the CMakeLists.txt
--HG-- branch : update-to-libtheora-1.1.1
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
|
||||
noinst_PROGRAMS = dump_video dump_psnr $(BUILDABLE_EXAMPLES)
|
||||
|
||||
# possible contents of BUILDABLE_EXAMPLES:
|
||||
EXTRA_PROGRAMS = player_example encoder_example png2theora
|
||||
|
||||
AM_CFLAGS = $(OGG_CFLAGS)
|
||||
LDADD = ../lib/libtheora.la $(OGG_LIBS)
|
||||
LDADDDEC = ../lib/libtheoradec.la $(OGG_LIBS)
|
||||
LDADDENC = ../lib/libtheoraenc.la ../lib/libtheoradec.la $(OGG_LIBS)
|
||||
|
||||
dump_video_SOURCES = dump_video.c
|
||||
EXTRA_dump_video_SOURCES = getopt.c getopt1.c getopt.h
|
||||
dump_video_LDADD = $(GETOPT_OBJS) $(LDADDDEC)
|
||||
|
||||
dump_psnr_SOURCES = dump_psnr.c
|
||||
EXTRA_dump_psnr_SOURCES = getopt.c getopt1.c getopt.h
|
||||
dump_psnr_LDADD = $(GETOPT_OBJS) $(LDADDDEC) -lm
|
||||
|
||||
player_example_SOURCES = player_example.c
|
||||
player_example_CFLAGS = $(SDL_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS)
|
||||
player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS)
|
||||
|
||||
encoder_example_SOURCES = encoder_example.c
|
||||
EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h
|
||||
encoder_example_CFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS)
|
||||
encoder_example_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(VORBIS_LIBS) $(VORBISENC_LIBS) -lm
|
||||
|
||||
png2theora_SOURCES = png2theora.c
|
||||
png2theora_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS)
|
||||
png2theora_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm
|
||||
|
||||
debug:
|
||||
$(MAKE) all CFLAGS="@DEBUG@"
|
||||
|
||||
profile:
|
||||
$(MAKE) all CFLAGS="@PROFILE@"
|
||||
|
||||
Reference in New Issue
Block a user