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

Contents of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (hide annotations)
Wed Aug 20 16:53:59 2003 UTC (10 years, 8 months ago) by gerd
Branch: MAIN
CVS Tags: double-double-array-base, release-19b-pre1, release-19b-pre2, double-double-init-sparc-2, double-double-base, ppc_gencgc_snap_2006-01-06, snapshot-2006-11, snapshot-2006-10, double-double-init-sparc, snapshot-2003-10, snapshot-2004-10, snapshot-2004-08, snapshot-2004-09, snapshot-2004-05, snapshot-2004-06, snapshot-2004-07, release-19d, double-double-init-ppc, release-19c, release-19c-base, mod-arith-base, sparc_gencgc_merge, snapshot-2004-12, snapshot-2004-11, amd64-merge-start, ppc_gencgc_snap_2005-12-17, double-double-init-%make-sparc, prm-before-macosx-merge-tag, snapshot-2003-11, snapshot-2005-07, release-19a-base, snapshot-2003-12, release-19a-pre1, release-19a-pre3, release-19a-pre2, release-19a, double-double-array-checkpoint, double-double-reader-checkpoint-1, release-19d-base, double-double-irrat-end, release-19d-pre2, release-19d-pre1, double-double-init-checkpoint-1, double-double-reader-base, snapshot-2005-03, release-19b-base, double-double-init-x86, snapshot-2005-11, double-double-sparc-checkpoint-1, snapshot-2004-04, snapshot-2005-10, snapshot-2005-12, snapshot-2005-01, release-19c-pre1, double-double-irrat-start, snapshot-2005-06, snapshot-2005-05, snapshot-2005-04, ppc_gencgc_snap_2005-05-14, snapshot-2005-02, snapshot-2005-09, snapshot-2005-08, lisp-executable-base, snapshot-2006-02, snapshot-2006-03, snapshot-2006-01, snapshot-2006-06, snapshot-2006-07, snapshot-2006-04, snapshot-2006-05, snapshot-2006-08, snapshot-2006-09
Branch point for: release-19b-branch, double-double-reader-branch, double-double-array-branch, mod-arith-branch, release-19d-branch, ppc_gencgc_branch, lisp-executable, double-double-branch, release-19a-branch, release-19c-branch
Changes since 1.21: +3 -2 lines
	* src/code/fwrappers.lisp (funwrap): Delete all fwrappers
	if neither type nor test is supplied.

	* src/lisp/GNUmakefile: Include internals.inc.

	* src/compiler/generic/new-genesis.lisp (emit-makefile-header): New
	function.
	(genesis): Call it.
1 gerd 1.22 # $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/GNUmakefile,v 1.22 2003/08/20 16:53:59 gerd 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 gerd 1.22 -include internals.inc
11 wlott 1.1 include Config
12    
13 ram 1.12 ifndef GC_SRC
14     GC_SRC = gc.c
15     endif
16    
17 hallgren 1.5 SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
18 ram 1.12 vars.c parse.c interrupt.c search.c validate.c globals.c \
19 wlott 1.1 dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \
20 pw 1.13 socket.c runprog.c time.c \
21 ram 1.12 ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC}
22 ram 1.10
23 wlott 1.11 OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS))))
24 wlott 1.1
25     ### Don't look in RCS for the files, because we might not want the latest.
26     %: RCS/%,v
27 pw 1.14
28 wlott 1.1 lisp.nm: lisp
29 hallgren 1.5 echo 'Map file for lisp version ' `cat version` > ,lisp.nm
30 toy 1.18 $(NM) lisp | grep -v " [F] " >> ,lisp.nm
31 wlott 1.1 mv ,lisp.nm lisp.nm
32    
33 ram 1.9 lisp: version.c ${OBJS} version
34 hallgren 1.5 echo '1 + ' `cat version` | bc > ,version
35 wlott 1.1 mv ,version version
36 ram 1.9 $(CC) ${CFLAGS} -DVERSION=`cat version` -c $<
37 ram 1.8 $(CC) -g ${OS_LINK_FLAGS} -o ,lisp \
38 wlott 1.1 ${OBJS} version.o \
39     ${OS_LIBS} -lm
40     mv -f ,lisp lisp
41    
42     version:
43     echo 0 > version
44    
45     ### Socket.c needs to be compiled with UNIXCONN defined.
46     socket.o: socket.c
47 ram 1.9 $(COMPILE.c) -DUNIXCONN $<
48 wlott 1.1
49 gerd 1.22 internals.h internals.inc:
50 wlott 1.1 @echo "You must run genesis to create internals.h!"
51     @false
52    
53     clean:
54 wlott 1.4 rm -f Depends *.o lisp lisp.nm core
55 wlott 1.1
56 pmai 1.16 depend: Depends
57    
58     Depends: ${SRCS}
59 toy 1.21 $(DEPEND) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $^ > ,depends
60 wlott 1.1 mv ,depends Depends
61    
62     include Depends

  ViewVC Help
Powered by ViewVC 1.1.5