#
# Project Athena User Consulting Group
# Copyright (C) 1987 Massachusetts Institute of Technology
#

# NOTE: This Makefile was generated by premake.  Do not edit it directly!
#	Edit the Premakefile and then re-run premake.

#
# Premakefile template by John E Elsbree, MIT Project Athena, 22 November 1987
#
# Component name:  zprstat
#

#
# Subdirectories that have Makefiles of their own:
#

SUBDIR	=	

#
# Names of scripts, binaries, library files, and manual pages:
#

SCRIPT	=	
BINARY	=	zprstat
LIBFILE	=	all.printers
MANPAGE	=	zprstat.1

#
# Subdirectory of lib where library files should be installed:
#

LIBDIR	=	zprstat

#
# Dependencies and instructions for making binary files:
#

CFLAGS=	-g -I/usr/athena/include

DAEMON=		zprstatd
DAEMON_OBJS=	zprstatd.o Prntr.o Pstat.o Notice.o Lpq.o substr.o
DAEMON_LIBS=	-L/usr/athena/lib -lhesiod -lzephyr -lkrb -ldes -lcom_err

CLIENT=		zprstat
CLIENT_OBJS=	zprstat.o Prntr.o Pstat.o Notice.o Window.o substr.o
CLIENT_LIBS=	-L/usr/athena/lib -lhesiod -lzephyr -lkrb -ldes -lcom_err -lXaw -lXt -lXmu -lX11


all: $(DAEMON) $(CLIENT)

$(DAEMON):	$(DAEMON_OBJS)
	$(CC) $(LDFLAGS) -o $(DAEMON) $(DAEMON_OBJS) $(DAEMON_LIBS)

$(CLIENT):	$(CLIENT_OBJS)
	$(CC) $(LDFLAGS) -o $(CLIENT) $(CLIENT_OBJS) $(CLIENT_LIBS)


zprstatd.o:	common.h zprstat.h Prntr.h Pstat.h Lpq.h Notice.h
zprstat.o:	common.h zprstat.h Prntr.h Pstat.h Lpq.h Notice.h Window.h
Prntr.o:	common.h zprstat.h Prntr.h Pstat.h substr.h
Pstat.o:	Pstat.h
Notice.o:	common.h zprstat.h Notice.h
Lpq.o:		common.h zprstat.h Lpq.h Prntr.h Pstat.h substr.h
Window.o:	common.h zprstat.h Window.h Prntr.h Pstat.h
substr.o:	


## Nothing below this line should need to be changed! #########################

#
# Standard commands:
#

RM	=	/bin/rm
MKDIR	=	/bin/mkdir
LN	=	/bin/ln
INSTALL	=	/usr/bin/install
MACHTYPE=	/bin/athena/machtype
SED	=	/bin/sed
PREMAKE	=	/mit/consult/bin/premake

#
# Directory names:
#

DESTDIR	=
TOPDIR	=	${DESTDIR}/mit/consult
BIN	=	${TOPDIR}/bin
VAXBIN	=	${TOPDIR}/vaxbin
RTBIN	=	${TOPDIR}/rtbin
LIB	=	${TOPDIR}/lib
MAN	=	${TOPDIR}/man

#
# Standard make targets (clean, all, install, makefile):
#

clean:	clean_SUBDIR clean_SCRIPT clean_BINARY clean_LIBDIR \
	clean_LIBFILE clean_MANPAGE
	${RM} -f *~

all:	all_SUBDIR all_SCRIPT all_BINARY all_LIBDIR \
	all_LIBFILE all_MANPAGE

install: install_SUBDIR install_SCRIPT install_BINARY install_LIBDIR \
	install_LIBFILE install_MANPAGE

makefile: makefile_SUBDIR
	${PREMAKE}

clean_SUBDIR:
all_SUBDIR:
install_SUBDIR:
makefile_SUBDIR:

clean_SCRIPT:
all_SCRIPT:
install_SCRIPT:
makefile_SCRIPT:

clean_BINARY:
	${RM} -f ${BINARY} *.o core

all_BINARY: ${BINARY}

install_BINARY:
	bindir=${TOPDIR}/`${MACHTYPE}`bin; \
	for i in ${BINARY}; do \
	    ${INSTALL} -c -m 755 $$i $${bindir}/$$i; \
	done

clean_LIBDIR:

all_LIBDIR:

install_LIBDIR:
	${RM} -rf ${LIB}/${LIBDIR}; ${MKDIR} ${LIB}/${LIBDIR};

