summaryrefslogtreecommitdiff
path: root/include/makeinclude/wrapper_macros.GNU
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-12 19:18:56 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-12 19:18:56 +0000
commitc28b978887319a6d70497a66f521c13c06e010b5 (patch)
treeafaaf0ddd22bfc4766e38388af6c3b2a7e3ed64b /include/makeinclude/wrapper_macros.GNU
parentac3a68b23c69d8549a7e042f488c27871ff31299 (diff)
downloadATCD-c28b978887319a6d70497a66f521c13c06e010b5.tar.gz
ChangeLogTag:Fri Jun 12 14:12:25 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
Diffstat (limited to 'include/makeinclude/wrapper_macros.GNU')
-rw-r--r--include/makeinclude/wrapper_macros.GNU18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU
index 3fa88bb639e..fa846002113 100644
--- a/include/makeinclude/wrapper_macros.GNU
+++ b/include/makeinclude/wrapper_macros.GNU
@@ -34,6 +34,7 @@
# shared_libs_only Only build shared libraries. Ignored if no SHLIBs are
# specified by the Makefile, as in performance-tests/Misc.
# static_libs_only Only build static libraries.
+# xt_reactor Build the XtReactor
#
# Usually, users do not need to be concerned with make targets.
# Just enter "make" on the command line to build. A few notable
@@ -77,6 +78,9 @@
# ORBIX_ROOT Root of IONA's Orbix CORBA implementation
# PCFLAGS C compilation flags for profiling
# PCCFLAGS C++ compilation flags for profiling
+# PLATFORM_XT_CPPFLAGS Platform CPP options for X11 (some require -I...)
+# PLATFORM_XT_LDFLAGS Platform LD options for X11 (some require -L...)
+# PLATFORM_XT_LIBS Platform libraries require with X11
# PRELINK Executable to precede linking, such as quantify
# PURELINK If set, contains purify executable as well as all options
# PURE_CACHE_BASE_DIR
@@ -114,6 +118,10 @@ endif # exceptions
#### be appended after so library.
versioned_so = 0
+#### The system has X Windows and we want to include the XtReactor in
+#### the library
+xt_reactor = 0
+
include $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
#----------------------------------------------------------------------------
@@ -182,6 +190,16 @@ else
CCFLAGS += $(DCCFLAGS)
endif # debug
+ifeq ($(xt_reactor),0)
+ override xt_reactor =
+endif # xt_reactor
+
+ifneq ($(xt_reactor),)
+ CPPFLAGS += -DACE_HAS_XT $(PLATFORM_XT_CPPFLAGS)
+ LIBS += $(PLATFORM_XT_LIBS)
+ LDFLAGS += $(PLATFORM_XT_LDFLAGS)
+endif # debug
+
ifdef exceptions
CCFLAGS += -DACE_HAS_EXCEPTIONS
else