summaryrefslogtreecommitdiff
path: root/ACEXML/parser/debug_validator/Makefile.Validator
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/parser/debug_validator/Makefile.Validator')
-rw-r--r--ACEXML/parser/debug_validator/Makefile.Validator29
1 files changed, 15 insertions, 14 deletions
diff --git a/ACEXML/parser/debug_validator/Makefile.Validator b/ACEXML/parser/debug_validator/Makefile.Validator
index aba23bd3161..fce31a6081f 100644
--- a/ACEXML/parser/debug_validator/Makefile.Validator
+++ b/ACEXML/parser/debug_validator/Makefile.Validator
@@ -1,7 +1,6 @@
#----------------------------------------------------------------------------
# GNU Makefile
#----------------------------------------------------------------------------
-
MAKEFILE = Makefile.Validator
DEPENDENCY_FILE = .depend.Makefile.Validator
LIB_UNCHECKED = libACEXML_Validator.a
@@ -10,17 +9,17 @@ SHLIB_UNCHECKED = libACEXML_Validator.$(SOEXT)
FILES = \
- Debug_Attributes_Builder \
- Debug_DTD_Manager \
Debug_Element_Builder \
- Element_Tree
+ Element_Tree \
+ Debug_DTD_Manager \
+ Debug_Attributes_Builder
+#----------------------------------------------------------------------------
+# Include macros and targets
+#----------------------------------------------------------------------------
LIB = $(LIB_UNCHECKED)
SHLIB = $(SHLIB_UNCHECKED)
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
LSRC = $(addsuffix .cpp, $(FILES))
ACELIB = -lACE
@@ -32,18 +31,20 @@ include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
CPPFLAGS += -I../../..
+ifeq ($(static_libs),1)
+ ifneq ($(LIB),)
+ CPPFLAGS += -DACE_AS_STATIC_LIBS
+ endif
+endif
+
+
LDFLAGS += -L../../../ace
-ACE_SHLIBS = -lACEXML_Parser -lACEXML $(ACELIB)
+ACE_SHLIBS = -lACEXML_Parser -lACEXML $(ACELIB)
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+realclean: clean
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY