File: rules

package info (click to toggle)
libapache2-mod-qos 11.36-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,500 kB
  • ctags: 2,814
  • sloc: ansic: 19,808; sh: 1,042; makefile: 52
file content (27 lines) | stat: -rwxr-xr-x 675 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow

%:
	dh $@ --with apache2,autoreconf

override_dh_auto_configure:
	dh_auto_configure --sourcedirectory=tools -- \
		--with-apr=/usr/bin \
		--with-apr-util=/usr/bin \
		--with-pcre=/usr/bin \
		--with-png=/usr/bin \
		--with-ssl=/usr/lib

override_dh_auto_build:
	LTFLAGS="--no-silent" apxs2 \
		  -S CFLAGS="$(CFLAGS) \
		  -D_LARGEFILE64_SOURCE $(CPPFLAGS)" \
		  -lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c
	dh_auto_build --sourcedirectory=tools

override_dh_auto_clean:
	dh_auto_clean --sourcedirectory=tools
	dh_clean apache2/.libs/* apache2/mod_qos.*l* apache2/mod_qos.o
	rm -rf apache2/.libs/