diff options
| author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-12 19:57:05 +0000 |
|---|---|---|
| committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-12 19:57:05 +0000 |
| commit | eebc1442e45c4fdd947f07dd03461dfd42b4a5a7 (patch) | |
| tree | f3a80a20cc7a37f27623aa4cc106ca8e3da50a81 /include/makeinclude/wrapper_macros.GNU | |
| parent | 6b2adf1cbf97b8ecd8afd63e30820792a30d6d70 (diff) | |
| download | ATCD-eebc1442e45c4fdd947f07dd03461dfd42b4a5a7.tar.gz | |
added support for "threads" make option
Diffstat (limited to 'include/makeinclude/wrapper_macros.GNU')
| -rw-r--r-- | include/makeinclude/wrapper_macros.GNU | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU index 6ef1c280526..670ffb07112 100644 --- a/include/makeinclude/wrapper_macros.GNU +++ b/include/makeinclude/wrapper_macros.GNU @@ -37,7 +37,8 @@ # 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 +# threads Build with thread support. +# 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 @@ -201,6 +202,10 @@ else CCFLAGS += $(DCCFLAGS) endif # debug +ifeq ($(threads),0) + override threads = +endif # threads + ifeq ($(xt_reactor),0) override xt_reactor = endif # xt_reactor @@ -209,7 +214,7 @@ ifneq ($(xt_reactor),) CPPFLAGS += -DACE_HAS_XT $(PLATFORM_XT_CPPFLAGS) LIBS += $(PLATFORM_XT_LIBS) LDFLAGS += $(PLATFORM_XT_LDFLAGS) -endif # debug +endif # xt_reactor ifdef exceptions CCFLAGS += -DACE_HAS_EXCEPTIONS |
