/[cmucl]/src/lisp/GNUmakefile
ViewVC logotype

Diff of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wlott, Fri Sep 4 08:11:54 1992 UTC revision 1.4 by wlott, Tue Sep 8 20:16:06 1992 UTC
# Line 9  include Config Line 9  include Config
9  SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c os-common.c \  SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c os-common.c \
10          vars.c parse.c interrupt.c search.c validate.c gc.c globals.c \          vars.c parse.c interrupt.c search.c validate.c gc.c globals.c \
11          dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \          dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \
12          socket.c ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC}          socket.c undefineds.c ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC}
13    
14  OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SRCS)))  OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SRCS)))
15    
# Line 22  lisp.nm: lisp Line 22  lisp.nm: lisp
22          $(NM) lisp >> ,lisp.nm          $(NM) lisp >> ,lisp.nm
23          mv ,lisp.nm lisp.nm          mv ,lisp.nm lisp.nm
24    
25  lisp: ${OBJS} version undefineds  lisp: ${OBJS} version
26          echo -n '1 + ' | cat - version | bc > ,version          echo -n '1 + ' | cat - version | bc > ,version
27          mv ,version version          mv ,version version
28          $(CC) ${CFLAGS} -DVERSION=`cat version` -c version.c          $(CC) ${CFLAGS} -DVERSION=`cat version` -c version.c
29          $(CC) $(CFLAGS) ${OS_LINK_FLAGS} `cat undefineds` -o ,lisp \          $(CC) $(CFLAGS) ${OS_LINK_FLAGS} -o ,lisp \
30                  ${OBJS} version.o \                  ${OBJS} version.o \
31                  ${OS_LIBS} -lm                  ${OS_LIBS} -lm
32          mv -f ,lisp lisp          mv -f ,lisp lisp
# Line 34  lisp: ${OBJS} version undefineds Line 34  lisp: ${OBJS} version undefineds
34  version:  version:
35          echo 0 > version          echo 0 > version
36    
 undefineds: undefineds.src  
         ${CPP} undefineds.src | \  
         sed -e '/^#/d' -e '/^[  ]*$$/d' -e 's/.*/${UNDEFSYMPATTERN}/' | \  
         sort -u > ,undefineds  
         mv ,undefineds undefineds  
   
37  ### Socket.c needs to be compiled with UNIXCONN defined.  ### Socket.c needs to be compiled with UNIXCONN defined.
38  socket.o: socket.c  socket.o: socket.c
39          $(COMPILE.c) -DUNIXCONN socket.c          $(COMPILE.c) -DUNIXCONN socket.c
# Line 49  internals.h: Line 43  internals.h:
43          @false          @false
44    
45  clean:  clean:
46          rm -f Depends undefineds *.o lisp lisp.nm          rm -f Depends *.o lisp lisp.nm core
47    
48  depend:  depend:
49          $(CC) -MM -E ${CFLAGS} ${CPPFLAGS} ${SRCS} > ,depends          $(CC) -MM -E ${CFLAGS} ${CPPFLAGS} ${SRCS} > ,depends

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.5