mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-21 23:47:52 +08:00
Move mosquittopp header to include dir.
This commit is contained in:
@@ -130,7 +130,7 @@ WITH_OLD_KEEPALIVE=no
|
||||
|
||||
# Use link time optimisation - note that enabling this currently prevents
|
||||
# broker plugins from working.
|
||||
WITH_LTO=yes
|
||||
#WITH_LTO=yes
|
||||
|
||||
# Build with sqlite3 support - this enables the sqlite persistence plugin.
|
||||
WITH_SQLITE=yes
|
||||
|
||||
+2
-2
@@ -24,7 +24,7 @@ ifeq ($(WITH_STATIC_LIBRARIES),yes)
|
||||
${CROSS_COMPILE}${STRIP} -g --strip-unneeded "${DESTDIR}${libdir}/libmosquittopp.a"
|
||||
endif
|
||||
$(INSTALL) -d "${DESTDIR}${incdir}/"
|
||||
$(INSTALL) mosquittopp.h "${DESTDIR}${incdir}/mosquittopp.h"
|
||||
$(INSTALL) ${R}/include/mosquittopp.h "${DESTDIR}${incdir}/mosquittopp.h"
|
||||
$(INSTALL) -d "${DESTDIR}${libdir}/pkgconfig/"
|
||||
$(INSTALL) -m644 ${R}/libmosquittopp.pc.in "${DESTDIR}${libdir}/pkgconfig/libmosquittopp.pc"
|
||||
sed ${SEDINPLACE} -e "s#@CMAKE_INSTALL_PREFIX@#${prefix}#" -e "s#@VERSION@#${VERSION}#" "${DESTDIR}${libdir}/pkgconfig/libmosquittopp.pc"
|
||||
@@ -44,6 +44,6 @@ libmosquittopp.so.${SOVERSION} : mosquittopp.o
|
||||
libmosquittopp.a : mosquittopp.o
|
||||
${CROSS_COMPILE}$(AR) cr $@ $^
|
||||
|
||||
mosquittopp.o : mosquittopp.cpp mosquittopp.h
|
||||
mosquittopp.o : mosquittopp.cpp ${R}/include/mosquittopp.h
|
||||
${CROSS_COMPILE}$(CXX) $(LIB_CPPFLAGS) $(LIB_CXXFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ SRC = \
|
||||
01-no-clean-session.c \
|
||||
01-pre-connect-callback.c \
|
||||
01-server-keepalive-pingreq.c \
|
||||
01-server-redirect.c \
|
||||
01-unpwd-set.c \
|
||||
01-will-set.c \
|
||||
01-will-unpwd-set.c \
|
||||
|
||||
Reference in New Issue
Block a user