summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-03-08 17:50:08 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-03-08 17:50:08 +0000
commit9b46996fc0af39031a71203a824426f8f4c51cae (patch)
tree642a22d2ec0349ff4c6ff112872327533b04888d /TAO/examples
parent73d98a289f81d2f2548882744c99999af1042e5f (diff)
downloadATCD-9b46996fc0af39031a71203a824426f8f4c51cae.tar.gz
ChangeLogTag:Fri Mar 8 09:44:56 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Advanced/ch_3/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/TAO/examples/Advanced/ch_3/Makefile b/TAO/examples/Advanced/ch_3/Makefile
index 3e974829b23..74016040d81 100644
--- a/TAO/examples/Advanced/ch_3/Makefile
+++ b/TAO/examples/Advanced/ch_3/Makefile
@@ -12,7 +12,7 @@ ifndef TAO_ROOT
TAO_ROOT = $(ACE_ROOT)/TAO
endif # ! TAO_ROOT
-LDLIBS = -lTAO -lTAO_PortableServer
+LDLIBS = -lTAO_PortableServer -lTAO
IDL_FILES = time
IDL_SRC = timeC.cpp timeS.cpp
IDL_HDR = timeC.h timeS.h
@@ -33,10 +33,8 @@ SIMPLE_SVR_OBJS = \
timeS.o \
server.o
-
-BIN = server \
- client
-BUILD = $(BIN)
+BIN2 = server \
+ client
#----------------------------------------------------------------------------
# Include macros and targets
@@ -45,6 +43,13 @@ BUILD = $(BIN)
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(TAO_ROOT)/rules.tao.GNU
+
+ifeq ($(corba_messaging),1)
+ BIN = $(BIN2)
+endif # corba_messaging
+
+BUILD = $(BIN)
+
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU