#
# top level Imakefile for xlps
#
#

#define IHaveSubdirs
#if SunOSPlatform == YES
SUNCDEBUGFLAGS=	-pipe
#endif
CDEBUGFLAGS=	-g $(SUNCDEBUGFLAGS)
#if SystemV == YES
CCOPTIONS=	-float -cckr
#endif
XVERSION=	R5
PROTO_DEFINES=	-D$(XVERSION)

#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

PROGRAMS=	libmine.a

SRCS6= printcap.c common.c strstr.c dspstatus.c key.c
OBJS6= printcap.o common.o strstr.o dspstatus.o key.o

SRCS = $(SRCS6)
OBJS = $(OBJS6)

AllTarget($(PROGRAMS))

clean:: 
	RemoveTargetProgram($(PROGRAMS))

DependTarget()

NormalLibraryTarget(mine, $(OBJS6))

SUBDIRS = xlps editprintcap lpsd lpmv shmem

all:: MakeMakeSubdirs($(SUBDIRS),AllMakefiles)
DependSubdirs($(SUBDIRS))

MakeSubdirs($(SUBDIRS))

tar_xlps::
	tar cf ../xlps.tar *
