#include <XView.tmpl> 

#if SharedLibXView
#define DoSharedLib YES
#endif
#include <Library.tmpl>

/**/###########################################################################
/**/# @(#)Imakefile	1.12 28 Jun 1993 SMI

#ifndef SubdirHasTextObjs
#define SubdirHasTextObjs YES
#endif
#ifndef SubdirHasDataObjs 
#define SubdirHasDataObjs YES
#endif
#ifndef SubdirHasPublicHeaders
#define SubdirHasPublicHeaders YES
#endif
#ifndef SubdirHasPrivateHeaders 
#define SubdirHasPrivateHeaders YES 
#endif
#ifndef SubdirHasNonExecFiles
#define SubdirHasNonExecFiles YES
#endif

NON_EXECS = .text_extras_menu .textswrc

#if RedefineTextExtrasMenu
DEFINES = $(LOCALE_DEFINES) $(MMAP_DEFINES) $(XV_ALLOC_DEFINES) $(XV_STRDUP_DEFINES) -DEXTRASMENU="\"$(TEXT_EXTRAS_MENU)\""
#else
DEFINES = $(LOCALE_DEFINES) $(MMAP_DEFINES) $(XV_ALLOC_DEFINES) $(XV_STRDUP_DEFINES)
#endif

CFILES.textsw.4        = txt_cb.c convpos.c
CFILES.textsw.3        =

OFILES.textsw.3	= ${CFILES.textsw.3:%.c=%.o}
OFILES.textsw.4	= ${CFILES.textsw.4:%.c=%.o}

HFILES.textsw.4        = convpos.h
HFILES.textsw.3        =


HDRSPRIVATE=    ei.h es.h ev.h ev_impl.h primal.h ps_impl.h\
		finger_tbl.h txt_impl.h txt_18impl.h ${HFILES.textsw.XvI18nLevel}
HDRSPUBLIC=     textsw.h text.h

DATA_OBJS = txt_data.o

TEXT_OBJS =\
	es_file.o      es_mem.o       es_util.o     es_attr.o    \
	ps_impl.o						 \
	ev_display.o   ev_op_bdry.o   ev_edit.o     ev_once.o    \
	ev_attr.o      ev_field.o     ev_update.o		 \
	es_cp_file.o   ei_text.o      ei_attr.o     finger_tbl.o \
	txt_once.o     txt_input.o    txt_edit.o   \
	txt_menu.o     txt_disp.o     txt_event.o   txt_find.o   \
	txt_file.o     txt_sel.o      txt_selsvc.o  txt_again.o  \
	txt_getkey.o   txt_putkey.o   txt_filter.o  text.o       \
	txt_attr.o     txt_dbx.o      txt_tool.o    txt_scroll.o \
	txt_field.o    txt_caret.o    txt_search.o  txt_e_menu.o \
	txt_move.o     txt_view.o     txt_popup.o   txt_store.o  \
	txt_match.o    txt_load.o     txt_line.o    txt_incl.o	\
	${OFILES.textsw.XvI18nLevel}

SRCS =\
	es_file.c      es_mem.c       es_util.c     es_attr.c    \
	ps_impl.c						 \
	ev_display.c   ev_op_bdry.c   ev_edit.c     ev_once.c    \
	ev_attr.c      ev_field.c     ev_update.c		 \
	es_cp_file.c   ei_text.c      ei_attr.c     finger_tbl.c \
	txt_data.c     txt_once.c     txt_input.c   txt_edit.c   \
	txt_menu.c     txt_disp.c     txt_event.c   txt_find.c   \
	txt_file.c     txt_sel.c      txt_selsvc.c  txt_again.c  \
	txt_getkey.c   txt_putkey.c   txt_filter.c  text.c       \
	txt_attr.c     txt_dbx.c      txt_tool.c    txt_scroll.c \
	txt_field.c    txt_caret.c    txt_search.c  txt_e_menu.c \
	txt_move.c     txt_view.c     txt_popup.c   txt_store.c  \
	txt_match.c    txt_load.c     txt_line.c    txt_incl.c \
	${CFILES.textsw.XvI18nLevel}



LIBTARGET = xview


TARGETDIR = ../../lib${LIBTARGET}/
SOREV = $(SOXVIEWREV)

#include <XView.obj>
