From 03ff27ec6a8e684dfa062d57ddd4229a3031c579 Mon Sep 17 00:00:00 2001 From: methodus Date: Sat, 1 Dec 2012 12:37:26 +0100 Subject: Fixed compile error with VDR 1.7.32, removed recordings if VDR version is below 1.7.5, fixed Makefile --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c98deab..247d22b 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ LIBS += -lupnp -lcxxtools -ltntnet -ltntdb -ldl ### The main target: -all: libvdr-$(PLUGIN).so i18n +all: plugin subplugins ### Implicit rules: @@ -103,6 +103,8 @@ i18n: $(I18Nmsgs) $(I18Npot) ### Targets: +plugin: libvdr-$(PLUGIN).so i18n + libvdr-$(PLUGIN).so: $(OBJS) $(TNTOBJ) $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic -shared $(OBJS) $(TNTOBJ) $(LIBS) -o $@ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) @@ -126,7 +128,9 @@ dist: $(I18Npo) clean @-rm -rf $(TMPDIR)/$(ARCHIVE) @echo Distribution package created as $(PACKAGE).tgz -clean: +clean: clean-plugin clean-subplugins + +clean-plugin: @-rm -f $(OBJS) $(TNTOBJ) $(DEPFILE) *.so *.so.$(APIVERSION) *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot clean-subplugins: -- cgit v1.2.3