File: rules

package info (click to toggle)
utox 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 10,792 kB
  • sloc: ansic: 102,804; objc: 2,385; cpp: 2,069; java: 1,094; python: 868; javascript: 703; xml: 424; sh: 208; makefile: 53; sed: 9
file content (25 lines) | stat: -rwxr-xr-x 521 bytes parent folder | download
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
#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =


%:
	dh $@

execute_after_dh_clean:
	$(RM) src/cocoa/Info.plist src/utox.1

# disable link time optimizations if compiling takes too long
# -DENABLE_LTO=OFF
override_dh_auto_configure:
	dh_auto_configure -- \
		-DENABLE_ASAN=OFF \
		-DENABLE_FILTERAUDIO=OFF \
		-DENABLE_TESTS=ON \
		-DENABLE_LTO=OFF \
		-DSTBI_INCLUDE_DIR=/usr/include/stb