| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
#export DH_VERBOSE=1 |
| 4 |
|
| 5 |
|
| 6 |
export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall |
| 7 |
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--as-needed |
| 8 |
|
| 9 |
|
| 10 |
# export variables for autoreconf |
| 11 |
export AUTOMAKE := automake --foreign |
| 12 |
|
| 13 |
|
| 14 |
# according to help: speeds up one-time build |
| 15 |
confflags = --disable-dependency-tracking |
| 16 |
# GUI needed only for examples, don't even try to support it |
| 17 |
confflags += --disable-gui |
| 18 |
|
| 19 |
|
| 20 |
%: |
| 21 |
dh $@ --dbgsym-migration='libsdl-net1.2-dbg (<< 1.2.8-5~)' |
| 22 |
|
| 23 |
override_dh_auto_configure: |
| 24 |
dh_auto_configure -- $(confflags) |