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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1573 - (download) (annotate)
Mon Aug 2 19:44:48 2004 UTC (15 years, 11 months ago) by mblume
File size: 1412 byte(s)
added support for nlffi under win32
#
# the makefile for the dynload library
# win32 specific

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 =	dynload.lib

VERSION =	v-dummy

OBJS =		unix-dynload-lib.obj \
                dlopen.obj \
                dlclose.obj \
                dlsym.obj \
                dlerror.obj \
                dldummy.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 = $(INC_DIR)\ml-unixdep.h $(INC_DIR)\ml-base.h \
	     $(INC_DIR)\ml-values.h \
	     $(CLIB_DIR)\ml-c.h cfun-proto-list.h cfun-list.h

unix-dynload-lib.obj: unix-dynload-lib.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c unix-dynload-lib.c

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

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

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

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

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

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

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