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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5366 - (download) (annotate)
Mon Jun 10 16:19:15 2019 UTC (23 months ago) by jhr
File size: 1887 byte(s)
  Porting changes from num64 branch in preparation of 110.90
  release.
#
# 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-dde.obj \
		win32-reg.obj \
		win32-config.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-dde.obj: win32-dde.c $(DEPENDENTS) \
	$(INC_DIR)\ml-base.h $(INC_DIR)\ml-values.h $(INC_DIR)\ml-objects.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c win32-dde.c

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

win32-config.obj: win32-config.c $(DEPENDENTS) \
	$(INC_DIR)\ml-base.h $(INC_DIR)\ml-values.h $(INC_DIR)\ml-objects.h
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c win32-config.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