summaryrefslogtreecommitdiff
path: root/ACEXML/examples/SAXPrint/Makefile.SAXPrint
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/examples/SAXPrint/Makefile.SAXPrint')
-rw-r--r--ACEXML/examples/SAXPrint/Makefile.SAXPrint19
1 files changed, 10 insertions, 9 deletions
diff --git a/ACEXML/examples/SAXPrint/Makefile.SAXPrint b/ACEXML/examples/SAXPrint/Makefile.SAXPrint
index 752f4b81b2e..7822bd66b94 100644
--- a/ACEXML/examples/SAXPrint/Makefile.SAXPrint
+++ b/ACEXML/examples/SAXPrint/Makefile.SAXPrint
@@ -1,7 +1,6 @@
#----------------------------------------------------------------------------
# GNU Makefile
#----------------------------------------------------------------------------
-
MAKEFILE = Makefile.SAXPrint
DEPENDENCY_FILE = .depend.Makefile.SAXPrint
BIN_UNCHECKED = SAXPrint
@@ -12,10 +11,10 @@ FILES = \
main \
SAXPrint_Handler \
Print_Handler
-
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
+
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
BIN = $(BIN_UNCHECKED)
@@ -30,9 +29,16 @@ include $(ACE_ROOT)/include/makeinclude/rules.nonested.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
-LDLIBS = -lACEXML_Parser -lACEXML
+LDLIBS = -lACEXML_Parser -lACEXML
#----------------------------------------------------------------------------
# Local targets
@@ -41,10 +47,5 @@ LDLIBS = -lACEXML_Parser -lACEXML
$(BIN): $(addprefix $(VDIR), $(OBJS))
$(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $^ $(VLDLIBS) $(POSTLINK)
-#----------------------------------------------------------------------------
-# 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