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

Contents of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5