X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2FMakefile;h=367bc56d7edba31b9d61de2da50ec24ee7cb8620;hb=6feaaeac76d4f062d27c4c783e24f8052949a7b5;hp=3e8cd62af872f256d065f086be715b7f876b84e7;hpb=c56ed08b4a9f46677880cd7f550450eb41871565;p=melted diff --git a/src/modules/gtk2/Makefile b/src/modules/gtk2/Makefile index 3e8cd62..367bc56 100644 --- a/src/modules/gtk2/Makefile +++ b/src/modules/gtk2/Makefile @@ -1,3 +1,4 @@ +include ../../../config.mak TARGET = ../libmltgtk2.so @@ -10,9 +11,9 @@ OBJS = factory.o \ ASM_OBJS = have_mmx.o \ scale_line_22_yuv_mmx.o -CFLAGS = -O3 -DUSE_MMX `pkg-config gdk-pixbuf-2.0 --cflags` `pkg-config pangoft2 --cflags` -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread +CFLAGS += `pkg-config gdk-pixbuf-2.0 --cflags` `pkg-config pangoft2 --cflags` -I../.. -LDFLAGS = `pkg-config gdk-pixbuf-2.0 --libs` `pkg-config pangoft2 --libs` +LDFLAGS += `pkg-config gdk-pixbuf-2.0 --libs` `pkg-config pangoft2 --libs` SRCS := $(OBJS:.o=.c) @@ -36,6 +37,9 @@ dist-clean: clean clean: rm -f $(OBJS) $(ASM_OBJS) $(TARGET) +install: all + install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + ifneq ($(wildcard .depend),) include .depend endif