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

Contents of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (hide annotations)
Mon Mar 3 13:46:42 2003 UTC (11 years, 1 month ago) by pmai
Branch: MAIN
CVS Tags: release-18e-base, remove_negative_zero_not_zero, release-18e-pre2, cold-pcl-base, release-18e, release-18e-pre1
Branch point for: release-18e-branch, cold-pcl
Changes since 1.19: +3 -2 lines
Corrected missing bits in the previous commit.
1 pmai 1.20 # $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/GNUmakefile,v 1.20 2003/03/03 13:46:42 pmai Exp $
2 wlott 1.1
3     all: lisp.nm
4    
5     CC = gcc
6 ram 1.12
7 toy 1.19 DEPEND = $(CC) -MM -E
8 pmai 1.20 DEPEND_FLAGS =
9 wlott 1.1
10     include Config
11    
12 ram 1.12 ifndef GC_SRC
13     GC_SRC = gc.c
14     endif
15    
16 hallgren 1.5 SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
17 ram 1.12 vars.c parse.c interrupt.c search.c validate.c globals.c \
18 wlott 1.1 dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \
19 pw 1.13 socket.c runprog.c time.c \
20 ram 1.12 ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC}
21 ram 1.10
22 wlott 1.11 OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS))))
23 wlott 1.1
24     ### Don't look in RCS for the files, because we might not want the latest.
25     %: RCS/%,v
26 pw 1.14
27 wlott 1.1 lisp.nm: lisp
28 hallgren 1.5 echo 'Map file for lisp version ' `cat version` > ,lisp.nm
29 toy 1.18 $(NM) lisp | grep -v " [F] " >> ,lisp.nm
30 wlott 1.1 mv ,lisp.nm lisp.nm
31    
32 ram 1.9 lisp: version.c ${OBJS} version
33 hallgren 1.5 echo '1 + ' `cat version` | bc > ,version
34 wlott 1.1 mv ,version version
35 ram 1.9 $(CC) ${CFLAGS} -DVERSION=`cat version` -c $<
36 ram 1.8 $(CC) -g ${OS_LINK_FLAGS} -o ,lisp \
37 wlott 1.1 ${OBJS} version.o \
38     ${OS_LIBS} -lm
39     mv -f ,lisp lisp
40    
41     version:
42     echo 0 > version
43    
44     ### Socket.c needs to be compiled with UNIXCONN defined.
45     socket.o: socket.c
46 ram 1.9 $(COMPILE.c) -DUNIXCONN $<
47 wlott 1.1
48     internals.h:
49     @echo "You must run genesis to create internals.h!"
50     @false
51    
52     clean:
53 wlott 1.4 rm -f Depends *.o lisp lisp.nm core
54 wlott 1.1
55 pmai 1.16 depend: Depends
56    
57     Depends: ${SRCS}
58 pmai 1.20 $(DEPEND) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > ,depends
59 wlott 1.1 mv ,depends Depends
60    
61     include Depends

  ViewVC Help
Powered by ViewVC 1.1.5