| 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: MLOCK 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: 8 February 1999 |
| 25 | # Last Edited: 30 August 2006 |
| 26 | |
| 27 | |
| 28 | C = ../c-client |
| 29 | SHELL = /bin/sh |
| 30 | |
| 31 | # Get local definitions from c-client directory |
| 32 | |
| 33 | CC = `cat $C/CCTYPE` |
| 34 | CFLAGS = `cat $C/CFLAGS` |
| 35 | |
| 36 | all: mlock |
| 37 | |
| 38 | mlock: mlock.o |
| 39 | $(CC) $(CFLAGS) -o mlock mlock.o |
| 40 | |
| 41 | install: mlock |
| 42 | chgrp mail mlock |
| 43 | chmod 3711 mlock |
| 44 | cp -p mlock /etc/mlock |
| 45 | |
| 46 | clean: |
| 47 | rm -f *.o mlock || true |
| 48 | |
| 49 | # A monument to a hack of long ago and far away... |
| 50 | love: |
| 51 | @echo 'not war?' |