Move mosquittopp header to include dir.

This commit is contained in:
Roger A. Light
2022-04-15 22:08:49 +01:00
parent af40a91fb1
commit 4c72542eae
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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 $@
+1
View File
@@ -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 \