File: rules

package info (click to toggle)
sdl-net1.2 1.2.8-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,796 kB
  • sloc: sh: 10,164; ansic: 1,251; cpp: 376; csh: 219; makefile: 67
file content (24 lines) | stat: -rwxr-xr-x 556 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
#!/usr/bin/make -f

#export DH_VERBOSE=1


export DEB_CFLAGS_MAINT_APPEND  := -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--as-needed


# export variables for autoreconf
export AUTOMAKE := automake --foreign


# according to help: speeds up one-time build
confflags = --disable-dependency-tracking
# GUI needed only for examples, don't even try to support it
confflags += --disable-gui


%:
	dh $@ --dbgsym-migration='libsdl-net1.2-dbg (<< 1.2.8-5~)'

override_dh_auto_configure:
	dh_auto_configure -- $(confflags)