XCOMM $XConsortium: Imakefile /main/6 1996/11/29 11:06:09 rswiston $

XLATESRC  = $(DTSVCSRC)/DtUtil2

TCLINC =
TCLLIB = -ltcl

#if defined(LinuxArchitecture)
TCLINC = -I/usr/include/tcl
#if DefaultLinuxDistribution == LinuxSuSE
TCLLIB = -ltcl8.6
#endif

#elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
TCLINC = -I/usr/local/include/tcl8.6
TCLLIB = -ltcl86
#elif defined(NetBSDArchitecture)
TCLINC = -I/usr/pkg/include/tcl
TCLLIB = -ltcl86
#endif

#if defined(TCLInc)
TCLINC = TCLInc
#endif
#if defined(TCLLib)
TCLLIB = TCLLib
#endif


INCLUDES = -I../lib/tptregexp -I$(XLATESRC) $(TCLINC)
DEPLIBS = $(DEPDTSVCLIB)
LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) \
	-L../lib/tptregexp -ltptregexp $(TCLLIB)

#if defined(SunArchitecture)
EXTRA_LIBRARIES = -lsocket -lnsl -lgen -lm
#else
EXTRA_LIBRARIES = -lm
#endif

OBJS = main.o util.o info.o translate.o traninit.o tranvar.o tables.o browse.o
SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c browse.c

ComplexProgramTarget(instant)
