File: rules

package info (click to toggle)
seaview 1%3A4.6.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,040 kB
  • ctags: 3,797
  • sloc: cpp: 27,746; ansic: 13,974; xml: 184; makefile: 30
file content (19 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# Same as upstream Makefile
CFLAGS  += -DUSE_XFT -I/usr/include/freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF

# Debian-specific names and paths
CFLAGS  += -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\"

export DEB_CFLAGS_MAINT_APPEND  = $(CFLAGS) -fPIC

# Link as needed
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# Hardening options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@