Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/runtime/memory/makefile
ViewVC logotype

Annotation of /sml/trunk/src/runtime/memory/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : monnier 249 #
2 :     # The makefile for the memory management library. This get recursively
3 :     # invoked with the OBJS variable set to the appropriate value.
4 :     #
5 :    
6 :     MAKE = make
7 :     AR = ar
8 :     ARFLAGS = rcv
9 :     RANLIB = ranlib
10 :    
11 :     VERSION = v-dummy
12 :    
13 :     LIB = libmem.a
14 :    
15 :     MMAP_OBJS = mem-mmap.o
16 :    
17 :     MACH_OBJS = mem-mach.o
18 :    
19 :     BRK_OBJS = mem-brk.o malloc.o
20 :    
21 :     $(LIB) : $(VERSION) $(OBJS)
22 :     $(AR) $(ARFLAGS) $(LIB) $(OBJS)
23 :     $(RANLIB) $(LIB)
24 :    
25 :     $(VERSION) :
26 :     ($(MAKE) MAKE="$(MAKE)" clean)
27 :     echo "$(VERSION)" > $(VERSION)
28 :    
29 :     mem-mmap.o mem-mach.o mem-brk.o: mem-common.ins
30 :    
31 :     .o: ../include/ml-base.h ../include/ml-unixdep.h ../include/bibop.h
32 :    
33 :     .c.o:
34 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) -c $<
35 :    
36 :     clean :
37 :     rm -f v-* *.o $(LIB)
38 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0