Install dev headers only if --with-dev-headers= option is set
This commit is contained in:
@@ -3,9 +3,11 @@ ipseclib_LTLIBRARIES = libfast.la
|
||||
libfast_la_SOURCES = \
|
||||
dispatcher.c request.c session.c smtp.c
|
||||
|
||||
fast_includedir = $(includedir)/strongswan/fast
|
||||
if USE_DEV_HEADERS
|
||||
fast_includedir = ${dev_headers}/fast
|
||||
nobase_fast_include_HEADERS = \
|
||||
context.h controller.h dispatcher.h filter.h request.h session.h smtp.h
|
||||
endif
|
||||
|
||||
libfast_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||
-lfcgi $(clearsilver_LIBS) $(PTHREADLIB)
|
||||
|
||||
@@ -26,7 +26,8 @@ utils.c utils/host.c utils/identification.c utils/lexparser.c \
|
||||
utils/linked_list.c utils/hashtable.c utils/enumerator.c utils/optionsfrom.c \
|
||||
utils/capabilities.c utils/backtrace.c
|
||||
|
||||
strongswan_includedir = $(includedir)/strongswan
|
||||
if USE_DEV_HEADERS
|
||||
strongswan_includedir = ${dev_headers}
|
||||
nobase_strongswan_include_HEADERS = \
|
||||
library.h chunk.h debug.h enum.h settings.h printf_hook.h \
|
||||
asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \
|
||||
@@ -58,6 +59,7 @@ threading/spinlock.h threading/semaphore.h threading/rwlock.h \
|
||||
threading/lock_profiler.h utils.h utils/host.h utils/identification.h \
|
||||
utils/lexparser.h utils/linked_list.h utils/hashtable.h utils/enumerator.h \
|
||||
utils/optionsfrom.h utils/capabilities.h utils/backtrace.h
|
||||
endif
|
||||
|
||||
library.lo : $(top_builddir)/config.status
|
||||
|
||||
|
||||
@@ -7,8 +7,10 @@ libtls_la_SOURCES = \
|
||||
tls_crypto.c tls_prf.c tls_socket.c tls_eap.c tls_cache.c tls_peer.c \
|
||||
tls_server.c tls.c
|
||||
|
||||
tls_includedir = $(includedir)/strongswan/tls
|
||||
if USE_DEV_HEADERS
|
||||
tls_includedir = ${dev_headers}/tls
|
||||
nobase_tls_include_HEADERS = \
|
||||
tls_protection.h tls_compression.h tls_fragmentation.h tls_alert.h \
|
||||
tls_crypto.h tls_prf.h tls_socket.h tls_eap.h tls_cache.h tls_peer.h \
|
||||
tls_server.h tls_handshake.h tls_application.h tls.h
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user