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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 1 month ago) by monnier
File size: 1452 byte(s)
bring revisions from the vendor branch to the trunk
#
# the makefile for the Win32 core library
#

SHELL =

INC_DIR =	..\..\include
CLIB_DIR =	..\

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

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

LIBRARY =	libwin32.lib

VERSION =	v-dummy

OBJS =		win32-lib.obj \
		win32-constants.obj \
		win32-errors.obj \
		win32-debug.obj \
		name-val.obj 
		

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

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

DEPENDENTS = $(CLIB_DIR)\ml-c.h cfun-proto-list.h cfun-list.h

win32-lib.obj: win32-lib.c $(DEPENDENTS) \
               $(INC_DIR)\c-library.h $(INC_DIR)\ml-base.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c win32-lib.c

win32-constants.obj: win32-constants.c $(DEPENDENTS) \
	$(INC_DIR)\ml-base.h $(INC_DIR)\ml-values.h $(INC_DIR)\ml-objects.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c win32-constants.c

win32-errors.obj: win32-errors.c $(DEPENDENTS) \
	$(INC_DIR)\ml-base.h $(INC_DIR)\ml-values.h $(INC_DIR)\ml-objects.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c win32-errors.c

win32-debug.obj: win32-debug.c $(DEPENDENTS) \
	$(INC_DIR)\ml-base.h $(INC_DIR)\ml-values.h $(INC_DIR)\ml-objects.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c win32-debug.c

name-val.obj: name-val.c name-val.h
	$(CC) $(CFLAGS) /c name-val.c
clean:
	del /F /Q v-* *.obj *.pdb $(LIBRARY)



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