Add fourcc "SEDG" for MPEG-4 files produced by Samsung VP-M110 Miniket
[libav.git] / vhook / Makefile
CommitLineData
26b4bb70
PG
1include ../config.mak
2
b55e4ef4
PG
3VPATH=$(SRC_PATH)/vhook
4
c11c2bc2 5CFLAGS=-fPIC $(SHCFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavutil -DHAVE_AV_CONFIG_H
26b4bb70 6
fb3d46da 7#FIXME: This needs to be in configure/config.mak
47930f09 8ifeq ($(CONFIG_DARWIN),yes)
fb3d46da 9 SHFLAGS = -dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(libdir)/vhook/$@
47930f09 10endif
4e159595 11HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF)
26b4bb70
PG
12
13ifeq ($(HAVE_IMLIB2),yes)
4e159595 14 HOOKS += imlib2$(SLIBSUF)
115329f1 15endif
26b4bb70 16
b90a6beb 17ifeq ($(HAVE_FREETYPE2),yes)
4e159595 18 HOOKS += drawtext$(SLIBSUF)
b90a6beb 19 CFLAGS += `freetype-config --cflags`
115329f1 20endif
b90a6beb 21
115329f1 22all: $(HOOKS)
26b4bb70 23
4e159595 24SRCS := $(HOOKS:$(SLIBSUF)=.c)
7c235fe2 25
91d742b7 26depend: $(SRCS)
7c235fe2 27 $(CC) -MM $(CFLAGS) $^ 1>.depend
77b71ddc 28
26b4bb70 29install:
cc973ecb
LB
30 install -d "$(libdir)/vhook"
31 install -m 755 $(HOOKS) "$(libdir)/vhook"
26b4bb70 32
4e159595 33imlib2$(SLIBSUF): imlib2.o
56b04ceb 34 $(CC) $(LDFLAGS) -g -o $@ $(SHFLAGS) $< -lImlib2
26b4bb70 35
4e159595 36drawtext$(SLIBSUF): drawtext.o
56b04ceb 37 $(CC) $(LDFLAGS) -g -o $@ $(SHFLAGS) $< `freetype-config --libs`
b90a6beb 38
4e159595 39%$(SLIBSUF): %.o
56b04ceb 40 $(CC) $(LDFLAGS) -g -o $@ $(SHFLAGS) $<
26b4bb70 41
26b4bb70 42clean:
98013cc1
DB
43 rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll
44
45distclean: clean
46 rm -f Makefile.bak .depend
7c235fe2
FB
47
48ifneq ($(wildcard .depend),)
49include .depend
50endif