#	Copyright (c) 1990, 1991, 1992, 1993, 1994 Novell, Inc. All Rights Reserved.
#	Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 Novell, Inc. All Rights Reserved.
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Novell Inc.
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.


#ident	"@(#)lp:lib/oam/Makefile	1.22.2.3"
#ident "$Header: Makefile 1.2 91/04/12 $"
#
# Makefile for LP message management routines
#

include $(CMDRULES)

TOP	=	../..

include ../../common.mk

LOCALINC= -I$(LPINC)

TEXTSRC	= \
		e_adm__msgs.c \
		e_can__msgs.c \
		e_cmb__msgs.c \
		e_dat__msgs.c \
		e_fl__msgs.c \
		e_for__msgs.c \
		e_lp__msgs.c \
		e_lpp__msgs.c \
		e_lpu__msgs.c \
		e_mov__msgs.c \
		e_sch__msgs.c \
		e_sht__msgs.c \
		e_stat__msgs.c \
		e_sys__msgs.c

SRCS	= \
		agettxt.c \
		buffers.c \
		fmtmsg.c \
                outmsg.c \
                retmsg.c \
                vfmtmsg.c \
		skipfmts.c

LINTTXT =	$(TEXTSRC) $(SRCS)

OBJS	=	$(SRCS:.c=.o) $(TEXTSRC:.c=.o)

LIBNAME	=	lpoam

include ../libcommon.mk


clean::	
	$(RM) $(TEXTSRC) $(LPINC)/oam_def.h xx??

$(SRCS:.c=.o):	$(LPINC)/oam_def.h

$(LPINC)/oam_def.h:	msg.source \
			gen-defs \
			gen-text
	sh gen-defs >$(LPINC)/oam_def.h
	sh gen-text

lintlib:	$(LPINC)/oam_def.h

lintit:
