1# ========================================================================
2# Copyright 1988-2006 University of Washington
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#     http://www.apache.org/licenses/LICENSE-2.0
9#
10#
11# ========================================================================
12
13
14# Program:	tmail Makefile
15#
16# Author:	Mark Crispin
17#		Networks and Distributed Computing
18#		Computing & Communications
19#		University of Washington
20#		Administration Building, AG-44
21#		Seattle, WA  98195
22#		Internet: MRC@CAC.Washington.EDU
23#
24# Date:		5 April 1993
25# Last Edited:	10 September 2007
26
27
28C = ../c-client
29CCLIENTLIB = $C/c-client.a
30SHELL = /bin/sh
31
32# Get local definitions from c-client directory
33
34CC = `cat $C/CCTYPE`
35CFLAGS = -I$C `cat $C/CFLAGS`
36LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
37
38tmail: $(CCLIENTLIB) tmail.o tquota.o
39	$(CC) $(CFLAGS) -o tmail tmail.o tquota.o $(LDFLAGS)
40
41tmail.o: $C/mail.h $C/misc.h $C/osdep.h tquota.h
42
43tquota.o: tquota.h
44
45$(CCLIENTLIB):
46	cd $C;make
47
48clean:
49	rm -f *.o tmail
50
51# A monument to a hack of long ago and far away...
52love:
53	@echo 'not war?'
54