summaryrefslogtreecommitdiff
path: root/ACEXML/tests/Makefile.Transcoder_Test
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/tests/Makefile.Transcoder_Test')
-rw-r--r--ACEXML/tests/Makefile.Transcoder_Test19
1 files changed, 10 insertions, 9 deletions
diff --git a/ACEXML/tests/Makefile.Transcoder_Test b/ACEXML/tests/Makefile.Transcoder_Test
index d85fdbcdb11..9d53e26195c 100644
--- a/ACEXML/tests/Makefile.Transcoder_Test
+++ b/ACEXML/tests/Makefile.Transcoder_Test
@@ -1,7 +1,6 @@
#----------------------------------------------------------------------------
# GNU Makefile
#----------------------------------------------------------------------------
-
MAKEFILE = Makefile.Transcoder_Test
DEPENDENCY_FILE = .depend.Makefile.Transcoder_Test
BIN_UNCHECKED = Transcoder_Test
@@ -10,10 +9,10 @@ BIN_UNCHECKED = Transcoder_Test
FILES = \
Transcoder_Test
-
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
+
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
BIN = $(BIN_UNCHECKED)
@@ -28,9 +27,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
+LDLIBS = -lACEXML
#----------------------------------------------------------------------------
# Local targets
@@ -39,10 +45,5 @@ LDLIBS = -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