1 # $eterna: Makefile.boot,v 1.9 2010/05/10 04:57:50 mrg Exp $
3 # very simple makefile to compile bozohttpd, should work with every make.
4 # see Makefile for a list of compile options that may be placed in CFLAGS.
8 LARGE_CFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
9 LOCAL_CFLAGS= -DNO_LUA_SUPPORT
10 CFLAGS= $(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
13 CRYPTOLIBDIR= # -L/usr/local/lib
14 CRYPTOLIBS= $(CRYPTOLIBDIR) -lcrypto -lssl
16 FILES= bozohttpd.c auth-bozo.c cgi-bozo.c content-bozo.c daemon-bozo.c \
17 dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
20 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
23 $(GROFF) -mandoc bozohttpd.8 > bozohttpd.cat8
26 rm -f bozohttpd bozohttpd.cat8 *.o