#
#	(C)1992, 1993, 1995 Institute for New Generation Computer Technology
#		ۤ¾COPYRIGHTե򻲾ȤƲ
#		(Read COPYRIGHT for detailed information.)
#
#
#   Kappa Internal Format Makefile
#

KLICSRCS = iformat.kl1 imtgroup.kl1
KLICCS   = iformat.c imtgroup.c
KLICEXTS = iformat.ext imtgroup.ext
KLICOBJS = iformat.o imtgroup.o

KLICMACROSRCS = iformat.mac

CS = ifmt_convifmt.c
HS = ifmt.h
COBJS = ifmt_convifmt.o

GOBJCS = gifmt.c gifmt_funt.mkh
GOBJOBJS = gifmt.o

DMYSRCS = main.kl1 lib.kl1 schema.kl1 shpcre.kl1 \
          shppol.kl1 ifmt_print.c
DMYOBJS = main.o lib.o schema.o shpcre.o shppol.o \
          ifmt_print.o

DIRNAME = tbp/format
DIRNEST = ../..
#					# For TBP

include $(SRCROOTDIR)/include/Makefile.ini

gifmt.o : ifmt.h
ifmt_convifmt.o: ifmt.h $(DIRNEST)/shp/shp.h

#KLIC = klic
#KLICFLAGS += -v  -g

test: $(KLICOBJS) $(COBJS) $(DMYOBJS) $(GOBJOBJS)
	$(KLIC) $(KLICFLAGS) $(KLICOBJS) $(COBJS) $(DMYOBJS) $(GOBJOBJS)

