summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c')
-rw-r--r--Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c b/Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c
index 57fd7e86baf..568dec7b618 100644
--- a/Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c
+++ b/Build/source/libs/icu-xetex/tools/pkgdata/sttcmode.c
@@ -1,6 +1,6 @@
/******************************************************************************
*
-* Copyright (C) 2002-2004, International Business Machines
+* Copyright (C) 2002-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -35,11 +35,13 @@
/** set if AR is NOT to be called implicitly by gnumake
** (i.e. if the form libblah.a($(OBJECTS) doesnt work)
**/
+#if !defined(NO_IMPLICIT_AR)
#if defined(OS400) || defined(OS390)
# define NO_IMPLICIT_AR 1
#else
# define NO_IMPLICIT_AR 0
#endif
+#endif
void pkg_sttc_writeReadme(struct UPKGOptions_ *o, const char *libName, UErrorCode *status)
{
@@ -204,13 +206,8 @@ void pkg_mode_static(UPKGOptions *o, FileStream *makefile, UErrorCode *status)
T_FileStream_writeLine(makefile, "# 'TOCOBJ' contains C Table of Contents objects [if any]\n");
- if(!o->embed) {
sprintf(tmp, "$(TEMP_PATH)$(NAME)_dat.c: $(CMNLIST)\n"
"\t$(INVOKE) $(GENCMN) -e $(ENTRYPOINT) -n $(NAME) -S -s $(SRCDIR) -d $(TEMP_DIR) 0 $(CMNLIST)\n\n");
- } else {
- sprintf(tmp, "$(TEMP_PATH)$(NAME)_dat.c: $(CMNLIST)\n"
- "\t$(INVOKE) $(GENCMN) -e $(ENTRYPOINT) -n $(NAME) -S -E -d $(TEMP_DIR) 0 $(CMNLIST)\n\n");
- }
T_FileStream_writeLine(makefile, tmp);
sprintf(tmp, "TOCOBJ= $(NAME)_dat.$(STATIC_O)\n\n");