summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-26 20:30:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-26 20:30:13 +0000
commit6c3c0947a8602e07a953c7861a6e6c15dfaf3273 (patch)
tree72e29364ff87f858a91992922140281c2539f218 /netsvcs
parent94e0c9047e610d09e353aa1664108bd5ca87687b (diff)
downloadATCD-6c3c0947a8602e07a953c7861a6e6c15dfaf3273.tar.gz
.
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/Makefile.bor26
-rw-r--r--netsvcs/build.bor36
-rw-r--r--netsvcs/clients/Logger/Makefile.bor14
-rw-r--r--netsvcs/clients/Makefile.bor23
-rw-r--r--netsvcs/clients/Naming/Client/Makefile.bor8
-rw-r--r--netsvcs/clients/Naming/Dump_Restore/Makefile.bor8
-rw-r--r--netsvcs/clients/Naming/Makefile.bor21
-rw-r--r--netsvcs/clients/Tokens/Makefile.bor29
-rw-r--r--netsvcs/clients/Tokens/collection/Makefile.bor5
-rw-r--r--netsvcs/clients/Tokens/deadlock/Makefile.bor5
-rw-r--r--netsvcs/clients/Tokens/invariant/Makefile.bor5
-rw-r--r--netsvcs/clients/Tokens/manual/Makefile.bor5
-rw-r--r--netsvcs/clients/Tokens/mutex/Makefile.bor5
-rw-r--r--netsvcs/clients/Tokens/rw_lock/Makefile.bor5
-rw-r--r--netsvcs/lib/Makefile.bor23
-rw-r--r--netsvcs/servers/Makefile.bor9
16 files changed, 227 insertions, 0 deletions
diff --git a/netsvcs/Makefile.bor b/netsvcs/Makefile.bor
new file mode 100644
index 00000000000..fe2b39ed7f3
--- /dev/null
+++ b/netsvcs/Makefile.bor
@@ -0,0 +1,26 @@
+#
+# Makefile for building the netsvcs
+#
+
+!ifdef DEBUG
+DEBUG_FLAG = -DDEBUG
+!endif
+
+!ifdef STATIC
+STATIC_FLAG = -DSTATIC
+!endif
+
+!ifdef PASCAL
+PASCAL_FLAG = -DPASCAL
+!endif
+
+FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG)
+
+all:
+ cd $(ACE_ROOT)\netsvcs\lib
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\servers
+ $(MAKE) -f Makefile.bor $(FLAGS)
+
diff --git a/netsvcs/build.bor b/netsvcs/build.bor
new file mode 100644
index 00000000000..a1dd633ab3c
--- /dev/null
+++ b/netsvcs/build.bor
@@ -0,0 +1,36 @@
+
+!ifdef DEBUG
+DEBUGFLAG=-DDEBUG
+!endif
+
+!ifdef STATIC
+STATICFLAG=-DSTATIC
+!endif
+
+!ifdef PASCAL
+PASCALFLAG=-DPASCAL
+!endif
+
+!ifndef CFLAGS
+CFLAGS=-I$(ACE_ROOT) $(ACE_CFLAGS)
+!endif
+
+!ifndef CPPDIR
+CPPDIR=.
+!endif
+
+!ifndef BINDIR
+BINDIR=.\bor\bin
+!endif
+
+!ifndef BASE_OBJDIR
+BASE_OBJDIR=.\bor\obj
+!endif
+
+!ifndef LIBFILES
+LIBFILES= $(ACE_ROOT)\bin\ace$(LIB_DECORATOR).lib
+!endif
+
+!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
+
+
diff --git a/netsvcs/clients/Logger/Makefile.bor b/netsvcs/clients/Logger/Makefile.bor
new file mode 100644
index 00000000000..58f395a5496
--- /dev/null
+++ b/netsvcs/clients/Logger/Makefile.bor
@@ -0,0 +1,14 @@
+
+APPS = \
+ direct_logging \
+ indirect_logging
+
+all: $(APPS)
+
+$(APPS):
+ $(MAKE) -f Makefile.bor -DNAME=$@ $(DEBUGFLAG) $(STATICFLAG) \
+ $(PASCALFLAG) $(BINDIR)\$@.exe
+OBJFILES=$(OBJDIR)\$(NAME).obj
+
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Makefile.bor b/netsvcs/clients/Makefile.bor
new file mode 100644
index 00000000000..464745373f4
--- /dev/null
+++ b/netsvcs/clients/Makefile.bor
@@ -0,0 +1,23 @@
+
+!ifdef DEBUG
+DEBUG_FLAG = -DDEBUG
+!endif
+
+!ifdef STATIC
+STATIC_FLAG = -DSTATIC
+!endif
+
+!ifdef PASCAL
+PASCAL_FLAG = -DPASCAL
+!endif
+
+FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG)
+
+all:
+ cd $(ACE_ROOT)\netsvcs\clients\Logger
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Naming
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens
+ $(MAKE) -f Makefile.bor $(FLAGS)
+
diff --git a/netsvcs/clients/Naming/Client/Makefile.bor b/netsvcs/clients/Naming/Client/Makefile.bor
new file mode 100644
index 00000000000..9f7daeada25
--- /dev/null
+++ b/netsvcs/clients/Naming/Client/Makefile.bor
@@ -0,0 +1,8 @@
+
+NAME = main
+OBJFILES = \
+ $(OBJDIR)\main.obj \
+ $(OBJDIR)\Client_Test.obj
+
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Naming/Dump_Restore/Makefile.bor b/netsvcs/clients/Naming/Dump_Restore/Makefile.bor
new file mode 100644
index 00000000000..8bb56bf5f62
--- /dev/null
+++ b/netsvcs/clients/Naming/Dump_Restore/Makefile.bor
@@ -0,0 +1,8 @@
+
+NAME = main
+OBJFILES = \
+ $(OBJDIR)\main.obj \
+ $(OBJDIR)\Dump_Restore.obj
+
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Naming/Makefile.bor b/netsvcs/clients/Naming/Makefile.bor
new file mode 100644
index 00000000000..c793a30e471
--- /dev/null
+++ b/netsvcs/clients/Naming/Makefile.bor
@@ -0,0 +1,21 @@
+
+!ifdef DEBUG
+DEBUG_FLAG = -DDEBUG
+!endif
+
+!ifdef STATIC
+STATIC_FLAG = -DSTATIC
+!endif
+
+!ifdef PASCAL
+PASCAL_FLAG = -DPASCAL
+!endif
+
+FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG)
+
+all:
+ cd $(ACE_ROOT)\netsvcs\clients\Naming\Client
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Naming\Dump_Restore
+ $(MAKE) -f Makefile.bor $(FLAGS)
+
diff --git a/netsvcs/clients/Tokens/Makefile.bor b/netsvcs/clients/Tokens/Makefile.bor
new file mode 100644
index 00000000000..eb684a845f9
--- /dev/null
+++ b/netsvcs/clients/Tokens/Makefile.bor
@@ -0,0 +1,29 @@
+
+!ifdef DEBUG
+DEBUG_FLAG = -DDEBUG
+!endif
+
+!ifdef STATIC
+STATIC_FLAG = -DSTATIC
+!endif
+
+!ifdef PASCAL
+PASCAL_FLAG = -DPASCAL
+!endif
+
+FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG)
+
+all:
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens\collection
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens\deadlock
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens\invariant
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens\manual
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens\mutex
+ $(MAKE) -f Makefile.bor $(FLAGS)
+ cd $(ACE_ROOT)\netsvcs\clients\Tokens\rw_lock
+ $(MAKE) -f Makefile.bor $(FLAGS)
+
diff --git a/netsvcs/clients/Tokens/collection/Makefile.bor b/netsvcs/clients/Tokens/collection/Makefile.bor
new file mode 100644
index 00000000000..b16b11fef9b
--- /dev/null
+++ b/netsvcs/clients/Tokens/collection/Makefile.bor
@@ -0,0 +1,5 @@
+
+NAME = collection
+OBJFILES = $(OBJDIR)\collection.obj
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Tokens/deadlock/Makefile.bor b/netsvcs/clients/Tokens/deadlock/Makefile.bor
new file mode 100644
index 00000000000..112a766ff2a
--- /dev/null
+++ b/netsvcs/clients/Tokens/deadlock/Makefile.bor
@@ -0,0 +1,5 @@
+
+NAME = deadlock_detection_test
+OBJFILES=$(OBJDIR)\$(NAME).obj
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Tokens/invariant/Makefile.bor b/netsvcs/clients/Tokens/invariant/Makefile.bor
new file mode 100644
index 00000000000..5d01b037b62
--- /dev/null
+++ b/netsvcs/clients/Tokens/invariant/Makefile.bor
@@ -0,0 +1,5 @@
+
+NAME = invariant
+OBJFILES=$(OBJDIR)\$(NAME).obj
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Tokens/manual/Makefile.bor b/netsvcs/clients/Tokens/manual/Makefile.bor
new file mode 100644
index 00000000000..a38035e9982
--- /dev/null
+++ b/netsvcs/clients/Tokens/manual/Makefile.bor
@@ -0,0 +1,5 @@
+
+NAME = manual
+OBJFILES = $(OBJDIR)\$(NAME).obj
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Tokens/mutex/Makefile.bor b/netsvcs/clients/Tokens/mutex/Makefile.bor
new file mode 100644
index 00000000000..2e74fc7f2fb
--- /dev/null
+++ b/netsvcs/clients/Tokens/mutex/Makefile.bor
@@ -0,0 +1,5 @@
+
+NAME = test_mutex
+OBJFILES = $(OBJDIR)\$(NAME).obj
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/clients/Tokens/rw_lock/Makefile.bor b/netsvcs/clients/Tokens/rw_lock/Makefile.bor
new file mode 100644
index 00000000000..a707e2f688a
--- /dev/null
+++ b/netsvcs/clients/Tokens/rw_lock/Makefile.bor
@@ -0,0 +1,5 @@
+
+NAME = rw_locks
+OBJFILES = $(OBJDIR)\$(NAME).obj
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+
diff --git a/netsvcs/lib/Makefile.bor b/netsvcs/lib/Makefile.bor
new file mode 100644
index 00000000000..25773347ea5
--- /dev/null
+++ b/netsvcs/lib/Makefile.bor
@@ -0,0 +1,23 @@
+
+NAME = netsvcs
+
+OBJFILES = \
+ $(OBJDIR)\TS_Server_Handler.obj \
+ $(OBJDIR)\TS_Clerk_Handler.obj \
+ $(OBJDIR)\Client_Logging_Handler.obj \
+ $(OBJDIR)\Name_Handler.obj \
+ $(OBJDIR)\Log_Message_Receiver.obj \
+ $(OBJDIR)\Server_Logging_Handler.obj \
+ $(OBJDIR)\Token_Handler.obj \
+ $(OBJDIR)\Logging_Strategy.obj \
+ $(OBJDIR)\Base_Optimizer.obj
+
+CFLAGS = -I$(ACE_ROOT) $(ACE_CFLAGS)
+CPPDIR = .
+BASE_OBJDIR = .\bor\obj
+BINDIR = $(ACE_ROOT)\bin
+LIBFILES = \
+ $(ACE_ROOT)\bin\ace$(LIB_DECORATOR).lib
+
+!include <$(ACE_ROOT)\include\makeinclude\build_library.bor>
+
diff --git a/netsvcs/servers/Makefile.bor b/netsvcs/servers/Makefile.bor
new file mode 100644
index 00000000000..ed38ae638f6
--- /dev/null
+++ b/netsvcs/servers/Makefile.bor
@@ -0,0 +1,9 @@
+
+NAME = main
+OBJFILES = $(OBJDIRS)\$(NAME).obj
+CFLAGS = -I$(ACE_ROOT) -I$(ACE_ROOT)\netsvcs\lib $(ACE_CFLAGS)
+LIBFILES = \
+ $(ACE_ROOT)\bin\netsvcs$(LIB_DECORATOR).lib \
+ $(ACE_ROOT)\bin\ace$(LIB_DECORATOR).lib
+!include <$(ACE_ROOT)\netsvcs\build.bor>
+