summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-12-01 12:37:26 +0100
committermethodus <methodus@web.de>2012-12-01 12:37:26 +0100
commit03ff27ec6a8e684dfa062d57ddd4229a3031c579 (patch)
treec8ff17f5a58443d1dd653980f562f4e1e7f8c95f /Makefile
parentf33a21ad0523cb6cb811b6f81c6273b7a266165a (diff)
downloadvdr-plugin-upnp-03ff27ec6a8e684dfa062d57ddd4229a3031c579.tar.gz
vdr-plugin-upnp-03ff27ec6a8e684dfa062d57ddd4229a3031c579.tar.bz2
Fixed compile error with VDR 1.7.32, removed recordings if VDR version is below 1.7.5, fixed Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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: