# Makefile for mod_cvs - manual build version # $Id: Makefile.alternate,v 1.1 1999/01/14 19:46:19 main Exp $ # You definitely want to change some of the stuff below APACHE_SRC=/afs/isk.kth.se/src/apache/apache_1.3.0/src CC=gcc CCOPTS= SHARED=-G # -shared for Linux and similar, -G for Solaris LIBS=-lsocket -lnsl # -lsocket -lnsl for Solaris and those that require it # No configuration needs to be done below this point (hopefully) INCLUDE=-I$(APACHE_SRC)/include -I$(APACHE_SRC)/os/unix OBJS=mod_cvs.o .c.o: $(CC) -c $(INCLUDE) $(CCOPTS) $< mod_cvs.so: $(OBJS) $(CC) $(SHARED) -o $@ $(OBJS) $(LIBS) all: mod_cvs.so clean: rm -f *~ core $(OBJS) mod_cvs.so