Files
cdesktop/cde/programs/dtdocbook/instant/Imakefile
Matthew R. Trower 012862e8ee Add default TCLLIB, and allow override in host.def
Restores build on Sun, and maybe others.
2018-10-25 11:43:43 -06:00

38 lines
893 B
Plaintext

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
#elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
TCLINC = -I/usr/local/include/tcl8.6
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)