1
0
Fork 0
libapache2-mod-qos/debian/rules
2025-03-24 14:50:17 +01:00

24 lines
578 B
Makefile
Executable file

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
%:
dh ${@} --sourcedirectory=tools --with apache2
execute_after_dh_auto_clean:
rm -f apache2/mod_qos.*l* apache2/mod_qos.o
rm -rf apache2/.libs/
override_dh_auto_configure:
dh_auto_configure -- \
--with-apr=/usr/bin \
--with-apr-util=/usr/bin \
--with-pcre=/usr/bin \
--with-png=/usr/bin \
--with-ssl=/usr/lib
execute_after_dh_auto_build:
LTFLAGS="--no-silent" apxs2 \
-S CFLAGS="$(CFLAGS) \
-D_LARGEFILE64_SOURCE $(CPPFLAGS)" \
-lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c