| 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: IPOPD client 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: [email protected] |
| 23 | # |
| 24 | # Date: 28 October 1990 |
| 25 | # Last Edited: 30 August 2006 |
| 26 | |
| 27 | |
| 28 | C = ../c-client |
| 29 | CCLIENTLIB = $C/c-client.a |
| 30 | SHELL = /bin/sh |
| 31 | |
| 32 | # Get local definitions from c-client directory |
| 33 | |
| 34 | CC = `cat $C/CCTYPE` |
| 35 | CFLAGS = -I$C `cat $C/CFLAGS` |
| 36 | LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` |
| 37 | |
| 38 | ipopd: ipop2d ipop3d |
| 39 | |
| 40 | ipop2d: $(CCLIENTLIB) ipop2d.o |
| 41 | $(CC) $(CFLAGS) -o ipop2d ipop2d.o $(LDFLAGS) |
| 42 | |
| 43 | ipop3d: $(CCLIENTLIB) ipop3d.o |
| 44 | $(CC) $(CFLAGS) -o ipop3d ipop3d.o $(LDFLAGS) |
| 45 | |
| 46 | ipop2d.o: $C/mail.h $C/misc.h $C/osdep.h |
| 47 | |
| 48 | ipop3d.o: $C/mail.h $C/misc.h $C/osdep.h |
| 49 | |
| 50 | $(CCLIENTLIB): |
| 51 | cd $C;make |
| 52 | |
| 53 | clean: |
| 54 | rm -f *.o ipop2d ipop3d || true |
| 55 | |
| 56 | # A monument to a hack of long ago and far away... |
| 57 | love: |
| 58 | @echo 'not war?' |