source: gpfs_3.1_ker2.6.20/lpp/mmfs/samples/util/makefile @ 148

Last change on this file since 148 was 16, checked in by rock, 17 years ago
  • Property svn:executable set to *
File size: 855 bytes
Line 
1# Makefile for utilities.
2
3LIB = -lgpfs
4
5
6CC = cc
7CC_R = cc
8CXX = c++
9GPFS_TYPE = GPFS_LINUX
10
11
12CFLAGS = -O -D$(GPFS_TYPE)
13
14PROGS = tsinode tsgetusage tsfindinode tsbackup tsreaddir tstimes
15
16all: $(PROGS)
17
18clean:
19  rm -f $(PROGS)
20
21tsfindinode: tsfindinode.c
22  $(CC_R) -o tsfindinode $(CFLAGS) -lpthread $(LIB) $(OTHERINCL) $(OTHERLIB) tsfindinode.c
23
24tsbackup: tsbackup.C tsbackup.h
25  $(CXX) -o tsbackup $(CFLAGS) -lpthread $(LIB) $(OTHERINCL) $(OTHERLIB) tsbackup.C
26
27tsgetusage: tsgetusage.c
28  $(CC) -o tsgetusage $(CFLAGS) $(LIB) $(OTHERINCL) $(OTHERLIB) tsgetusage.c
29
30tsinode: tsinode.c
31  $(CC) -o tsinode $(CFLAGS) $(LIB) $(OTHERINCL) $(OTHERLIB) tsinode.c
32
33tsreaddir: tsreaddir.c
34  $(CC_R) -o tsreaddir $(CFLAGS) -lpthread $(LIB) $(OTHERINCL) $(OTHERLIB) tsreaddir.c
35
36tstimes: tstimes.c
37  $(CC) -o tstimes $(CFLAGS) $(LIB) $(OTHERINCL) $(OTHERLIB) tstimes.c
38
Note: See TracBrowser for help on using the repository browser.