summaryrefslogtreecommitdiff
path: root/PACE/tests
diff options
context:
space:
mode:
authorjoeh <joeh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-21 21:50:08 +0000
committerjoeh <joeh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-21 21:50:08 +0000
commit480234f868ee275b35038a6d367996d688d32353 (patch)
tree3f800807274d456f08dadd8cd985d149882892a3 /PACE/tests
parentd48dcdd9243f35e99b7a2cddc44ef7d3f59ab533 (diff)
downloadATCD-480234f868ee275b35038a6d367996d688d32353.tar.gz
Fixing PACE library builds with Makefile and source files.
Diffstat (limited to 'PACE/tests')
-rw-r--r--PACE/tests/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/PACE/tests/Makefile b/PACE/tests/Makefile
index 4b80c9dcfa3..22eaf9d854e 100644
--- a/PACE/tests/Makefile
+++ b/PACE/tests/Makefile
@@ -9,12 +9,18 @@ ifndef PACE_ROOT
PACE_ROOT = $(ACE_ROOT)/pace
endif # ! PACE_ROOT
+ifndef static_libs_only
+ ifndef shared_libs_only
+ static_libs_only = 1
+ endif # shared_libs_only
+endif # static_libs_only
+
ifeq ($(PACE_SYSNAME),)
PACE_SYSNAME = $(shell uname -s)
endif # ! PACE_SYSNAME
VPATH:=common:arpa:config:netinet:sys
-INCLDIRS = -I$(PACE_ROOT)
+CFLAGS += -Dsunos
# List of platforms and uname -s values
# =====================================
@@ -37,7 +43,8 @@ INCLDIRS = -I$(PACE_ROOT)
#ifeq ($(PACE_SYSNAME),SunOS || $(PACE_SYSNAME),Linux)
ifeq ($(PACE_SYSNAME),SunOS)
VPATH :=.:posix:$(VPATH)
-INCLDIRS += -I$(PACE_ROOT)/pace/posix
+#INCLDIRS += -I$(PACE_ROOT)/pace/posix
+INCLDIRS += -I/usr/include -I$(PACE_ROOT)/pace/posix
endif
#----------------------------------------------------------------------------
@@ -59,11 +66,14 @@ PSRC=$(addsuffix .c,$(BIN))
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
ACELIB =
+INCLDIRS += -I$(PACE_ROOT)
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
+VLDLIBS := -L$(PACE_ROOT)/pace -lPACE
+
ifndef SOEXT
SOEXT=so
endif