X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2FMakefile;h=9f5f8afd27e2375bde0fb22517ca91da5019b727;hb=ff4d1a70685f6721081fb3277a11834ad35cdd21;hp=3fa58be7ecb6dce9aa944df2daf60a7b4f2d2027;hpb=964a629cd40e9cf5ca64e7ec8c5f630830e9d11b;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile index 3fa58be7..9f5f8afd 100644 --- a/cinelerra-5.1/cinelerra/Makefile +++ b/cinelerra-5.1/cinelerra/Makefile @@ -133,6 +133,7 @@ OBJS := $(OVERLAYS) \ $(OBJDIR)/filebaseulaw.o \ $(OBJDIR)/filecr2.o \ $(OBJDIR)/filedv.o \ + $(OBJDIR)/filedpx.o \ $(OBJDIR)/fileexr.o \ $(OBJDIR)/fileffmpeg.o \ $(OBJDIR)/fileflac.o \ @@ -435,9 +436,11 @@ LIBS := $(LIBRARIES) ifeq ($(WANT_CIN_3RDPARTY),no) LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil LIBS += -lswresample -lswscale +PLATFORM = $(shell uname -s) +ifneq (, $(filter $(PLATFORM), FreeBSD NetBSD)) LIBS += -lintl -liconv LIBS += -lexecinfo - +endif LIBS += $(shared_libs) LIBS += $(system_libs) else @@ -560,6 +563,7 @@ tags: ctags -R -h default --langmap=c:+.inc . ../guicast/ ../libzmpeg3 ../plugins ../thirdparty/ffmpeg-* $(OBJDIR)/fileexr.o: BFLAGS:= -Wno-deprecated -std=c++11 +$(OBJDIR)/filedpx.o: BFLAGS:= -Wno-deprecated -std=c++11 $(OBJDIR)/sha1.o: BFLAGS:= -O3 $(OVERLAYS): BFLAGS:= -Ofast -g0 @@ -592,9 +596,16 @@ install: install-lv2ui endif ifneq ($(WANT_SHUTTLE),no) +X11_INCS := /usr/include/ +X11_INCS1 := $(shell pkg-config --cflags-only-I x11 | sed "s/-I//") + +ifneq ($(X11_INCS1),) +X11_INCS := $(X11_INCS1) +endif + $(OBJDIR)/shuttle.o: shuttle.C shuttle_keys.h -shuttle_keys.h: /usr/include/X11/keysymdef.h - sed -n < /usr/include/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed +shuttle_keys.h: $(X11_INCS)/X11/keysymdef.h + sed -n $(X11_INCS)/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed endif $(OBJDIR)/pluginlv2gui.o: pluginlv2gui.C