blob: e011d9ebe3668fe64d02e75a4ceda77b5da7408c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- src/tmail/Makefile.orig 2022-04-17 00:12:02 UTC
+++ src/tmail/Makefile
@@ -31,19 +31,11 @@ SHELL = /bin/sh
# Get local definitions from c-client directory
-CC = `cat $C/CCTYPE`
-CFLAGS = -I$C `cat $C/CFLAGS`
-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
+CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client
+LDFLAGS+= -L$(LOCALBASE)/lib -lc-client
-tmail: $(CCLIENTLIB) tmail.o tquota.o
+tmail: tmail.o tquota.o
$(CC) $(CFLAGS) -o tmail tmail.o tquota.o $(LDFLAGS)
-
-tmail.o: $C/mail.h $C/misc.h $C/osdep.h tquota.h
-
-tquota.o: tquota.h
-
-$(CCLIENTLIB):
- cd $C;make
clean:
rm -f *.o tmail
|