From: Bruno Haible Date: Mon, 12 May 2003 09:43:55 +0000 (+0000) Subject: Need to compile progreloc.c, for when --enable-relocatable is used. X-Git-Tag: v0.12~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1bf7ce71847f951d289a2939aed65bef290b2de;p=thirdparty%2Fgettext.git Need to compile progreloc.c, for when --enable-relocatable is used. --- diff --git a/gettext-runtime/lib/ChangeLog b/gettext-runtime/lib/ChangeLog index ca27230d3..371a5de83 100644 --- a/gettext-runtime/lib/ChangeLog +++ b/gettext-runtime/lib/ChangeLog @@ -1,3 +1,12 @@ +2003-05-10 Bruno Haible + + * Makefile.am (libgrt_a_SOURCES): Add + ../../gettext-tools/lib/progreloc.c. + * Makefile.msvc (OBJECTS): Add progreloc.obj. + (progreloc.obj): New rule. + * Makefile.vms (OBJECTS): Add progreloc.obj. + (progreloc.obj): New rule. + 2003-04-12 Bruno Haible * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no diff --git a/gettext-runtime/lib/Makefile.am b/gettext-runtime/lib/Makefile.am index be13dc748..82de0281d 100644 --- a/gettext-runtime/lib/Makefile.am +++ b/gettext-runtime/lib/Makefile.am @@ -31,7 +31,7 @@ libgrt_a_SOURCES = \ ../../gettext-tools/lib/exit.h \ ../../gettext-tools/lib/getopt.h ../../gettext-tools/lib/getopt.c ../../gettext-tools/lib/getopt1.c \ ../../gettext-tools/lib/pathmax.h \ - ../../gettext-tools/lib/progname.h ../../gettext-tools/lib/progname.c \ + ../../gettext-tools/lib/progname.h ../../gettext-tools/lib/progname.c ../../gettext-tools/lib/progreloc.c \ ../../gettext-tools/lib/xmalloc.h ../../gettext-tools/lib/xmalloc.c ../../gettext-tools/lib/xstrdup.c \ ../../gettext-tools/lib/xreadlink.h ../../gettext-tools/lib/xreadlink.c diff --git a/gettext-runtime/lib/Makefile.msvc b/gettext-runtime/lib/Makefile.msvc index e3afab68e..421e41f4d 100644 --- a/gettext-runtime/lib/Makefile.msvc +++ b/gettext-runtime/lib/Makefile.msvc @@ -52,7 +52,7 @@ RM = -del SHELL = /bin/sh -OBJECTS = basename.obj error.obj getopt.obj getopt1.obj progname.obj relocatable.obj xmalloc.obj xstrdup.obj +OBJECTS = basename.obj error.obj getopt.obj getopt1.obj progname.obj progreloc.obj relocatable.obj xmalloc.obj xstrdup.obj all : grt.lib @@ -71,6 +71,9 @@ getopt1.obj : ..\..\gettext-tools\lib\getopt1.c progname.obj : ..\..\gettext-tools\lib\progname.c $(CC) $(INCLUDES) $(CFLAGS) -c ..\..\gettext-tools\lib\progname.c +progreloc.obj : ..\..\gettext-tools\lib\progreloc.c + $(CC) $(INCLUDES) $(CFLAGS) -c ..\..\gettext-tools\lib\progreloc.c + relocatable.obj : ..\..\gettext-tools\lib\relocatable.c $(CC) $(INCLUDES) $(CFLAGS) -c ..\..\gettext-tools\lib\relocatable.c diff --git a/gettext-runtime/lib/Makefile.vms b/gettext-runtime/lib/Makefile.vms index 438844eef..26b3ec8e0 100644 --- a/gettext-runtime/lib/Makefile.vms +++ b/gettext-runtime/lib/Makefile.vms @@ -27,7 +27,7 @@ RM = delete #### End of system configuration section. #### -OBJECTS = basename.obj,error.obj,getopt.obj,getopt1.obj,progname.obj,relocatable.obj,xmalloc.obj,xstrdup.obj +OBJECTS = basename.obj,error.obj,getopt.obj,getopt1.obj,progname.obj,progreloc.obj,relocatable.obj,xmalloc.obj,xstrdup.obj all : grt.olb write sys$output "Nothing else to be done for 'all'." @@ -47,6 +47,9 @@ getopt1.obj : [-.-.gettext-tools.lib]getopt1.c progname.obj : [-.-.gettext-tools.lib]progname.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]progname.c +progreloc.obj : [-.-.gettext-tools.lib]progreloc.c + $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]progreloc.c + relocatable.obj : [-.-.gettext-tools.lib]relocatable.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]relocatable.c