home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-03-09 | 927 b | 42 lines |
- # Needs to be setuid root so that msg save files can be made and chown'd.
- # Needs to be setgid tty so that we can write to ttys in /dev
-
- BINDIR = /software/users/bin
- MANDIR = /software/users/man
-
- NAME = msg
- OWNER=root
- GROUP=tty
- MODE=6555
- CFLAGS= -I../Include $(DBX)
-
- OBJECT = msg.o remote.o deliver.o misc.o errtext.o savemsg.o answerback.o
-
- all: $(NAME)
-
- $(NAME): $(OBJECT)
- cc -o $(NAME) $(OBJECT)
-
- install: $(NAME)
- install -s -o $(OWNER) -g $(GROUP) -m $(MODE) $(NAME) $(BINDIR)/$(NAME)
-
- clean:
- rm -f a.out core *.o $(NAME)
-
- $(OBJECT): ../Include/msg.h ../Include/msgoptions.h
-
- answerback.o: ../Common/answerback.c
- cc $(CFLAGS) -c ../Common/answerback.c
-
- deliver.o: ../Common/deliver.c
- cc $(CFLAGS) -c ../Common/deliver.c
-
- errtext.o: ../Common/errtext.c
- cc $(CFLAGS) -c ../Common/errtext.c
-
- misc.o: ../Common/misc.c
- cc $(CFLAGS) -c ../Common/misc.c
-
- savemsg.o: ../Common/savemsg.c
- cc $(CFLAGS) -c ../Common/savemsg.c
-