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

Contents of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations)
Sat Jun 7 15:25:37 1997 UTC (16 years, 10 months ago) by pw
Branch: MAIN
CVS Tags: RELEASE_18a, RELEASE_18b, RELEASE_18c
Branch point for: RELENG_18
Changes since 1.12: +2 -2 lines
Peter's fixes for Linux 2.1
1 # $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/GNUmakefile,v 1.13 1997/06/07 15:25:37 pw Exp $
2
3 all: lisp.nm
4
5 CC = gcc
6
7 DEPEND_FLAGS =
8
9 include Config
10
11 ifndef GC_SRC
12 GC_SRC = gc.c
13 endif
14
15 SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
16 vars.c parse.c interrupt.c search.c validate.c globals.c \
17 dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \
18 socket.c runprog.c time.c \
19 ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC}
20
21 OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS))))
22
23 ### Don't look in RCS for the files, because we might not want the latest.
24 %: RCS/%,v
25
26 lisp.nm: lisp
27 echo 'Map file for lisp version ' `cat version` > ,lisp.nm
28 $(NM) lisp | grep -v " F \| U " >> ,lisp.nm
29 mv ,lisp.nm lisp.nm
30
31 lisp: version.c ${OBJS} version
32 echo '1 + ' `cat version` | bc > ,version
33 mv ,version version
34 $(CC) ${CFLAGS} -DVERSION=`cat version` -c $<
35 $(CC) -g ${OS_LINK_FLAGS} -o ,lisp \
36 ${OBJS} version.o \
37 ${OS_LIBS} -lm
38 mv -f ,lisp lisp
39
40 version:
41 echo 0 > version
42
43 ### Socket.c needs to be compiled with UNIXCONN defined.
44 socket.o: socket.c
45 $(COMPILE.c) -DUNIXCONN $<
46
47 internals.h:
48 @echo "You must run genesis to create internals.h!"
49 @false
50
51 clean:
52 rm -f Depends *.o lisp lisp.nm core
53
54 depend: ${SRCS}
55 $(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > ,depends
56 mv ,depends Depends
57
58 include Depends

  ViewVC Help
Powered by ViewVC 1.1.5