mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
adapted libskindesignerapi makefile for LCLBLD
This commit is contained in:
parent
e8291960bd
commit
2384aaad4e
1
HISTORY
1
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
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user