remove non-gpl components
[goodguy/history.git] / cinelerra-5.1 / mpeg2enc / Makefile
index ff91c6f23f264292432363f941840024c6ac52b8..80e0f8f939f3d38453287f81947fb8dfbcd4123a 100644 (file)
@@ -1,7 +1,8 @@
-TOPDIR ?= $(CURDIR)/..
-export TOPDIR
+export TOPDIR ?= $(CURDIR)/..
 include $(TOPDIR)/global_config
 
+ifneq ($(WANT_LIBZMPEG),no)
+
 CC = gcc
 CFLAGS += -I$(TOPDIR)/libzmpeg3
 
@@ -132,3 +133,11 @@ $(OBJDIR)/quantize_x86.o:              quantize_x86.c
 val-%:
        @echo $($(subst val-,,$@))
 
+else
+#not WANT_LIBZMPEG
+all:
+rebuild:
+utils:
+clean:
+install:
+endif