File: rules

package info (click to toggle)
xli 1.17.0+20061110-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,540 kB
  • sloc: ansic: 25,840; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean --buildsystem=makefile -- -f Makefile.std

override_dh_auto_build:
	dh_auto_build --buildsystem=makefile -- \
          -f Makefile.std all \
          LIBS="-lX11 -lm -lXext `$(PKG_CONFIG) --libs libpng` `$(PKG_CONFIG) --libs libjpeg`"