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/c-libs/smlnj-runtime/makefile.win32
ViewVC logotype

View of /sml/trunk/src/runtime/c-libs/smlnj-runtime/makefile.win32

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1342 - (download) (annotate)
Mon Aug 11 20:46:00 2003 UTC (16 years, 10 months ago) by mblume
File size: 2947 byte(s)
works under w32 again;
bug fix for ml-nlffigen; other bugfixes
# the makefile for the runtime library
# win32 specific


INC_DIR =	..\..\include
MACH_DIR =      ..\..\mach-dep
CLIB_DIR =	..\

INCLUDES =	/I$(INC_DIR) /I$(CLIB_DIR) /I..\..\objs /I$(MACH_DIR)

MAKEFILE = 	makefile.win32
MAKE =		nmake /F$(MAKEFILE)
AR =		lib
RANLIB =	lib

LIBRARY =	libsmlnj-runt.lib

VERSION =	v-dummy

OBJS =		smlnj-runt-lib.obj \
		alloc-code.obj \
		argv.obj \
		raw-argv.obj \
		cmd-name.obj \
		blast-in.obj \
		blast-out.obj \
		debug.obj \
		dummy.obj \
		export-heap.obj \
		export-fun.obj \
		gc-ctl.obj \
		itick.obj \
		mkexec.obj \
		mkliterals.obj \
		record1.obj \
		record-concat.obj \
		sysinfo.obj \

	del /Q /F $(LIBRARY)
	$(AR) $(ARFLAGS) /out:$(LIBRARY) $(OBJS)

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

DEPENDENTS=$(INC_DIR)\ml-unixdep.h $(INC_DIR)\ml-base.h \
	   $(INC_DIR)\ml-values.h \
	   $(INC_DIR)\ml-objects.h \
	   $(CLIB_DIR)\ml-c.h cfun-proto-list.h cfun-list.h

smlnj-runt-lib.obj: smlnj-runt-lib.c $(DEPNEDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c smlnj-runt-lib.c

alloc-code.obj: alloc-code.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c alloc-code.c

argv.obj: argv.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c argv.c

raw-argv.obj: raw-argv.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c raw-argv.c

cmd-name.obj: cmd-name.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c cmd-name.c

blast-in.obj: blast-in.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c blast-in.c

blast-out.obj: blast-out.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c blast-out.c

debug.obj: debug.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c debug.c

dummy.obj: dummy.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c dummy.c

export-heap.obj: export-heap.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c export-heap.c

export-fun.obj: export-fun.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c export-fun.c

gc-ctl.obj: gc-ctl.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c gc-ctl.c

itick.obj: itick.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c itick.c

mkexec.obj: mkexec.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c mkexec.c

mkliterals.obj: mkliterals.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c mkliterals.c

record1.obj: record1.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c record1.c

record-concat.obj: record-concat.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c record-concat.c

sysinfo.obj: sysinfo.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c sysinfo.c

setitimer.obj: setitimer.c $(MACH_DIR)\win32-timers.h $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) /c setitimer.c

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

ViewVC Help
Powered by ViewVC 1.0.0