1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /* This file is imbedded near the top of every ToolTalk Imakefile. */
- /* It contains definitions and redefinitions that are common to all */
- /* of ToolTalk but which aren't referred to anywhere else in the */
- /* build. */
- /* TT_VERSION defines the version string which is imbedded in all the */
- /* binaries and shipped libraries. */
- TT_VERSION = "CDE Version 2.3.1a"
- TT_VERSION_DEFINE = -DTT_VERSION_STRING=\"$(TT_VERSION)\"
- #ifdef SunArchitecture
- /* TTLIB_AND_MAYBE_XLIB is overridden on architectures where libtt does */
- /* not need XLIB (because it's dlopen'ed.) */
- TTLIB_AND_MAYBE_XLIB = $(TTLIB)
- DEPTTLIB_AND_MAYBE_XLIB = $(DEPTTLIB)
- #endif
- /* put EXTRA_DEFINES and EXTRA_INCLUDES below */
- /* For linux with TIRPC, set this so the right bits can/will be used. */
- XCOMM Enable TIRPC for linux hosts with the option enabled
- #ifdef LinuxArchitecture
- # if HasTIRPCLib
- TIRPC_DEFINES = -DOPT_TIRPC
- # else
- TIRPC_DEFINES =
- # endif
- #endif
- #ifdef SunArchitecture
- LAST_LOAD_FLAGS = -Bstatic -lC -Bdynamic -lm -lc -Bstatic
- #endif
- #ifdef RsArchitecture
- EXTRA_DEFINES=-D_ALL_SOURCE -DPOSIX_DRAFT7_THREADS
- #endif
- #ifdef SunArchitecture
- /* Only need to rebuild message catalog source on one platform. */
- all::
- %.msg: %
- ttgenmsg -d $@ $(TT_DIR)/SUNW_TOOLTALK.sets $<
- %/msgs: always_rebuild
- (cd $*; make $(@F))
- msgs: $$(SRCS:%=%.msg) $$(SUBDIRS:%=%/msgs)
- $(RM) $@
- touch $@
- for file in $(SRCS:%=%.msg) $(SUBDIRS:%=%/msgs) /dev/null; do \
- if grep set $$file > /dev/null; then cat $$file >> $@; fi; \
- done
- always_rebuild:
- #endif
|