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

Contents of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations)
Wed Aug 4 11:27:10 1993 UTC (20 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.5: +2 -2 lines
Added runprog.c
1 wlott 1.6 # $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/GNUmakefile,v 1.6 1993/08/04 11:27:10 wlott Exp $
2 wlott 1.1
3     all: lisp.nm
4    
5     CC = gcc
6    
7     include Config
8    
9 hallgren 1.5 SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
10 wlott 1.1 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 \
12 wlott 1.6 socket.c runprog.c undefineds.c ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC}
13 wlott 1.1
14     OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SRCS)))
15    
16     ### Don't look in RCS for the files, because we might not want the latest.
17     %: RCS/%,v
18    
19     lisp.nm: lisp
20 hallgren 1.5 echo 'Map file for lisp version ' `cat version` > ,lisp.nm
21 wlott 1.1 $(NM) lisp >> ,lisp.nm
22     mv ,lisp.nm lisp.nm
23    
24 wlott 1.4 lisp: ${OBJS} version
25 hallgren 1.5 echo '1 + ' `cat version` | bc > ,version
26 wlott 1.1 mv ,version version
27     $(CC) ${CFLAGS} -DVERSION=`cat version` -c version.c
28 wlott 1.4 $(CC) $(CFLAGS) ${OS_LINK_FLAGS} -o ,lisp \
29 wlott 1.1 ${OBJS} version.o \
30     ${OS_LIBS} -lm
31     mv -f ,lisp lisp
32    
33     version:
34     echo 0 > version
35    
36     ### Socket.c needs to be compiled with UNIXCONN defined.
37     socket.o: socket.c
38     $(COMPILE.c) -DUNIXCONN socket.c
39    
40     internals.h:
41     @echo "You must run genesis to create internals.h!"
42     @false
43    
44     clean:
45 wlott 1.4 rm -f Depends *.o lisp lisp.nm core
46 wlott 1.1
47     depend:
48 wlott 1.3 $(CC) -MM -E ${CFLAGS} ${CPPFLAGS} ${SRCS} > ,depends
49 wlott 1.1 mv ,depends Depends
50    
51     include Depends

  ViewVC Help
Powered by ViewVC 1.1.5