Merge from vendor branch BINUTILS:
[dragonfly.git] / contrib / libpam / defs / debian.defs
1 ##
2 # defs for Debian
3 # Ben Collins <bcollins@debian.org>
4 ##
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.
8 ##
9
10 CFLAGS  := -O2 -I${shell pwd}/include # -D__NO_STRING_INLINES
11 ifneq (,$(findstring $(DEB_BUILD_OPTIONS),debug DEBUG Debug))
12   CFLAGS += -g
13 endif
14
15 OS              := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
16 ARCH            := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
17 CC              := gcc
18 INSTALL := install
19 MKDIR           := mkdir -p
20 ULIBS           :=
21 LD              := ld
22 LD_D            := gcc -shared -Xlinker -x
23 LD_L            := $(LD) -x -shared 
24 AR              := ar -cr
25 RANLIB          := ranlib
26 PREFIX          :=
27 LIBDIR          := $(PREFIX)/lib
28 USESONAME       := yes
29 SOSWITCH        := -soname
30 LINKLIBS        := -lc -L${shell pwd}/libpam -L${shell pwd}/libpam_misc
31 NEEDSONAME      := no
32 LDCONFIG        := /sbin/ldconfig
33 FAKEROOT        :=
34 SUPLEMENTED     := $(PREFIX)/sbin
35 SECUREDIR       := $(LIBDIR)/security
36 INCLUDED        := /usr/include/security
37 CONFIGED        := /etc
38 SCONFIGED       := /etc/security
39 EXTRALS         := -lnsl -lcrypt
40 WARNINGS        := -Wall