clean_LIBFILE:

all_LIBFILE:

install_LIBFILE:
	for i in ${LIBFILE}; do \
	    ${INSTALL} -c -m 644 $$i ${LIB}/${LIBDIR}/$$i; \
	done

clean_MANPAGE:

all_MANPAGE:

install_MANPAGE:
	for i in ${MANPAGE}; do \
	    (section=`echo $$i | ${SED} 's/[A-Za-z0-9_\-]*\.//'`; \
	    ${INSTALL} -c -m 644 $$i ${MAN}/man$${section}/$$i); \
	done

# DO NOT DELETE THIS LINE -- make depend depends on it.

Lpq.o: Lpq.c /usr/include/sys/types.h /usr/include/sys/machtypes.h
Lpq.o: /usr/include/setjmp.h /usr/include/stdio.h /usr/include/sys/socket.h
Lpq.o: /usr/include/sys/netconfig.h /usr/include/netinet/in.h
Lpq.o: /usr/include/sys/stream.h /usr/include/sys/vnode.h
Lpq.o: /usr/include/sys/t_lock.h /usr/include/sys/machlock.h
Lpq.o: /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h
Lpq.o: /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h
Lpq.o: /usr/include/sys/param.h /usr/include/sys/unistd.h
Lpq.o: /usr/include/sys/pirec.h /usr/include/sys/mutex.h
Lpq.o: /usr/include/sys/time.h /usr/include/sys/cred.h /usr/include/sys/uio.h
Lpq.o: /usr/include/sys/poll.h /usr/include/sys/strmdep.h
Lpq.o: /usr/include/sys/byteorder.h /usr/include/signal.h
Lpq.o: /usr/include/sys/signal.h /usr/include/errno.h
Lpq.o: /usr/include/sys/errno.h /usr/athena/include/strings.h
Lpq.o: /usr/include/string.h common.h zprstat.h Lpq.h Prntr.h Pstat.h
Lpq.o: substr.h
Notice.o: Notice.c common.h zprstat.h Notice.h /usr/athena/include/strings.h
Notice.o: /usr/include/string.h /usr/athena/include/zephyr/zephyr.h
Notice.o: /usr/athena/include/zephyr/zephyr_err.h
Notice.o: /usr/athena/include/zephyr/zephyr_conf.h
Notice.o: /usr/athena/include/zephyr/mit-copyright.h
Notice.o: /usr/athena/include/zephyr/zephyr_paths.h /usr/include/errno.h
Notice.o: /usr/include/sys/errno.h /usr/include/sys/types.h
Notice.o: /usr/include/sys/machtypes.h /usr/include/sys/time.h
Notice.o: /usr/include/stdio.h /usr/gcc/include/varargs.h
Notice.o: /usr/athena/include/krb.h /usr/athena/include/mit-copyright.h
Notice.o: /usr/athena/include/des.h /usr/include/netinet/in.h
Notice.o: /usr/include/sys/stream.h /usr/include/sys/vnode.h
Notice.o: /usr/include/sys/t_lock.h /usr/include/sys/machlock.h
Notice.o: /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h
Notice.o: /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h
Notice.o: /usr/include/sys/param.h /usr/include/sys/unistd.h
Notice.o: /usr/include/sys/pirec.h /usr/include/sys/mutex.h
Notice.o: /usr/include/sys/cred.h /usr/include/sys/uio.h
Notice.o: /usr/include/sys/poll.h /usr/include/sys/strmdep.h
Notice.o: /usr/include/sys/byteorder.h
Prntr.o: Prntr.c /usr/include/stdio.h /usr/athena/include/strings.h
Prntr.o: /usr/include/string.h /usr/include/sys/types.h
Prntr.o: /usr/include/sys/machtypes.h /usr/include/netinet/in.h
Prntr.o: /usr/include/sys/stream.h /usr/include/sys/vnode.h
Prntr.o: /usr/include/sys/t_lock.h /usr/include/sys/machlock.h
Prntr.o: /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h
Prntr.o: /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h
Prntr.o: /usr/include/sys/param.h /usr/include/sys/unistd.h
Prntr.o: /usr/include/sys/pirec.h /usr/include/sys/mutex.h
Prntr.o: /usr/include/sys/time.h /usr/include/sys/cred.h
Prntr.o: /usr/include/sys/uio.h /usr/include/sys/poll.h
Prntr.o: /usr/include/sys/strmdep.h /usr/include/sys/byteorder.h
Prntr.o: /usr/include/netdb.h common.h zprstat.h Prntr.h Pstat.h substr.h
Pstat.o: Pstat.c Pstat.h
Window.o: Window.c common.h zprstat.h Window.h Prntr.h Pstat.h
Window.o: /usr/athena/include/strings.h /usr/include/string.h
Window.o: /usr/athena/include/X11/Intrinsic.h /usr/athena/include/X11/Xlib.h
Window.o: /usr/include/sys/types.h /usr/include/sys/machtypes.h
Window.o: /usr/athena/include/X11/X.h /usr/athena/include/X11/Xutil.h
Window.o: /usr/athena/include/X11/Xresource.h /usr/athena/include/X11/Xos.h
Window.o: /usr/include/sys/file.h /usr/include/sys/t_lock.h
Window.o: /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h
Window.o: /usr/include/sys/dl.h /usr/include/sys/sleepq.h
Window.o: /usr/include/sys/turnstile.h /usr/include/sys/param.h
Window.o: /usr/include/sys/unistd.h /usr/include/sys/pirec.h
Window.o: /usr/include/sys/mutex.h /usr/include/sys/time.h
Window.o: /usr/athena/include/X11/Core.h /usr/athena/include/X11/Composite.h
Window.o: /usr/athena/include/X11/Constraint.h
Window.o: /usr/athena/include/X11/Object.h /usr/athena/include/X11/RectObj.h
Window.o: /usr/athena/include/X11/StringDefs.h
Window.o: /usr/athena/include/X11/Xaw/Label.h
Window.o: /usr/athena/include/X11/Xaw/Simple.h
Window.o: /usr/athena/include/X11/Xmu/Converters.h
Window.o: /usr/athena/include/X11/Xaw/Form.h
Window.o: /usr/athena/include/X11/Xaw/Paned.h
Window.o: /usr/athena/include/X11/Xaw/Viewport.h
Window.o: /usr/athena/include/X11/Xaw/Reports.h
substr.o: substr.c
zprstat.o: zprstat.c /usr/include/stdio.h common.h /usr/include/sys/types.h
zprstat.o: /usr/include/sys/machtypes.h /usr/athena/include/X11/Intrinsic.h
zprstat.o: /usr/athena/include/X11/Xlib.h /usr/athena/include/X11/X.h
zprstat.o: /usr/athena/include/X11/Xutil.h
zprstat.o: /usr/athena/include/X11/Xresource.h /usr/athena/include/X11/Xos.h
zprstat.o: /usr/athena/include/strings.h /usr/include/string.h
zprstat.o: /usr/include/sys/file.h /usr/include/sys/t_lock.h
zprstat.o: /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h
zprstat.o: /usr/include/sys/dl.h /usr/include/sys/sleepq.h
zprstat.o: /usr/include/sys/turnstile.h /usr/include/sys/param.h
zprstat.o: /usr/include/sys/unistd.h /usr/include/sys/pirec.h
zprstat.o: /usr/include/sys/mutex.h /usr/include/sys/time.h
zprstat.o: /usr/athena/include/X11/Core.h /usr/athena/include/X11/Composite.h
zprstat.o: /usr/athena/include/X11/Constraint.h
zprstat.o: /usr/athena/include/X11/Object.h /usr/athena/include/X11/RectObj.h
zprstat.o: /usr/athena/include/zephyr/zephyr.h
zprstat.o: /usr/athena/include/zephyr/zephyr_err.h
zprstat.o: /usr/athena/include/zephyr/zephyr_conf.h
zprstat.o: /usr/athena/include/zephyr/mit-copyright.h
zprstat.o: /usr/athena/include/zephyr/zephyr_paths.h /usr/include/errno.h
zprstat.o: /usr/include/sys/errno.h /usr/gcc/include/varargs.h
zprstat.o: /usr/athena/include/krb.h /usr/athena/include/mit-copyright.h
zprstat.o: /usr/athena/include/des.h /usr/include/netinet/in.h
zprstat.o: /usr/include/sys/stream.h /usr/include/sys/vnode.h
zprstat.o: /usr/include/sys/cred.h /usr/include/sys/uio.h
zprstat.o: /usr/include/sys/poll.h /usr/include/sys/strmdep.h
zprstat.o: /usr/include/sys/byteorder.h zprstat.h Prntr.h Pstat.h Notice.h
zprstat.o: Window.h
