Lines 9-23
endif
Link Here
|
9 |
# Include directories for CVS version |
9 |
# Include directories for CVS version |
10 |
CFLAGS += -I../driver/modules -I../utils -I../hostapd |
10 |
CFLAGS += -I../driver/modules -I../utils -I../hostapd |
11 |
|
11 |
|
12 |
# Uncomment following two lines and fix the paths if you have installed openssl |
|
|
13 |
# in non-default location |
14 |
#CFLAGS += -I/usr/local/openssl/include |
15 |
#LIBS += -L/usr/local/openssl/lib |
16 |
|
17 |
# Uncomment following two lines to use portable libdnet and libpcap instead of |
12 |
# Uncomment following two lines to use portable libdnet and libpcap instead of |
18 |
# Linux-specific internal implementation for L2 packet handling |
13 |
# Linux-specific internal implementation for L2 packet handling |
19 |
#CFLAGS += -DUSE_DNET_PCAP |
14 |
#CFLAGS += -DUSE_DNET_PCAP $(shell dnet-config --cflags) |
20 |
#LIBS=-ldnet -lpcap |
15 |
#LIBS = $(shell dnet-config --libs) -lpcap |
21 |
|
16 |
|
22 |
all: verify_config wpa_supplicant wpa_passphrase wpa_cli |
17 |
all: verify_config wpa_supplicant wpa_passphrase wpa_cli |
23 |
|
18 |
|
Lines 173-195
endif
Link Here
|
173 |
|
168 |
|
174 |
ifdef CONFIG_PCSC |
169 |
ifdef CONFIG_PCSC |
175 |
# PC/SC interface for smartcards (USIM, GSM SIM) |
170 |
# PC/SC interface for smartcards (USIM, GSM SIM) |
176 |
CFLAGS += -DPCSC_FUNCS |
171 |
CFLAGS += -DPCSC_FUNCS $(shell pkg-config --cflags libpcsclite) |
177 |
OBJS += pcsc_funcs.o |
172 |
OBJS += pcsc_funcs.o |
178 |
# -lpthread may not be needed depending on how pcsc-lite was configured |
173 |
LIBS += $(shell pkg-config --libs libpcsclite) |
179 |
LIBS += -lpcsclite -lpthread |
|
|
180 |
endif |
174 |
endif |
181 |
|
175 |
|
182 |
ifdef TLS_FUNCS |
176 |
ifdef TLS_FUNCS |
183 |
# Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS) |
177 |
# Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS) |
184 |
CFLAGS += -DEAP_TLS_FUNCS |
178 |
CFLAGS += -DEAP_TLS_FUNCS |
185 |
OBJS += eap_tls_common.o |
179 |
OBJS += eap_tls_common.o |
186 |
LIBS += -lssl |
180 |
LIBS += $(shell pkg-config --libs openssl) |
187 |
LIBS_p += -lcrypto |
181 |
LIBS_p += $(shell pkg-config --libs openssl) |
188 |
endif |
182 |
endif |
189 |
|
183 |
|
190 |
ifdef MS_FUNCS |
184 |
ifdef MS_FUNCS |
191 |
ifndef TLS_FUNCS |
185 |
ifndef TLS_FUNCS |
192 |
LIBS += -lcrypto |
186 |
LIBS += $(shell pkg-config --libs openssl) |
193 |
endif |
187 |
endif |
194 |
OBJS += ms_funcs.o |
188 |
OBJS += ms_funcs.o |
195 |
endif |
189 |
endif |