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.win32
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : monnier 249 # win32 specific, only mem-vmem currently supported.
2 :     #
3 :     ## The makefile for the memory management library. This gets recursively
4 :     ## invoked with the OBJS variable set to the appropriate value.
5 :     #
6 :    
7 :     MAKE = nmake
8 :     AR = lib
9 :     ARFLAGS =
10 :     RANLIB = lib
11 :    
12 :     VERSION = v-dummy
13 :    
14 :     LIB = libmem.lib
15 :    
16 :     MMAP_OBJS = mem-mmap.obj
17 :    
18 :     MACH_OBJS = mem-mach.obj
19 :    
20 :     BRK_OBJS = mem-brk.obj malloc.obj
21 :    
22 :     SIMPLE_OBJS = mem-win32.obj
23 :    
24 :     $(LIB) : $(VERSION) $(OBJS)
25 :     $(AR) $(ARFLAGS) /out:$(LIB) $(OBJS)
26 :     $(RANLIB) /out:$(LIB)
27 :    
28 :     $(VERSION) :
29 :     $(MAKE) MAKE="$(MAKE)" clean
30 :     echo "$(VERSION)" > $(VERSION)
31 :    
32 :     mem-mmap.obj mem-mach.obj mem-brk.obj mem-win32.obj: mem-common.ins
33 :    
34 :     DEPENDENTS = ..\include\ml-base.h ..\include\ml-unixdep.h ..\include\bibop.h
35 :    
36 :     mem-mmap.obj : mem-mmap.c $(DEPENDENTS)
37 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-mmap.c
38 :    
39 :     mem-mach.obj : mem-mach.c $(DEPENDENTS)
40 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-mach.c
41 :    
42 :     mem-brk.obj : mem-brk.c $(DEPENDENTS)
43 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-brk.c
44 :    
45 :     malloc.obj : malloc.c $(DEPENDENTS)
46 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c malloc.c
47 :    
48 :     mem-win32.obj : mem-win32.c \
49 :     mem-common.ins \
50 :     ..\include\ml-base.h ..\include\ml-osdep.h ..\include\memory.h
51 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-win32.c
52 :    
53 :     clean :
54 :     del /F /Q v-* *.obj *.pdb $(LIB)
55 :    

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