Includes Config.mk
FossilOrigin-Name: f99057a9f23b10d04b4ac64a1b820fce61cd007f64fec62ff6fb17d23be55dec
This commit is contained in:
parent
4eb6f2c257
commit
2294d7e776
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
include ../Config.mak
|
||||||
|
|
||||||
ifndef CC
|
ifndef CC
|
||||||
CC=gcc
|
CC=gcc
|
||||||
endif
|
endif
|
||||||
@ -7,8 +10,12 @@ ifndef ARCH
|
|||||||
ARCH = $(shell $(CC) -dumpmachine)
|
ARCH = $(shell $(CC) -dumpmachine)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OPENSSLLIB=../contrib/openssl-1.0.1i/libssl.a ../contrib/openssl-1.0.1i/libcrypto.a
|
ifdef USE_CONTRIB_OPENSSL
|
||||||
|
OPENSSLLIB=../contrib/openssl-1.0.1i/libssl.a ../contrib/openssl-1.0.1i/libcrypto.a -ldl
|
||||||
OPENSSLINC=../contrib/openssl-1.0.1i/include
|
OPENSSLINC=../contrib/openssl-1.0.1i/include
|
||||||
|
else
|
||||||
|
OPENSSLLIB=-lssl
|
||||||
|
endif
|
||||||
|
|
||||||
LDFLAGS = -g -D_REENTRANT -L/usr/local/lib -L../capwap/$(ARCH)
|
LDFLAGS = -g -D_REENTRANT -L/usr/local/lib -L../capwap/$(ARCH)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user