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

SCM Repository

[smlnj] View of /sml/trunk/src/runtime/memory/makefile.win32
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (download) (annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 1 month ago) by monnier
Original Path: sml/branches/SMLNJ/src/runtime/memory/makefile.win32
File size: 1282 byte(s)
version 110.16
# win32 specific, only mem-vmem currently supported.
#
## The makefile for the memory management library.  This gets recursively
## invoked with the OBJS variable set to the appropriate value.
#

MAKE =		nmake
AR =		lib
ARFLAGS =	
RANLIB =	lib

VERSION =	v-dummy

LIB =		libmem.lib

MMAP_OBJS =	mem-mmap.obj

MACH_OBJS =	mem-mach.obj

BRK_OBJS =	mem-brk.obj malloc.obj

SIMPLE_OBJS = 	mem-win32.obj

$(LIB) :	$(VERSION) $(OBJS)
	$(AR) $(ARFLAGS) /out:$(LIB) $(OBJS)
	$(RANLIB) /out:$(LIB)

$(VERSION) :
	$(MAKE) MAKE="$(MAKE)" clean
	echo "$(VERSION)" > $(VERSION)

mem-mmap.obj mem-mach.obj mem-brk.obj mem-win32.obj:	mem-common.ins

DEPENDENTS = ..\include\ml-base.h ..\include\ml-unixdep.h ..\include\bibop.h

mem-mmap.obj : mem-mmap.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-mmap.c

mem-mach.obj : mem-mach.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-mach.c

mem-brk.obj : mem-brk.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-brk.c

malloc.obj : malloc.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c malloc.c

mem-win32.obj : mem-win32.c \
		mem-common.ins \
		..\include\ml-base.h ..\include\ml-osdep.h ..\include\memory.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mem-win32.c

clean :
	del /F /Q v-* *.obj *.pdb $(LIB)


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