# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

#	Copyright 1988 Massachusetts Institute of Technology.
#
#	For copying and distribution information, see the file
#	"mit-copyright.h".
#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#
#	$Source: /mit/zephyr/src/config/RCS/Imake.template,v $
#	$Author: raeburn $
#	$Header: /mit/zephyr/src/config/RCS/Imake.template,v 1.6 1991/03/29 03:49:59 raeburn Exp $
#

NEWTOP=../.
BUILDTOP=../.

#	Copyright 1988,1991 Massachusetts Institute of Technology.
#
#	For copying and distribution information, see the file
#	"mit-copyright.h".
#
#	$Source: /afs/athena.mit.edu/astaff/project/zephyr/src/config/RCS/config.Imakefile,v $
#	$Author: lwvanels $
#	$Zephyr: /mit/zephyr/src/config/RCS/config.Imakefile,v 1.31 91/03/29 03:56:07 raeburn Exp $
#

SRCTOP=/afs/athena.mit.edu/astaff/project/zephyr/src

IMAKE=imake -I$(BUILDTOP)/config -TImake.template

DESTDIR=

ATHINCDIR= /usr/athena/include
ETCDIR= /etc
CLIENTDIR= /usr/athena/bin
ETCATHDIR= /etc/athena
USRETCDIR= /usr/athena/etc

LIBDIR= /usr/athena/lib
LINTLIBDIR= /usr/lib/lint
MANDIR=/usr/athena/man
ACLDIR=/usr/athena/lib/zephyr

LINTLIBFLAG=-C

LDSTRIPFLAGS= -x -r

LDPROFSTRIPFLAGS= -X -r

GLOBAL_SYSLIBS=

X_CDEFS= -DX11

X11_LIB=-lX11
XAW_LIB=-lXaw
XT_LIB=-lXt
XMU_LIB=-lXmu

X11_LINTLIB=-lX11
XAW_LINTLIB=-lXaw
XT_LINTLIB=-lXt
XMU_LINTLIB=-lXmu

KRB_CDEFS=-DKERBEROS
KRB_LIB=-lkrb
KRB_LINTLIB=-lkrb
DES_LIB=-ldes
DES_LINTLIB=-ldes

HES_CDEFS=-DHESIOD
HES_LIB=-lhesiod
HES_LINTLIB=-lhesiod

GLOBAL_CDEFS = $(KRB_CDEFS) $(HES_CDEFS) $(X_CDEFS) $(X2_CDEFS) \
	  # foo

SS_LIB=-lss
SS_LINTLIB=-lss
COMERR_LIB=-lcom_err
COMERR_LINTLIB=-lcom_err
COMPILE_ET=compile_et
MAKE_COMMANDS=mk_cmds

DEPEND=makedepend

ARCHIVE= ar cru

RANLIB= ranlib

INSTALLFILE= install -c -m 444

INSTALLLIB= install -c -m 444

INSTALLPROG= install -c -s -m 555

INSTALLSCRIPT= install -c -m 555

INSTALLRAW= install

INSTALLSUID= install -c -m 4555 -o root

LD=ld

AS=as

LINT=lint

CC=gcc -pipe

DBG=-O -g -finline-functions

HCC=$(CC)

CPP=$(CC) -E

LDFLAGS =  -L/usr/athena/lib -L/usr/athena/X11/lib

HCFLAGS=$(CFLAGS)

TAGGER=etags -t

MAKE=make
RM=rm -f
MV=mv

CP=cp -p

LN=ln -s
LPR=lpr -p
CHMOD=chmod

INCLUDE= $(LINCLUDES) -I$(BUILDTOP)/include -I$(ATHINCDIR)

CFLAGS=$(DBG) $(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)

LINTFLAGS=  $(LLINTFLAGS) $(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)

#	Copyright 1988,1991 Massachusetts Institute of Technology.
#
#	For copying and distribution information, see the file
#	"mit-copyright.h".
#
#	$Source: /mit/zephyr/src/config/RCS/Imake.rules,v $
#	$Author: lwvanels $
#	$Zephyr: /mit/zephyr/src/config/RCS/Imake.rules,v 1.26 91/03/21 12:08:36 raeburn Exp $
#

.SUFFIXES: .o .s .c .C

ZEPHYR_LIB=$(BUILDTOP)/libs/libzephyr.a
ZEPHYR_LINTLIB=$(BUILDTOP)/libs/llib-lzephyr.ln
DYN_LIB=$(BUILDTOP)/libs/libdyn.a
DYN_LINTLIB=$(BUILDTOP)/libs/llib-ldyn.ln

#	Copyright 1988 Massachusetts Institute of Technology.
#
#	For copying and distribution information, see the file
#	"mit-copyright.h".
#
#	$Source: /mit/zephyr/src/man/RCS/Imakefile,v $
#	$Author: jtkohl $
#	$Header: Imakefile,v 1.2 89/03/23 11:53:33 jtkohl Exp $
#

SRCDIR= ${SRCTOP}/man
CODE= Imakefile

SUBDIRS= man1 man8

all::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" all "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all ; \
	echo "### Done with" `pwd`); \
	done

install::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" install "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) install ; \
	echo "### Done with" `pwd`); \
	done

clean::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" clean "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) clean ; \
	echo "### Done with" `pwd`); \
	done

depend::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" depend "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) depend ; \
	echo "### Done with" `pwd`); \
	done

tags::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" tags "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) tags ; \
	echo "### Done with" `pwd`); \
	done

print::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" print "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) print ; \
	echo "### Done with" `pwd`); \
	done

src::
	@for d in  $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making" src "in" `pwd`; \
	$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) src ; \
	echo "### Done with" `pwd`); \
	done

Makefiles::
	@echo "### Making Makefiles in" `pwd`
	@for d in $(SUBDIRS); \
	do \
	(set -e;cd $$d; echo "### Making Makefile in" `pwd`; \
	$(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
	NEWTOP=../$(BUILDTOP) \
	BUILDTOP=../$(BUILDTOP) \
	-f ../Makefile \
	Makefile; \
	$(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
	NEWTOP=../$(BUILDTOP) \
	Makefiles; \
	echo "### Done with" `pwd`); \
	done

depend:: $(CODE)
	@echo "### Now computing dependencies"
	@$(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)

clean::
	$(RM) *~ \#* *.bak $(TAGSFILE)

tags::
	$(TAGGER) *.c *.h

Makefile::
	$(IMAKE) -DNEW_TOP=$(NEWTOP) -s Makefile.new
	-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
	$(MV) Makefile.new Makefile

print:: $(CODE)
	$(LPR) $(CODE)

src:: ${CODE}
	touch src

${CODE}:
	$(RM) $@
	-$(LN) ${SRCDIR}/$@ $@

install::

Makefiles::

# DO NOT DELETE THIS LINE

