|
Lines 31-49
Link Here
|
| 31 |
|
31 |
|
| 32 |
# Get local definitions from c-client directory |
32 |
# Get local definitions from c-client directory |
| 33 |
|
33 |
|
| 34 |
CC = `cat $C/CCTYPE` |
34 |
CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client |
| 35 |
CFLAGS = -I$C `cat $C/CFLAGS` |
35 |
LDFLAGS+= -L$(LOCALBASE)/lib -lc-client4 |
| 36 |
LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` |
|
|
| 37 |
|
36 |
|
| 38 |
tmail: $(CCLIENTLIB) tmail.o tquota.o |
37 |
tmail: tmail.o tquota.o |
| 39 |
$(CC) $(CFLAGS) -o tmail tmail.o tquota.o $(LDFLAGS) |
38 |
$(CC) $(CFLAGS) -o tmail tmail.o tquota.o $(LDFLAGS) |
| 40 |
|
39 |
|
| 41 |
tmail.o: $C/mail.h $C/misc.h $C/osdep.h tquota.h |
|
|
| 42 |
|
| 43 |
tquota.o: tquota.h |
40 |
tquota.o: tquota.h |
| 44 |
|
41 |
$(CC) $(CFLAGS) -c -o tquota.o tquota.c $(LDFLAGS) |
| 45 |
$(CCLIENTLIB): |
|
|
| 46 |
cd $C;make |
| 47 |
|
42 |
|
| 48 |
clean: |
43 |
clean: |
| 49 |
rm -f *.o tmail |
44 |
rm -f *.o tmail |