33,21 → 33,14 |
# Location of install program (GNU install or compatible required) |
INSTALL = install |
|
# Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in) |
ifdef CPPFLAGS |
BASECFLAGS = $(CPPFLAGS) |
else |
BASECFLAGS = -Wall -g -O2 |
endif |
ifdef INCLUDES |
BASECFLAGS += $(INCLUDES) |
endif |
ifdef LDFLAGS |
BASELDFLAGS = $(LDFLAGS) |
else |
BASELDFLAGS = -g |
endif |
# Base Compiler options for GCC (use CFLAGS, CPPFLAGS and LDFLAGS if passed in) |
BASECFLAGS := $(CFLAGS) |
BASECFLAGS ?= -Wall -g -O2 |
BASECFLAGS += $(CPPFLAGS) |
|
BASELDFLAGS := $(LDFLAGS) |
BASELDFLAGS ?= -g |
|
# Minimal libraries needed by Linux |
BASE_LIBS = -lcrypt |
# FreeBSD needs some extra libraries: |
78,7 → 71,7 |
Z_LIBS = -lz |
|
# LDAP (required if LDAP_ENABLE set) |
LDAP_INCLUDE = -DLDAP_DEPRECATED |
LDAP_INCLUDE = |
LDAP_LIBS = -lldap |
|
# Pam (required if CCLIENT_PAM_ENABLE set) |