home *** CD-ROM | disk | FTP | other *** search
-
- #
- # $Header: Beta:src/uucp/src/dmail/RCS/DMakefile,v 1.1 90/02/02 12:03:27 dillon Exp Locker: dillon $
- #
- # Written by Matthew Dillon
- #
- # (C)Copyright 1986-89 by Matthew Dillon
- #
- # This code is completely original. I declare this code to be public
- # domain. You may redistribute this code as long as any those
- # redistributions contain this and all other files in their entirety.
- #
- # Ports: Anybody may port this code to any machine or OS they wish, of
- # course. If you do make a port, I would be grateful if you mailed
- # a letter with: (A) OS you ported it too, and (B) version ported,
- # so I may inform people who have mailed me wondering about ports
- # who to contact.
- #
- # Send bug reports and other gripes to:
- #
- # dillon@ucbvax.berkeley.edu ARPA NET
- # ..!ihnp4!ucbvax!dillon USENET
- #
- # INSTRUCTIONS FOR COMPILING:
- #
- # (1) Set DESTDIR & HELP_DIR to some global directory accessable to
- # everybody (or whatever). Also set HELP_CHMOD and PROG_CHMOD
- # to the right thing if you don't like the defaults.
-
- OD= dtmp:uucp/dmail/
- EXE= uucp:c/dmail
- CFLAGS= -I uucp:src/include/
-
- LIBS= dtmp:uucp/lib/uucp.lib
-
- SRCS= globals.c main.c do_lists.c sub.c execom.c commands.c \
- range.c load_mail.c sendmail.c set.c help.c cond.c compat.c
-
- OBJS= $(SRCS:"*.c":"$(OD)*.o")
- LOBJS= $(SRCS:"*.c":"*.o")
-
- $(EXE): $(OBJS)
- cd $(OD)
- dcc $(LOBJS) $(LIBS) -o %(left) -s -r
- cd
-
- $(OBJS) : $(SRCS)
- dcc $(CFLAGS) %(right) -o %(left) -c -r
-
-