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