Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 31 | Rev 87 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 71
Line 31... Line 31...
31
# Location of make program (GNU make required)
31
# Location of make program (GNU make required)
32
MAKE         = make
32
MAKE         = make
33
# Location of install program (GNU install or compatible required)
33
# Location of install program (GNU install or compatible required)
34
INSTALL      = install
34
INSTALL      = install
35
35
36
# Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in)
36
# Base Compiler options for GCC (use CFLAGS, CPPFLAGS and LDFLAGS if passed in)
37
ifdef CPPFLAGS
-
 
38
  BASECFLAGS   = $(CPPFLAGS)
37
BASECFLAGS   := $(CFLAGS)
39
else
-
 
40
  BASECFLAGS   = -Wall -g -O2
38
BASECFLAGS   ?= -Wall -g -O2
41
endif
-
 
42
ifdef INCLUDES
-
 
43
  BASECFLAGS += $(INCLUDES)
39
BASECFLAGS   += $(CPPFLAGS)
44
endif
40
45
ifdef LDFLAGS
-
 
46
 BASELDFLAGS  = $(LDFLAGS)
41
BASELDFLAGS  := $(LDFLAGS)
47
else
-
 
48
 BASELDFLAGS  = -g
42
BASELDFLAGS  ?= -g
49
endif
-
 
50
43
51
# Minimal libraries needed by Linux
44
# Minimal libraries needed by Linux
52
BASE_LIBS    = -lcrypt
45
BASE_LIBS    = -lcrypt
53
# FreeBSD needs some extra libraries:
46
# FreeBSD needs some extra libraries:
54
# BASE_LIBS   = -lcrypt -liconv -lutil
47
# BASE_LIBS   = -lcrypt -liconv -lutil
Line 76... Line 69...
76
# Zlib (required if GZIP_ENABLE set)
69
# Zlib (required if GZIP_ENABLE set)
77
Z_INCLUDE =
70
Z_INCLUDE =
78
Z_LIBS    = -lz
71
Z_LIBS    = -lz
79
72
80
# LDAP (required if LDAP_ENABLE set)
73
# LDAP (required if LDAP_ENABLE set)
81
LDAP_INCLUDE = -DLDAP_DEPRECATED
74
LDAP_INCLUDE = 
82
LDAP_LIBS    = -lldap
75
LDAP_LIBS    = -lldap
83
76
84
# Pam (required if CCLIENT_PAM_ENABLE set)
77
# Pam (required if CCLIENT_PAM_ENABLE set)
85
PAM_INCLUDE =
78
PAM_INCLUDE =
86
PAM_LIBS    = -lpam
79
PAM_LIBS    = -lpam