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

Contents of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations)
Mon Oct 24 19:19:29 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.8: +6 -6 lines
Some kind of changes to make directoris relative or somethng.
1 ram 1.9 # $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/GNUmakefile,v 1.9 1994/10/24 19:19:29 ram 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.7 socket.c runprog.c time.c undefineds.c \
13     ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC}
14 wlott 1.1
15     OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SRCS)))
16    
17     ### Don't look in RCS for the files, because we might not want the latest.
18     %: RCS/%,v
19    
20     lisp.nm: lisp
21 hallgren 1.5 echo 'Map file for lisp version ' `cat version` > ,lisp.nm
22 wlott 1.1 $(NM) lisp >> ,lisp.nm
23     mv ,lisp.nm lisp.nm
24    
25 ram 1.9 lisp: version.c ${OBJS} version
26 hallgren 1.5 echo '1 + ' `cat version` | bc > ,version
27 wlott 1.1 mv ,version version
28 ram 1.9 $(CC) ${CFLAGS} -DVERSION=`cat version` -c $<
29 ram 1.8 $(CC) -g ${OS_LINK_FLAGS} -o ,lisp \
30 wlott 1.1 ${OBJS} version.o \
31     ${OS_LIBS} -lm
32     mv -f ,lisp lisp
33    
34     version:
35     echo 0 > version
36    
37     ### Socket.c needs to be compiled with UNIXCONN defined.
38     socket.o: socket.c
39 ram 1.9 $(COMPILE.c) -DUNIXCONN $<
40 wlott 1.1
41     internals.h:
42     @echo "You must run genesis to create internals.h!"
43     @false
44    
45     clean:
46 wlott 1.4 rm -f Depends *.o lisp lisp.nm core
47 wlott 1.1
48 ram 1.9 depend: ${SRCS}
49     $(CC) -MM -E ${CFLAGS} ${CPPFLAGS} $? > ,depends
50 wlott 1.1 mv ,depends Depends
51    
52     include Depends

  ViewVC Help
Powered by ViewVC 1.1.5