File: rules

package info (click to toggle)
ipmctl 03.00.00.0468-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,128 kB
  • sloc: ansic: 676,075; python: 122,025; cpp: 12,059; asm: 2,674; makefile: 488; sh: 322; xml: 318
file content (20 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

EDK2_DIRS = BaseTools MdeModulePkg MdePkg ShellPkg

%:
	dh $@  

override_dh_auto_configure:
	for x in $(EDK2_DIRS);do ln -sf edk2/$$x $x;done
	dh_auto_configure -- \
	      -DBUILDNUM=`dpkg-parsechangelog -SVersion|cut -d+ -f1`

override_dh_clean:
	dh_clean
	rm -rf output
	rm -f $(EDK2_DIRS)