diff options
author | methodus <methodus@web.de> | 2012-11-01 17:05:33 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-11-01 17:05:33 +0100 |
commit | 9d9684f5bcfaabd05f4d41b0c7d2a35d7b1a489c (patch) | |
tree | 5f7d21d1d7113b0ff3da6a8397670113ae061204 /Makefile | |
parent | 36698ebe1b5dfa6f95041b168c9218d66ee0eb03 (diff) | |
download | vdr-plugin-upnp-9d9684f5bcfaabd05f4d41b0c7d2a35d7b1a489c.tar.gz vdr-plugin-upnp-9d9684f5bcfaabd05f4d41b0c7d2a35d7b1a489c.tar.bz2 |
Added german and finnish translation and some fixes. Thanks to Rolf Ahrenberg
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -50,8 +50,7 @@ OBJS = $(PLUGIN).o \ common/ixml.o \ media/profile.o \ media/mediaManager.o \ - media/pluginManager.o \ - $(TNTOBJ) + media/pluginManager.o LIBS += -lupnp -lcxxtools -ltntnet -ltntdb -ldl @@ -73,7 +72,7 @@ all: libvdr-$(PLUGIN).so i18n MAKEDEP = $(CXX) -MM -MG DEPFILE = .dependencies $(DEPFILE): Makefile - @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.cpp) > $@ + @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.cpp) $(TNTOBJ:%.o=%.cpp) > $@ -include $(DEPFILE) @@ -88,7 +87,7 @@ I18Npot = $(PODIR)/$(PLUGIN).pot %.mo: %.po msgfmt -c -o $@ $< -$(I18Npot): $(wildcard *.cpp) +$(I18Npot): $(PLUGIN).h $(OBJS:%.o=%.cpp) $(TNTOBJ:%.o=%.cpp) xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ $^ %.po: $(I18Npot) @@ -104,8 +103,8 @@ i18n: $(I18Nmsgs) $(I18Npot) ### Targets: -libvdr-$(PLUGIN).so: $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic -shared $(OBJS) $(LIBS) -o $@ +libvdr-$(PLUGIN).so: $(OBJS) $(TNTOBJ) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic -shared $(OBJS) $(TNTOBJ) $(LIBS) -o $@ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) install: all @@ -128,7 +127,7 @@ dist: $(I18Npo) clean @echo Distribution package created as $(PACKAGE).tgz clean: - @-rm -f $(OBJS) $(DEPFILE) *.so *.so.$(APIVERSION) *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(TNTOBJ) $(DEPFILE) *.so *.so.$(APIVERSION) *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot clean-subplugins: @for i in `ls -A -I ".*" $(SUBPLUGDIR)`; do for j in `ls -A -I ".*" $(SUBPLUGDIR)/$$i`; do $(MAKE) -f ../../../Makefile.plugins -C "$(SUBPLUGDIR)/$$i/$$j" clean; done; done |