Imakefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. XCOMM $XConsortium: Imakefile /main/6 1996/11/29 11:06:09 rswiston $
  2. XLATESRC = $(DTSVCSRC)/DtUtil2
  3. TCLINC =
  4. TCLLIB = -ltcl
  5. #if defined(LinuxArchitecture)
  6. TCLINC = -I/usr/include/tcl
  7. #if DefaultLinuxDistribution == LinuxSuSE
  8. TCLLIB = -ltcl8.6
  9. #endif
  10. #elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
  11. TCLINC = -I/usr/local/include/tcl8.6
  12. TCLLIB = -ltcl86
  13. #elif defined(NetBSDArchitecture)
  14. TCLINC = -I/usr/pkg/include/tcl
  15. TCLLIB = -ltcl86
  16. #endif
  17. #if defined(TCLInc)
  18. TCLINC = TCLInc
  19. #endif
  20. #if defined(TCLLib)
  21. TCLLIB = TCLLib
  22. #endif
  23. INCLUDES = -I../lib/tptregexp -I$(XLATESRC) $(TCLINC)
  24. DEPLIBS = $(DEPDTSVCLIB)
  25. LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) \
  26. -L../lib/tptregexp -ltptregexp $(TCLLIB)
  27. #if defined(SunArchitecture)
  28. EXTRA_LIBRARIES = -lsocket -lnsl -lgen -lm
  29. #else
  30. EXTRA_LIBRARIES = -lm
  31. #endif
  32. OBJS = main.o util.o info.o translate.o traninit.o tranvar.o tables.o browse.o
  33. SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c browse.c
  34. ComplexProgramTarget(instant)