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 2 - (download) (annotate)
Sat Oct 4 23:33:09 1997 UTC (23 years, 11 months ago) by monnier
File size: 1282 byte(s)
Initial revision
# 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
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

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

	$(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)

ViewVC Help
Powered by ViewVC 1.0.0