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

Annotation of /sml/branches/SMLNJ/src/runtime/mp/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (view) (download)

1 : monnier 249 #
2 :     # the makefile for the MP support library
3 :     #
4 :    
5 :     MAKE = make
6 :     AR = ar
7 :     ARFLAGS = rcv
8 :     RANLIB = ranlib
9 :    
10 :     VERSION = v-dummy
11 :    
12 :     LIB = libmp.a
13 :    
14 :     INC_DIR = ../include
15 :     INCLUDES = -I$(INC_DIR)
16 :    
17 :     #
18 :     # each version of the MP library has its own list of object files:
19 :     #
20 :     SGI_OBJS = sgi-mp.o
21 :    
22 :    
23 :    
24 :     $(LIB) : $(VERSION) $(OBJS)
25 :     rm -rf $(LIB)
26 :     $(AR) $(ARFLAGS) $(LIB) $(OBJS)
27 :     $(RANLIB) $(LIB)
28 :    
29 :     $(VERSION) :
30 :     ($(MAKE) MAKE="$(MAKE)" clean)
31 :     echo "$(VERSION)" > $(VERSION)
32 :    
33 :     sgi-mp.o: sgi-mp.c \
34 :     $(INC_DIR)/ml-base.h $(INC_DIR)/ml-limits.h \
35 :     $(INC_DIR)/ml-values.h $(INC_DIR)/tags.h $(INC_DIR)/ml-mp.h \
36 :     $(INC_DIR)/ml-state.h $(INC_DIR)/ml-globals.h
37 :     $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES) sgi-mp.c
38 :    
39 :     clean :
40 :     rm -f v-* *.o $(LIB)

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