Annotation of GNUtools/emacs/src/Makefile, revision 1.1.1.1

1.1       root        1: CPP = $(CC) -E
                      2: MAKE = make  # BSD doesn't have it as a default.
                      3: #Note: an alternative is  CPP = /lib/cpp
                      4: 
                      5: # Just to avoid uncertainty.
                      6: SHELL = /bin/sh
                      7: 
                      8: all: xmakefile doall
                      9: 
                     10: doall:
                     11:        $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
                     12: 
                     13: #This is used in making a distribution.
                     14: #Do not use it on development directories!
                     15: distclean: clean
                     16:        -rm -f paths.h config.h emacs-* *~ log*
                     17: 
                     18: clean:
                     19:        -rm -f temacs xemacs xmakefile core \#* *.o libXMenu11.a
                     20: 
                     21: xemacs: xmakefile doxemacs
                     22: 
                     23: doxemacs:
                     24:        $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs
                     25: 
                     26: temacs: xmakefile dotemacs
                     27: 
                     28: dotemacs:
                     29:        $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
                     30: 
                     31: # If you have a problem with cc -E here, changing
                     32: # the definition of CPP above may fix it.
                     33: xmakefile: ymakefile config.h
                     34:        -rm -f xmakefile junk.c
                     35:        cp ymakefile junk.c
                     36:        $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[     ][     ]*$$//' -e 's/^ /       /' | \
                     37:        sed -n -e '/^..*$$/p' > xmakefile
                     38:        rm -f junk.c
                     39: 
                     40: tags:
                     41:        etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.