File: rules

package info (click to toggle)
zeroc-icee-translators 1.2.0-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,152 kB
  • ctags: 3,566
  • sloc: cpp: 32,136; ansic: 7,863; yacc: 2,514; lex: 492; makefile: 289
file content (31 lines) | stat: -rwxr-xr-x 947 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
26
27
28
29
30
31
#!/usr/bin/make -f
# -*- makefile -*-

DEB_MAKE_CLEAN_TARGET := clean
DEB_MAKE_BUILD_TARGET := all prefix=/usr
DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/tmp/usr
DEB_MAKE_CHECK_TARGET :=
DEB_BUILD_OPTIONS += nocheck
DEB_DH_INSTALL_SOURCEDIR := debian/tmp

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) make OPTIMIZE=yes LDPLATFORMFLAGS= UNAME=$(shell uname | tr '/' '_')

# Debian GNU/kFreeBSD seems to build OK using the Linux rules
# Debian GNU/Hurd should also build OK using the Linux rules
pre-build::
	-mkdir -p debian/tmp/usr lib bin
	ln -sf Make.rules.Linux config/Make.rules.GNU_kFreeBSD
	ln -sf Make.rules.Linux config/Make.rules.GNU

clean::
	$(RM) config/Make.rules.GNU
	$(RM) config/Make.rules.GNU_kFreeBSD

clean::
	$(RM) config/Make.rules.GNU
	$(RM) config/Make.rules.GNU_kFreeBSD