Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # Sample debian.rules file - for GNU Hello (1.3).
3 # Copyright 1994,1995 by Ian Jackson.
4
5 # Modified to be rules for rbootd by Alan Bain 1998
6
7 # I hereby give you perpetual unlimited permission to copy,
8 # modify and relicense this file, provided that you do not remove
9 # my name from the file itself. (I assert my moral right of
10 # paternity under the Copyright, Designs and Patents Act 1988.)
11 # This file may have to be extensively modified
12
13 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
14
15 package=rbootd
16
17 include /usr/share/dpkg/buildtools.mk
18
19 CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
20 CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
21 CFLAGS += $(shell getconf LFS_CFLAGS)
22
23 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
24 STRIP_OPT = -s --strip-program=$(STRIP)
25 endif
26
27 export BASEDIR=$(shell pwd)/debian/tmp
28
29 ## Note must use the special makefile to avoid needing BSD make
30
31 %:
32 dh $@
33
34 override_dh_auto_build:
35 $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" rbootd
36
37 override_dh_auto_install:
38 true
39