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/trunk/src/runtime/c-libs/smlnj-prof/makefile
ViewVC logotype

Annotation of /sml/trunk/src/runtime/c-libs/smlnj-prof/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (view) (download)

1 : monnier 2 #
2 :     # the makefile for the profile support library
3 :     #
4 :    
5 :     SHELL = /bin/sh
6 :    
7 :     INC_DIR = ../../include
8 :     CLIB_DIR = ../
9 :    
10 :     INCLUDES = -I$(INC_DIR) -I$(CLIB_DIR) -I../../objs
11 :     GC_INCLUDES = $(INCLUDES) -I../../gc
12 :    
13 :     MAKE = make
14 :     AR = ar
15 :     ARFLAGS = rcv
16 :     RANLIB = ranlib
17 :    
18 :     LIBRARY = libsmlnj-prof.a
19 :    
20 :     VERSION = v-dummy
21 :    
22 :     OBJS = smlnj-prof-lib.o \
23 :     getpquantum.o \
24 :     setpref.o \
25 :     setptimer.o
26 :    
27 :     $(LIBRARY) : $(VERSION) $(OBJS)
28 :     rm -rf $(LIBRARY)
29 :     $(AR) $(ARFLAGS) $(LIBRARY) $(OBJS)
30 :     $(RANLIB) $(LIBRARY)
31 :    
32 :     $(VERSION) :
33 :     ($(MAKE) MAKE="$(MAKE)" clean)
34 :     echo "$(VERSION)" > $(VERSION)
35 :    
36 :     .c.o: $(INC_DIR)/ml-unixdep.h $(INC_DIR)/ml-base.h $(INC_DIR)/ml-values.h \
37 :     $(INC_DIR)/ml-objects.h $(INC_DIR)/profile.h \
38 :     $(CLIB_DIR)/ml-c.h cfun-proto-list.h cfun-list.h
39 :     $(CC) $(CFLAGS) $(DEFS) $(GC_INCLUDES) -c $<
40 :    
41 :     clean :
42 :     rm -f v-* *.o $(LIBRARY)
43 :    

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