adapted libskindesignerapi makefile for LCLBLD

This commit is contained in:
louis 2015-04-12 17:21:41 +02:00
parent e8291960bd
commit 2384aaad4e
2 changed files with 7 additions and 2 deletions

View File

@ -292,4 +292,5 @@ Version 0.4.2
- added more info if debugImage is activted in config - added more info if debugImage is activted in config
- added possibility for blinking images, texts, rectangles, ellipses - added possibility for blinking images, texts, rectangles, ellipses
and slopes and slopes
- adapted libskindesignerapi makefile for LCLBLD

View File

@ -22,7 +22,7 @@ PKGCFG = $(if $(VDRDIR),$(shell pkg-config --silence-errors --variable=$(1) $(VD
CXXFLAGS = $(call PKGCFG,cxxflags) CXXFLAGS = $(call PKGCFG,cxxflags)
LDFLAGS = -shared -Wl,-soname,$(SONAME) LDFLAGS = -shared -Wl,-soname,$(SONAME)
DEFINES += -DAPIVERSION=$(MAJOR) -DLIBVERSION=\"$(VERSION)\" DEFINES += -DLIBAPIVERSION=$(MAJOR) -DLIBVERSION=\"$(VERSION)\"
INCLUDES += INCLUDES +=
SRCS = $(wildcard *.c) SRCS = $(wildcard *.c)
@ -47,6 +47,10 @@ $(DEPFILE): Makefile
$(TARGET_LIB): $(OBJS) $(TARGET_LIB): $(OBJS)
$(CXX) ${LDFLAGS} -o $@ $^ $(CXX) ${LDFLAGS} -o $@ $^
if [ -n "$(LCLBLD)" ] ; then \
ln -s $(TARGET_LIB) $(LIBNAME).so ; \
ln -s $(TARGET_LIB) $(SONAME) ; \
fi
# pkg-config # pkg-config
@ -84,7 +88,7 @@ install: install-lib install-pc install-includes
.PHONY: clean .PHONY: clean
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 dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE)