# $Header: Makefile,v 10.1 86/11/29 13:54:07 jg Rel $
# $Header: Makefile,v 10.1 86/11/29 13:54:07 jg Rel $
# Copyright 1985, Massachusetts Institute of Technology
# Copyright (c) 1986 by Sun Microsystems, Inc.
# @(#)Makefile 2.1 86/01/28
CFLAGS
= ${OFLAG} ${INCPATH}
SRCS
= bitpix.c copy.c cursor.c draw.c fill.c font.c\
maps.c packet.c put.c text.c textutil.c tile.c util.c\
events.c initial.c maps.c prim.c
OBJS
= bitpix.o copy.o cursor.o draw.o fill.o font.o\
put.o text.o textutil.o tile.o util.o\
events.o initial.o maps.o prim.o
font.o
: vssite.h ..
/libvs100
/param.h
${OBJS}: Xapollo.h ..
/X
/X.h ..
/X
/vsinput.h ..
/X
/Xdev.h
# as this library is private to X, we should do nothing on install.
rm -f ERRS
*.o libapollo.a
*~
# This make depend entry will only work with newer C compiler than 4.2
cc -M
${INCPATH} ${SRCS} | \
awk
' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
else rec = rec " " $$2 } } \
END { print rec } ' > makedep
echo
'/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
echo
'$$r makedep' >>eddep
echo
'# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
echo
'# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
echo
'# see make depend above' >> Makefile
# DO NOT DELETE THIS LINE -- make depend uses it