#
# Imakefile for error-table routines
# 
# Copyright 1987 MIT Student Information Processing Board
# For copyright info, see mit-sipb-copyright.h.
#

COMPILE_ET_OBJS	= compile_et.o error_table.o

COMM_ERR_SRCS	= error_message.c et_name.c init_et.c com_err.c # perror.c
COMM_ERR_OBJS	= error_message.o et_name.o init_et.o com_err.o # perror.o

SRCS		= compile_et.c error_message.c et_name.c init_et.c com_err.c

AllTarget(compile_et)
NormalProgramTarget(compile_et, $(COMPILE_ET_OBJS),,, -ll)
CleanFiles(et_lex.lex.c)

GeneralLibraryTarget(com_err, $(COMM_ERR_OBJS))
LintLibraryTarget(com_err, $(COMM_ERR_SRCS))

InstallProgram(compile_et, $(COMPILE_ET))
InstallNonExec(com_err.h, $(UTILINCDIR)/com_err.h)
InstallGeneralLibrary(com_err, $(UTILLIBDIR))

GeneralLibraryObjectRule()

DependTarget()

# Magic dependencies.
error_table.o: et_lex.lex.c
