Support dynamic-only virtual hosts by supplying NIL for a VHOST's ROOT.
[mmondor.git] / mmsoftware / cl / server / GNUmakefile
CommitLineData
9c075b94
MM
1MODULES := character dlist syslog ecl-mp-server html httpd
2
3FASLS := $(addsuffix .fas,$(MODULES))
4OBJECTS := $(addsuffix .o,$(MODULES))
5
6ARCHIVE := crow-httpd.tgz
7BINARY := crow-httpd
8
9ECL := /usr/local/ecl/bin/ecl -norc
10TAR := tar
11
12all: $(ARCHIVE) $(BINARY)
13
14$(ARCHIVE): $(FASLS)
15 tar czvf $(ARCHIVE) $(FASLS)
16
17$(BINARY): $(ARCHIVE) $(FASLS) $(OBJECTS)
18 $(ECL) -o crow-httpd -link $(OBJECTS)
19
20%.fas: %.lisp
21 $(ECL) -eval '(setf c::*compile-in-constants* t)' -compile $<
22
23%.o: %.lisp
24 $(ECL) -eval '(progn (setf c::*compile-in-constants* t) (pushnew :mm-ecl-standalone *features*))' -o $@ -s -compile $<
25
26clean:
27 rm -f $(BINARY) $(ARCHIVE) $(OBJECTS) $(FASLS)