File: rules

package info (click to toggle)
xpaint 2.9.1.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,712 kB
  • sloc: ansic: 73,018; sh: 492; yacc: 249; lex: 128; sed: 43; makefile: 13
file content (25 lines) | stat: -rwxr-xr-x 691 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND	 = -std=gnu17

%:
	dh  $@ --no-parallel

override_dh_auto_configure:
	#Added to avoid problems with git
	#(git does not index empty directories)
	mkdir -p $(CURDIR)/app-defaults/out
	env _CFLAGS="$(CFLAGS)" \
	./configure xaw3dxft.so

override_dh_auto_build:
	dh_auto_build -- PROJECT_DEFINES="$(CPPFLAGS)" CCOPTIONS="$(CFLAGS)" EXTRA_LDOPTIONS="$(LDFLAGS)" SHLIBGLOBALSFLAGS="$(LDFLAGS)"

override_dh_auto_install:
	dh_auto_install -- EXTRA_LDOPTIONS="$(LDFLAGS)"
	dh_auto_install --sourcedirectory xaw3dxft