Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/branches/SMLNJ/src/runtime/c-libs/smlnj-time/makefile.win32
ViewVC logotype

Annotation of /sml/branches/SMLNJ/src/runtime/c-libs/smlnj-time/makefile.win32

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (view) (download)

1 : monnier 249 #
2 :     # the makefile for the Time library
3 :     # win32 specific
4 :    
5 :     SHELL =
6 :    
7 :     INC_DIR = ..\..\include
8 :     CLIB_DIR = ..\
9 :    
10 :     INCLUDES = /I$(INC_DIR) /I$(CLIB_DIR) /I..\..\objs
11 :    
12 :     MAKEFILE = makefile.win32
13 :     MAKE = nmake /F$(MAKEFILE)
14 :     AR = lib
15 :     ARFLAGS =
16 :     RANLIB = lib
17 :    
18 :     LIBRARY = libsmlnj-time.lib
19 :    
20 :     VERSION = v-dummy
21 :    
22 :     OBJS = smlnj-time-lib.obj \
23 :     gettime.obj \
24 :     timeofday.obj
25 :    
26 :     $(LIBRARY) : $(VERSION) $(OBJS)
27 :     del /F /Q $(LIBRARY)
28 :     $(AR) $(ARFLAGS) /out:$(LIBRARY) $(OBJS)
29 :     $(RANLIB) /out:$(LIBRARY)
30 :    
31 :     $(VERSION) :
32 :     ($(MAKE) MAKE="$(MAKE)" clean)
33 :     echo "$(VERSION)" > $(VERSION)
34 :    
35 :     DEPENDENTS = $(INC_DIR)\ml-unixdep.h $(INC_DIR)\ml-base.h \
36 :     $(INC_DIR)\ml-values.h \
37 :     $(CLIB_DIR)\ml-c.h cfun-proto-list.h cfun-list.h
38 :    
39 :     smlnj-time-lib.obj: smlnj-time-lib.c $(DEPENDENTS)
40 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c smlnj-time-lib.c
41 :    
42 :     gettime.obj: gettime.c $(DEPENDENTS)
43 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c gettime.c
44 :    
45 :     timeofday.obj: timeofday.c $(DEPENDENTS)
46 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c timeofday.c
47 :    
48 :     clean :
49 :     del /F /Q v-* *.obj *.pdb $(LIBRARY)
50 :    

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