ry / libebb

a lightweight HTTP server library for C

This URL has Read+Write access

libebb / config.mk
20cf34b8 » ry 2008-08-25 fix up makefile 1 PREFIX = $(HOME)/local/libebb
66deeed8 » ry 2008-08-20 change makefile to use stru... 2
3 # libev
20cf34b8 » ry 2008-08-25 fix up makefile 4 EVINC = $(HOME)/local/libev/include
5 EVLIB = $(HOME)/local/libev/lib
6 EVLIBS = -L${EVLIB} -lev
66deeed8 » ry 2008-08-20 change makefile to use stru... 7
8 # GnuTLS, comment if you don't want it (necessary for HTTPS)
9 GNUTLSLIB = /usr/lib
10 GNUTLSINC = /usr/include
11 GNUTLSLIBS = -L${GNUTLSLIB} -lgnutls
12 GNUTLSFLAGS = -DHAVE_GNUTLS
13
14 # includes and libs
20cf34b8 » ry 2008-08-25 fix up makefile 15 INCS = -I${EVINC} -I${GNUTLSINC}
a919b9a4 » ry 2009-02-22 clean ups for c++ inclusion 16 LIBS = ${EVLIBS} ${GNUTLSLIBS} -lefence
66deeed8 » ry 2008-08-20 change makefile to use stru... 17
18 # flags
20cf34b8 » ry 2008-08-25 fix up makefile 19 CPPFLAGS = -DVERSION=\"$(VERSION)\" ${GNUTLSFLAGS}
07784fd2 » ry 2008-10-17 remove ebb_buf 20 CFLAGS = -O2 -g -Wall ${INCS} ${CPPFLAGS} -fPIC
66deeed8 » ry 2008-08-20 change makefile to use stru... 21 LDFLAGS = -s ${LIBS}
22 LDOPT = -shared
23 SUFFIX = so
20cf34b8 » ry 2008-08-25 fix up makefile 24 SONAME = -Wl,-soname,$(OUTPUT_LIB)
66deeed8 » ry 2008-08-20 change makefile to use stru... 25
26 # Solaris
20cf34b8 » ry 2008-08-25 fix up makefile 27 #CFLAGS = -fast ${INCS} -DVERSION=\"$(VERSION)\" -fPIC
66deeed8 » ry 2008-08-20 change makefile to use stru... 28 #LDFLAGS = ${LIBS}
20cf34b8 » ry 2008-08-25 fix up makefile 29 #SONAME =
66deeed8 » ry 2008-08-20 change makefile to use stru... 30
31 # Darwin
20cf34b8 » ry 2008-08-25 fix up makefile 32 # LDOPT = -dynamiclib
33 # SUFFIX = dylib
34 # SONAME = -current_version $(VERSION) -compatibility_version $(VERSION)
66deeed8 » ry 2008-08-20 change makefile to use stru... 35
36 # compiler and linker
37 CC = cc
38 RANLIB = ranlib