add ffmpeg filters as plugins
[goodguy/history.git] / cinelerra-5.0 / mpeg2enc / Makefile
index a6184f9f16816b9dd48ec2299d3e886edbb24412..53578de56a3630fff240e42f2b2659917535dabe 100644 (file)
@@ -2,7 +2,7 @@ include ../global_config
 include $(THIRDPARTY)/config.mak
 
 CC = gcc
-CFLAGS += -I../libzmpeg3 -I../quicktime
+CFLAGS += -I../libzmpeg3
 
 ifeq ($(OBJDIR), i686)
 CFLAGS += -DX86_CPU
@@ -52,9 +52,7 @@ OBJ = \
        $(OBJDIR)/writepic.o
 
 LIBS = \
-       ../quicktime/$(OBJDIR)/libquicktime.a \
        ../libzmpeg3/$(OBJDIR)/libzmpeg3.a \
-       $(thirdparty_libraries) $(static_libraries) \
        -lasound \
        -lpthread \
        -lpng \
@@ -65,10 +63,12 @@ LIBS = \
        -lbz2 \
        -lm \
        -ldl \
-       $(EXTRA_LIBS)
+
+LIBS += -Wl,--start-group $(thirdparty_libraries) -Wl,--end-group 
+LIBS += $(EXTRA_LIBS)
 
 HVEG2LIB = $(OBJDIR)/hveg2enc.a
-HVEG2ENC = $(PLUGIN_DIR)/hveg2enc.plugin
+HVEG2ENC = $(OBJDIR)/hveg2enc
 HVEG2ENC_G = $(OBJDIR)/hveg2enc_g
 
 $(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
@@ -87,7 +87,6 @@ OUTPUT = $(HVEG2LIB) $(HVEG2ENC)
 all: $(OUTPUT)
 
 clean:
-       rm -f $(HVEG2ENC)
        rm -rf $(OBJDIR)
 
 install:       $(OUTPUT)