1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
# CFINGERD by Ken Hollis
# Released under the GPL
include Makefile.cfg
export CC
ewps:
@echo
@echo "Options are:"
@echo
@echo "make clean - clean all remaining object/make files"
@echo "make install - make and install cfingerd, userlist and docs"
@echo "make instbin - make and only install the binaries"
@echo "make instdocs - make and only install the documentation"
@echo "make all - make cfingerd and userlist"
@echo
Makefile.cfg:
./Configure
cfingerd: Makefile.cfg
@echo
@echo "Compiling cfingerd, one moment."
@echo
cd src ; $(MAKE) cfingerd
userlist: Makefile.cfg userlist/userlist
userlist/userlist:
@echo
@echo "Compiling userlist, one moment."
@echo
cd userlist ; $(MAKE) userlist
clean:
@echo
@echo "Cleaning out directories..."
@echo
cd src ; $(MAKE) clean
cd userlist ; $(MAKE) clean
rm -f Makefile Makefile.cfg
cp -p Makefile.clean Makefile
install: instbin instdocs
instbin: all
./Install
cd userlist ; $(MAKE) install
instdocs:
./Install -docs
cd docs ; $(MAKE) install
all: cfingerd userlist
|