mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
877 B
39 lines
877 B
16 years ago
|
PREFIX = $(HOME)/local/libebb
|
||
|
|
||
|
# libev
|
||
|
EVINC = $(HOME)/local/libev/include
|
||
|
EVLIB = $(HOME)/local/libev/lib
|
||
|
EVLIBS = -L${EVLIB} -lev
|
||
|
|
||
|
# GnuTLS, comment if you don't want it (necessary for HTTPS)
|
||
|
GNUTLSLIB = /usr/lib
|
||
|
GNUTLSINC = /usr/include
|
||
|
GNUTLSLIBS = -L${GNUTLSLIB} -lgnutls
|
||
|
GNUTLSFLAGS = -DHAVE_GNUTLS
|
||
|
|
||
|
# includes and libs
|
||
|
INCS = -I${EVINC} -I${GNUTLSINC}
|
||
|
LIBS = ${EVLIBS} ${GNUTLSLIBS} -lefence
|
||
|
|
||
|
# flags
|
||
|
CPPFLAGS = -DVERSION=\"$(VERSION)\" ${GNUTLSFLAGS}
|
||
|
CFLAGS = -O2 -g -Wall ${INCS} ${CPPFLAGS} -fPIC
|
||
|
LDFLAGS = -s ${LIBS}
|
||
|
LDOPT = -shared
|
||
|
SUFFIX = so
|
||
|
SONAME = -Wl,-soname,$(OUTPUT_LIB)
|
||
|
|
||
|
# Solaris
|
||
|
#CFLAGS = -fast ${INCS} -DVERSION=\"$(VERSION)\" -fPIC
|
||
|
#LDFLAGS = ${LIBS}
|
||
|
#SONAME =
|
||
|
|
||
|
# Darwin
|
||
|
# LDOPT = -dynamiclib
|
||
|
# SUFFIX = dylib
|
||
|
# SONAME = -current_version $(VERSION) -compatibility_version $(VERSION)
|
||
|
|
||
|
# compiler and linker
|
||
|
CC = cc
|
||
|
RANLIB = ranlib
|