3 # Ben Collins <bcollins@debian.org>
5 # this file indicates the compiler and the various hardware/OS dependent
6 # flags for installation. It also defines the various destinations of
7 # installed files on the system.
10 CFLAGS := -O2 -I${shell pwd}/include # -D__NO_STRING_INLINES
11 ifneq (,$(findstring $(DEB_BUILD_OPTIONS),debug DEBUG Debug))
15 OS := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
16 ARCH := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
22 LD_D := gcc -shared -Xlinker -x
23 LD_L := $(LD) -x -shared
27 LIBDIR := $(PREFIX)/lib
30 LINKLIBS := -lc -L${shell pwd}/libpam -L${shell pwd}/libpam_misc
32 LDCONFIG := /sbin/ldconfig
34 SUPLEMENTED := $(PREFIX)/sbin
35 SECUREDIR := $(LIBDIR)/security
36 INCLUDED := /usr/include/security
38 SCONFIGED := /etc/security
39 EXTRALS := -lnsl -lcrypt