ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/ihost/libstatgrab/Makefile
(Generate patch)

Comparing projects/cms/source/ihost/libstatgrab/Makefile (file contents):
Revision 1.1 by tdb, Mon May 13 12:05:22 2002 UTC vs.
Revision 1.2 by tdb, Mon May 13 12:50:52 2002 UTC

# Line 16 | Line 16 | HDRS = statgrab.h
16  
17   LIB = libstatgrab.a
18  
19 < all: ${LIB}
19 > all:
20 >        @echo "Must use one of the following targets :-"
21 >        @echo "  $(MAKE) solaris"
22 >        @echo "  $(MAKE) linux"
23 >        @echo "  $(MAKE) freebsd"
24 >        @echo "  $(MAKE) oldlinux"
25  
26   ${LIB}: ${OBJS}
27          ${MAKE_LIBRARY} $@ ${OBJS}
28  
29 + solaris:
30 +        $(MAKE) ${LIB} DEFS=-DSOLARIS
31 +
32 + linux:
33 +        $(MAKE) ${LIB} DEFS=-DLINUX
34 +
35 + freebsd:
36 +        $(MAKE) ${LIB} DEFS=-DFREEBSD
37 +
38 + oldlinux:
39 +        $(MAKE) ${LIB} DEFS="-DOLDLINUX -DLINUX"
40 +
41   clean:
42          rm -f ${OBJS} ${LIB}
43  
# Line 28 | Line 45 | load_stat.o: load_stat.c ${HDRS}
45          ${CCLINE} load_stat.c
46   disk_stat.o: disk_stat.c ${HDRS}
47          ${CCLINE} disk_stat.c
48 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines