diff options
author | methodus <methodus@web.de> | 2012-12-01 12:37:26 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-12-01 12:37:26 +0100 |
commit | 03ff27ec6a8e684dfa062d57ddd4229a3031c579 (patch) | |
tree | c8ff17f5a58443d1dd653980f562f4e1e7f8c95f /Makefile | |
parent | f33a21ad0523cb6cb811b6f81c6273b7a266165a (diff) | |
download | vdr-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-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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: |