From e0c2ee1d37c0f213f22a04df71710bebe3526f85 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 2 Jun 2004 19:56:58 +0000 Subject: - implemented image loading through ImageMagick (fixes crashes when running together with GraphTFT) - implemented Theme support (see file demo.colors in the demo skin) - implemented translations for texts used in skins (see file demo.trans in the demo skin) --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e776ada..3da420d 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,15 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile,v 1.3 2004/06/01 21:02:38 lordjaxom Exp $ +# $Id: Makefile,v 1.5 2004/06/02 20:43:05 lordjaxom Exp $ # disable in case you don't want to install imlib # in that case, you will not be able to load other files than simple xpms -HAVE_IMLIB2=1 +# HAVE_IMLIB2=1 -# !!!!THIS DOESN'T WORK YET!!!! # disable in case you don't want to install ImageMagick # in that case, you will not be able to load other files than simple xpms -#HAVE_IMAGEMAGICK=1 +HAVE_IMAGEMAGICK=1 # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -51,10 +50,12 @@ PACKAGE = vdr-$(ARCHIVE) ifdef HAVE_IMLIB2 DEFINES += -DHAVE_IMLIB2 + LIBS += -lImlib2 endif ifdef HAVE_IMAGEMAGICK DEFINES += -DHAVE_IMAGEMAGICK + LIBS += -lMagick++ endif INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include @@ -63,7 +64,8 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here): -OBJS = $(PLUGIN).o loader.o data.o display.o render.o common.o bitmap.o +OBJS = $(PLUGIN).o loader.o data.o display.o render.o common.o bitmap.o \ + file.o i18n.o theme.o ### Implicit rules: @@ -84,7 +86,7 @@ $(DEPFILE): Makefile all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) - $(CXX) $(CXXFLAGS) -shared $(OBJS) -lImlib2 -o $@ + $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ @cp $@ $(LIBDIR)/$@.$(VDRVERSION) dist: clean -- cgit v1.2.3