summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-01-14 23:24:09 +0000
committermbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-01-14 23:24:09 +0000
commit6bd82d12a12ef5083bb897bd203c216cf17d242d (patch)
treeafaeed132d3e9652f16c2fc61b48e92baa84a867
parentea71386260d6ca5a5858596a809c116953bd61d5 (diff)
downloadATCD-6bd82d12a12ef5083bb897bd203c216cf17d242d.tar.gz
ChangeLogTag: <mbrudka@aster.pl>
-rw-r--r--include/makeinclude/wrapper_macros.GNU21
1 files changed, 17 insertions, 4 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU
index eb186b10553..8860fa485ab 100644
--- a/include/makeinclude/wrapper_macros.GNU
+++ b/include/makeinclude/wrapper_macros.GNU
@@ -50,10 +50,10 @@
# static_link Link only static libs to executables, e.g., uses "-static"
# flag with the GNU ld linker.
# threads Build with thread support.
-# ace_xtreactor Build the XtReactor.
-# ace_flreactor Build the FlReactor.
-# ace_tkreactor Build the TkReactor.
-# ace_qtreactor Build the QtReactor.
+# ace_xtreactor Build the XtReactor.
+# ace_flreactor Build the FlReactor.
+# ace_tkreactor Build the TkReactor.
+# ace_qtreactor Build the QtReactor.
# ssl Build with OpenSSL support.
# rapi Build with RAPI
# stlport Build with STLPort support
@@ -486,6 +486,19 @@ ifneq ($(ace_qtreactor),)
override qt=1
ACE_MAKE_OPTIONS += ace_qtreactor
endif # ace_qtreactor
+gtk_reactor ?=
+
+ifeq ($(gtk_reactor),0)
+ override gtk_reactor =
+endif # gtk_reactor
+
+ifneq ($(gtk_reactor),)
+ override ace_with_gtk=1
+ CPPFLAGS += -DACE_HAS_GTK $(PLATFORM_GTK_CPPFLAGS)
+ LIBS += $(PLATFORM_GTK_LIBS)
+ LDFLAGS += $(PLATFORM_GTK_LDFLAGS)
+ ACE_MAKE_OPTIONS += gtk_reactor
+endif # gtk_reactor
QTDIR ?=
ifneq ($(QTDIR),)