add configure without-thirdparty, without-libzmpeg, without-commercial
[goodguy/history.git] / cinelerra-5.1 / mpeg2enc / Makefile
index 37ac9a23ecedf68b93d18aab93b6ccd29fe3c543..80e0f8f939f3d38453287f81947fb8dfbcd4123a 100644 (file)
@@ -1,6 +1,8 @@
 export TOPDIR ?= $(CURDIR)/..
 include $(TOPDIR)/global_config
 
+ifneq ($(WANT_LIBZMPEG),no)
+
 CC = gcc
 CFLAGS += -I$(TOPDIR)/libzmpeg3
 
@@ -131,3 +133,11 @@ $(OBJDIR)/quantize_x86.o:              quantize_x86.c
 val-%:
        @echo $($(subst val-,,$@))
 
+else
+#not WANT_LIBZMPEG
+all:
+rebuild:
+utils:
+clean:
+install:
+endif