File: rules

package info (click to toggle)
w9wm 0.4.2-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 280 kB
  • ctags: 393
  • sloc: ansic: 4,886; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 429 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
#!/usr/bin/make -f

CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS  = $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)

export CPPFLAGS CFLAGS LDFLAGS

# imake is troublesome.
# CPPFLAGS is passed along,
# but neither CFLAGS, nor LDFLAGS.
#
LOCAL_LDFLAGS = $(LDFLAGS)
MODULE_CFLAGS = $(CFLAGS)

export LOCAL_LDFLAGS MODULE_CFLAGS

%:
	dh $@

override_dh_auto_configure:
	xmkmf -a