瀏覽代碼

Update the Linux build, following the makemovie code merge.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3629 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 15 年之前
父節點
當前提交
567200693a
共有 2 個文件被更改,包括 9 次插入7 次删除
  1. +4
    -7
      examples/Makefile.am
  2. +5
    -0
      pipi/Makefile.am

+ 4
- 7
examples/Makefile.am 查看文件

@@ -3,7 +3,7 @@
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/pipi -I../pipi

noinst_PROGRAMS = edd img2rubik sharpen floodfill line bezier histogram \
colorstring $(makemovie) $(storyboard) $(img2twit)
colorstring makemovie $(storyboard) $(img2twit)

edd_SOURCES = edd.c
edd_LDADD = ../pipi/libpipi.la
@@ -29,16 +29,13 @@ histogram_LDADD = ../pipi/libpipi.la
colorstring_SOURCES = colorstring.c
colorstring_LDADD = ../pipi/libpipi.la

makemovie_SOURCES = makemovie.c
makemovie_LDADD = ../pipi/libpipi.la

if USE_FFMPEG
makemovie = makemovie
storyboard = storyboard
endif

makemovie_SOURCES = makemovie.c
makemovie_LDADD = ../pipi/libpipi.la
makemovie_CFLAGS = $(LIBAVFORMAT_CFLAGS) $(LIBAVCODEC_CFLAGS) $(LIBSWSCALE_CFLAGS)
makemovie_LDFLAGS = $(LIBAVFORMAT_LIBS) $(LIBAVCODEC_LIBS) $(LIBSWSCALE_LIBS)

storyboard_SOURCES = storyboard.c
storyboard_LDADD = ../pipi/libpipi.la
storyboard_CFLAGS = $(LIBAVFORMAT_CFLAGS) $(LIBAVCODEC_CFLAGS) $(LIBSWSCALE_CFLAGS)


+ 5
- 0
pipi/Makefile.am 查看文件

@@ -133,3 +133,8 @@ codec_libs += -ljpeg
codec_sources += codec/jpeg.c
endif

if USE_FFMPEG
codec_cflags += $(LIBAVFORMAT_CFLAGS) $(LIBAVCODEC_CFLAGS) $(LIBSWSCALE_CFLAGS)
codec_libs += $(LIBAVFORMAT_LIBS) $(LIBAVCODEC_LIBS) $(LIBSWSCALE_LIBS)
endif


Loading…
取消
儲存