|
|
researchv9-SUN3(old)
/* $Header: /var/lib/cvsd/repos/research/researchv9/X11/src/X.V11R1/clients/emacs/Imakefile,v 1.1.1.1 2018/04/24 17:22:00 root Exp $ */
CPP = cc -E
#Note: an alternative is CPP = /lib/cpp
all: xmakefile doall
doall:
make INCLUDES=$(INCLUDES) XLIB=$(XLIB) OLDXMENULIB=$(OLDXMENULIB) \
-f xmakefile ${MFLAGS} all
.RECURSIVE: doall
#This is used in making a distribution.
#Do not use it on development directories!
spotless:
-rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o
clean::
-rm -f temacs xemacs xmakefile code *~ \#* *.o
xemacs: xmakefile doxemacs
doxemacs:
make -f xmakefile ${MFLAGS} xemacs
.RECURSIVE: doxemacs
temacs: xmakefile dotemacs
dotemacs:
make -f xmakefile ${MFLAGS} temacs
.RECURSIVE: dotemacs
# If you have a problem with cc -E here, changing
# the definition of CPP above may fix it.
xmakefile: ymakefile config.h
rm -f xmakefile
cp ymakefile junk.c
$(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f ]$$//' | \
sed -n -e '/^..*$$/p' > xmakefile
rm -f junk.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.