]> sourceware.org Git - glibc.git/commitdiff
Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.
authorUlrich Drepper <drepper@redhat.com>
Sat, 31 Aug 2002 18:23:37 +0000 (18:23 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 31 Aug 2002 18:23:37 +0000 (18:23 +0000)
sysdeps/gnu/Makefile

index 048e36a41523e2989d6339a5cb36a9c0a045efca..14c74be2f09bbbda1e470f487cd2bb95cf979386 100644 (file)
@@ -32,9 +32,12 @@ endif
 ifeq ($(subdir),stdio-common)
 
 vpath errlist.c $(full_config_sysdirs)
-$(objpfx)errlist-compat.c: errlist.c \
-                                  $(..)sysdeps/gnu/errlist-compat.awk \
-                                  $(common-objpfx)Versions.v.i
+ifeq ($(build-shared),yes)
+$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
+                          $(common-objpfx)Versions.v.i
+else
+$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk
+endif
        $(AWK) -v maxerr=`\
          $(CC) -S $(CPPFLAGS) $(CFLAGS) -DNOT_IN_libc -DEMIT_ERR_MAX $< -o - \
          | sed -n 's/^.*@@@[^0-9]*\([0-9]*\)[^0-9]*@@@.*$$/\1/p'` \
This page took 0.036604 seconds and 5 git commands to generate.