summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 15:02:00 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 15:02:00 +0000
commit64eaee28c243214e654c60b06a27212e8dcb5c02 (patch)
tree21b264c07166720513b65638feeb8fc3344530ec /Makefile
parent4bfb50c7a53074fa7e4673ffdd16502c1bf72fcb (diff)
downloadvdr-plugin-live-64eaee28c243214e654c60b06a27212e8dcb5c02.tar.gz
vdr-plugin-live-64eaee28c243214e654c60b06a27212e8dcb5c02.tar.bz2
- optimized interface to access plugin objects from website
- moved website code to pagelib subdirectory - introduced TimerManager that will help working on timers from a background thread
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 97b4b87..7bfe495 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.20 2007/01/03 23:06:10 lordjaxom Exp $
+# $Id: Makefile,v 1.21 2007/01/04 15:02:00 lordjaxom Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -54,16 +54,14 @@ export DEFINES
LIBS += httpd/libhttpd.a
-SUBDIRS = httpd pages css images
+SUBDIRS = httpd pages css images pagelib
### The object files (add further files here):
-PLUGINOBJS = $(PLUGIN).o thread.o tntconfig.o setup.o i18n.o
+PLUGINOBJS = $(PLUGIN).o thread.o tntconfig.o setup.o i18n.o timers.o
+
+WEBLIBS = pages/libpages.a css/libcss.a images/libimages.a pagelib/libpagelib.a
-WEBOBJS = tools.o timers.o
-WEBLIBS = pages/libpages.a \
- css/libcss.a \
- images/libimages.a
### Default rules:
@@ -96,7 +94,7 @@ libvdr-$(PLUGIN).so: $(PLUGINOBJS) $(LIBS)
$(CXX) $(LDFLAGS) -shared -o $@ $^ $(LIBS)
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
-libtnt-$(PLUGIN).so: $(WEBOBJS) $(WEBLIBS)
+libtnt-$(PLUGIN).so: $(WEBLIBS)
$(CXX) $(LDFLAGS) -Wl,--whole-archive -shared -o $@ $^
@cp --remove-destination $@ $(LIBDIR)/$@
@@ -109,7 +107,7 @@ dist: clean
@echo Distribution package created as $(PACKAGE).tgz
clean:
- @-rm -f $(PLUGINOBJS) $(WEBOBJS) $(DEPFILE) *.so *.tgz core* *~
+ @-rm -f $(PLUGINOBJS) $(DEPFILE) *.so *.tgz core* *~
@for dir in $(SUBDIRS); do \
make -C $$dir clean ; \
done