X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2FMakefile;h=f4e536b555b66b1361365480d4ce6b0b5543a1c0;hp=e4f782d4c0936601c0875a926e3016e1d1e35c9f;hb=64deccf7130259f747668e20f3d4ce0de1092389;hpb=0e6cf5b52d1ebce9272270144bcf43df4683507e diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile index e4f782d4..f4e536b5 100644 --- a/cinelerra-5.1/cinelerra/Makefile +++ b/cinelerra-5.1/cinelerra/Makefile @@ -64,6 +64,7 @@ OBJS := $(OVERLAYS) \ $(OBJDIR)/audioidevice.o \ $(OBJDIR)/audioodevice.o \ $(OBJDIR)/audiooss.o \ + $(OBJDIR)/audiopulse.o \ $(OBJDIR)/audiov4l2mpeg.o \ $(OBJDIR)/autoconf.o \ $(OBJDIR)/automation.o \ @@ -144,13 +145,16 @@ OBJS := $(OVERLAYS) \ $(OBJDIR)/filejpeg.o \ $(OBJDIR)/filelist.o \ $(OBJDIR)/file.o \ + $(OBJDIR)/fileogg.o \ $(OBJDIR)/filepng.o \ $(OBJDIR)/fileppm.o \ + $(OBJDIR)/fileref.o \ $(OBJDIR)/filescene.o \ $(OBJDIR)/filesndfile.o \ $(OBJDIR)/filetga.o \ $(OBJDIR)/filethread.o \ $(OBJDIR)/filetiff.o \ + $(OBJDIR)/filevorbis.o \ $(OBJDIR)/filexml.o \ $(OBJDIR)/floatauto.o \ $(OBJDIR)/floatautos.o \ @@ -365,7 +369,9 @@ OBJS := $(OVERLAYS) \ $(OBJDIR)/vwindowgui.o \ $(OBJDIR)/vwindow.o \ $(OBJDIR)/wavecache.o \ + $(OBJDIR)/wintv.o \ $(OBJDIR)/wwindow.o \ + $(OBJDIR)/x10tv.o \ $(OBJDIR)/zoombar.o \ $(OBJDIR)/zoompanel.o \ $(OBJDIR)/zwindow.o \ @@ -421,70 +427,16 @@ endif LIBS := $(LIBRARIES) -ifneq ($(WANT_CIN_3RDPARTY),no) -LIBS += $(libraries) -else - -LIBS += -lpthread -lm -lbz2 -llzma -lz -lpng -luuid -LIBS += -lX11 -lXau -lXdmcp -lXext -lXfixes -lXv -lXinerama -LIBS += -lfontconfig -lfreetype -LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavresample -lavutil +ifeq ($(WANT_CIN_3RDPARTY),no) +LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil LIBS += -lswresample -lswscale -LIBS += -lvpx -lwebp -lwebpmux - -LIBS += $(if $(filter fftw,$(static_pkgs)), -lfftw3) -LIBS += $(if $(filter flac,$(static_pkgs)), -lFLAC) -LIBS += $(if $(filter giflib,$(static_pkgs)), -lgif) -LIBS += $(if $(filter lame,$(static_pkgs)), -lmp3lame) -LIBS += $(if $(filter libjpeg,$(static_pkgs)), -ljpeg) -LIBS += $(if $(filter openjpeg,$(static_pkgs)), -lopenjp2) -LIBS += $(if $(filter libogg,$(static_pkgs)), -logg) -LIBS += $(if $(filter libsndfile,$(static_pkgs)), -lsndfile) -LIBS += $(if $(filter libtheora,$(static_pkgs)), -ltheoradec -ltheoraenc) -LIBS += $(if $(filter libuuid,$(static_pkgs)), -luuid) -LIBS += $(if $(filter libvorbis,$(static_pkgs)), -lvorbis -lvorbisenc -lvorbisfile) -LIBS += $(if $(filter tiff,$(static_pkgs)), -ltiff) -LIBS += $(if $(filter twolame,$(static_pkgs)), -ltwolame) -LIBS += $(if $(filter x264,$(static_pkgs)), -lx264) -LIBS += $(if $(filter x265,$(static_pkgs)), -lx265) -LIBS += $(if $(filter libvpx,$(static_pkgs)), -lvpx) - -ifneq ($(WANT_GL),no) -LIBS += -lGL -lGLU -lGLX -endif -ifneq ($(WANT_XFT),no) -LIBS += -lXft -endif -ifneq ($(WANT_ALSA),no) -LIBS += -lasound -endif -ifneq ($(WANT_OPENEXR),no) -LIBS += -lIex -lIexMath -lIlmImf -lIlmImfUtil -endif -ifneq ($(WANT_DV),no) -LIBS += -ldv -endif -ifneq ($(WANT_FIREWIRE),no) -LIBS += -lavc1394 -lraw1394 -liec61883 -lrom1394 -endif -ifneq ($(WANT_DVB),no) -LIBS += -ldv -endif -ifneq ($(WANT_DL),no) -LIBS += -ldl -endif -ifneq ($(WANT_LIBZMPEG),no) -LIBS += -lmjpegutils -endif -ifneq ($(WANT_OPUS),no) -LIBS += -lopus -endif -ifneq ($(WANT_NUMA),no) -LIBS += -lnuma -endif -ifneq ($(WANT_LV2),no) -LIBS += -llilv-0 -lsratom-0 -lserd-0 -lsord-0 -lsuil-0 -endif +LIBS += -lintl -liconv +LIBS += -lexecinfo + +LIBS += $(shared_libs) +LIBS += $(system_libs) +else +LIBS += $(libraries) endif ifneq ($(WANT_COMMERCIAL),no) @@ -512,6 +464,7 @@ LV2OBJS = \ endif CFLAGS := \ + -I/usr/local/include \ -I$(GUICAST) \ -I$(LIBZMPEG3) \ $(static_incs) \ @@ -564,8 +517,8 @@ $(OUTPUT): $(OBJS) $(THEME_DATA) $(DCRAW) $(LIBRARIES) ifneq ($(WANT_COMMERCIAL),no) $(CUTADS): $(CUTOBJS) $(CUTLIBS) $(LIBRARIES) - @echo g++ -o $@ $(CUTOBJS) - @g++ $(CFLAGS) -pthread -o $@ $(CUTOBJS) $(CUTLIBS) $(LIBS) + @echo $(CXX) -o $@ $(CUTOBJS) + @$(CXX) $(CFLAGS) -pthread -o $@ $(CUTOBJS) $(CUTLIBS) $(LIBS) $(if $(findstring -g,$(CFLAGS)),objcopy --only-keep-debug $(CUTADS) $(CUTADS).debuginfo) $(if $(findstring -ggdb,$(CFLAGS)),,strip $(CUTADS)) @@ -576,8 +529,8 @@ install: install-cutads endif $(BDWRITE): $(BDWOBJS) $(LIBRARIES) - @echo g++ -o $@ $(BDWOBJS) - @g++ $(CFLAGS) -pthread -o $@ $(BDWOBJS) $(LIBS) + @echo $(CXX) -o $@ $(BDWOBJS) + @$(CXX) $(CFLAGS) -pthread -o $@ $(BDWOBJS) $(LIBS) $(if $(findstring -g,$(CFLAGS)),objcopy --only-keep-debug $(BDWRITE) $(BDWRITE).debuginfo) $(if $(findstring -ggdb,$(CFLAGS)),,strip $(BDWRITE)) @@ -586,13 +539,13 @@ install-bdwrite: install: install-bdwrite ydiff: ydiff.C $(LIBRARIES) - @echo g++ -o $@ ydiff.C - @g++ $(CFLAGS) ydiff.C -o $@ $(LIBS) + @echo $(CXX) -o $@ ydiff.C + @$(CXX) $(CFLAGS) ydiff.C -o $@ $(LIBS) shdmp: shdmp.C - @g++ $(CFLAGS) shdmp.C -o $@ + @$(CXX) $(CFLAGS) shdmp.C -o $@ shudmp: shudmp.C - @g++ $(CFLAGS) shudmp.C -o $@ -lusb-1.0 + @$(CXX) $(CFLAGS) shudmp.C -o $@ -lusb-1.0 clean: rm -rf $(OBJDIR)