home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume18
/
mq
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-03-05
|
1KB
|
48 lines
# `C' compiler void compatibility
VOID='-DVOID=(void)'
# BSD compatibility
# kelvin.arpa: Celerity C1230/C1260 UNIX 3.4.78
# scubed.arpa: Ultrix V2.0-1
# s3sun.arpa: Sun UNIX 4.2 Release 3.0
# s3dawn.scubed.arpa: Sun UNIX 4.2 Release 3.4
## SysV compatitibilty
## space.scubed.arpa: Ridge 32/3200 running RX/V 1.1 (V.2)
## sdcc15.ucsd.edu: UNIX System V Release 2.1.1v4 AT&T 3B20
#NDIR= -I/usr/local
#LIBNDIR= -L/usr/local/lib -lndir
## if the default set-up for the directory files doesn't work,
## `$man directory' should tell you where the appropriate files are
## located on your system (if they are there at all). Comment out the
## above two lines and adjust $(LIBNDIR) below as well as changing the
## include line in mq.c to the appropriate value.
##LIBNDIR= -L/usr/ucb.lib -lucb
#OS= -DSYSV $(NDIR)
# system mailbox directory (the trailing slash is needed) and
# system mail queue directory (no trailing slash!)
MAIL= '-DMAILDIR="/usr/spool/mail/"' '-DMQUEUE="/usr/spool/mqueue"'
CFLAGS= -O $(OS) $(VOID) $(MAIL)
all: mq from
mq: mq.o
cc -o mq mq.o $(LIBNDIR)
from: from.o
cc -o from from.o
clean: Makefile
@rm -f core mq.o from.o
clobber: clean
@rm -f mq from mq.shar
cleanse: clean shar
@rm -f mq from mq.c from.c mq.8 from.1 README Makefile
shar: Makefile
shar README Makefile mq.c from.c from.1 mq.8 > mq.shar