summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-12 17:21:41 +0200
committerlouis <louis.braun@gmx.de>2015-04-12 17:21:41 +0200
commit2384aaad4e4a7a18f5b44165b12f84c033c740fc (patch)
tree8d9fd60e596644ef771e86bad3bdbb205b4e90d5
parente8291960bd4b221ff7e55aa55fd45aaeb3c8d37a (diff)
downloadvdr-plugin-skindesigner-2384aaad4e4a7a18f5b44165b12f84c033c740fc.tar.gz
vdr-plugin-skindesigner-2384aaad4e4a7a18f5b44165b12f84c033c740fc.tar.bz2
adapted libskindesignerapi makefile for LCLBLD
-rw-r--r--HISTORY1
-rw-r--r--libskindesignerapi/Makefile8
2 files changed, 7 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index b98e802..0e65a6e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -292,4 +292,5 @@ Version 0.4.2
- added more info if debugImage is activted in config
- added possibility for blinking images, texts, rectangles, ellipses
and slopes
+- adapted libskindesignerapi makefile for LCLBLD
diff --git a/libskindesignerapi/Makefile b/libskindesignerapi/Makefile
index fa1ce56..403a764 100644
--- a/libskindesignerapi/Makefile
+++ b/libskindesignerapi/Makefile
@@ -22,7 +22,7 @@ PKGCFG = $(if $(VDRDIR),$(shell pkg-config --silence-errors --variable=$(1) $(VD
CXXFLAGS = $(call PKGCFG,cxxflags)
LDFLAGS = -shared -Wl,-soname,$(SONAME)
-DEFINES += -DAPIVERSION=$(MAJOR) -DLIBVERSION=\"$(VERSION)\"
+DEFINES += -DLIBAPIVERSION=$(MAJOR) -DLIBVERSION=\"$(VERSION)\"
INCLUDES +=
SRCS = $(wildcard *.c)
@@ -47,6 +47,10 @@ $(DEPFILE): Makefile
$(TARGET_LIB): $(OBJS)
$(CXX) ${LDFLAGS} -o $@ $^
+ if [ -n "$(LCLBLD)" ] ; then \
+ ln -s $(TARGET_LIB) $(LIBNAME).so ; \
+ ln -s $(TARGET_LIB) $(SONAME) ; \
+ fi
# pkg-config
@@ -84,7 +88,7 @@ install: install-lib install-pc install-includes
.PHONY: clean
clean:
- -rm -f ${TARGET_LIB} ${OBJS} $(DEPFILE) $(LIBNAME).pc $(LIBNAME).so $(ARCHIVE).tgz
+ -rm -f ${TARGET_LIB} ${OBJS} $(DEPFILE) $(LIBNAME).pc $(LIBNAME).so $(SONAME) $(ARCHIVE).tgz
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)