# Sccs Id = "@(#)Makefile 2.2 %G%";
CGRAF
=/ja
/rigel
/rigel
/bin
/cgraf
OBJS
=aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o \
getname.o head.o v7.local.o lock.o optim.o names.o
lex.o list.o main.o \
quit.o send.o strings.o temp.o tty.o vars.o version.o \
SRCS
=aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
getname.c head.c v7.local.c lock.c optim.c names.c
lex.c list.c main.c \
quit.c send.c strings.c temp.c tty.c vars.c errlst.c
HDRS
=rcv.h def.h glob.h v7.local.h local.h
# Special massaging of C files for sharing of strings
${CC} -E
${CFLAGS} $*.c |
${XSTR} -c
-
$(CC
) -n
-o Mail
$(OBJS
) $(LIBES
)
$(CGRAF
) $(SRCS
) > mail.g
install -s Mail
${DESTDIR}/usr
/ucb
cp Mail.help
* ${DESTDIR}/usr
/lib
cd
${DESTDIR}/usr
/ucb
; rm -f mail
; ln Mail mail
rm -f Mail a.out fmt x.c xs.c
tags core
$(CC
) fmt.c head.c
-o fmt
$(CC
) -R
-c
$(CFLAGS
) cmdtab.c
${CC} -E
${CFLAGS} errlst.c |
${XSTR} -c
-
${CC} ${CFLAGS} -R
-c x.c
# Make the version file. /tmp is always changing.
/bin
/sh version
> version.c
@
$(VPRINT
) makefile rcv.h def.h glob.h local.h v7.local.h
$(SRCS
) fmt.c
;
@wc rcv.h def.h glob.h local.h v7.local.h
$(SRCS
)
@grep
-c \
; rcv.h def.h glob.h local.h v7.local.h
$(SRCS
)