diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-09 16:50:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-09 16:50:03 +0000 |
commit | 8942a07afcba648c1766c8e94df65b92a555fdb3 (patch) | |
tree | ec7a302869597c675104248a8427cd3520c02fd9 /Rules | |
parent | 557072655748be14a747242135f1b34eff9f735f (diff) | |
download | glibc-8942a07afcba648c1766c8e94df65b92a555fdb3.tar glibc-8942a07afcba648c1766c8e94df65b92a555fdb3.tar.gz glibc-8942a07afcba648c1766c8e94df65b92a555fdb3.tar.bz2 glibc-8942a07afcba648c1766c8e94df65b92a555fdb3.zip |
* sysdeps/unix/sysv/linux/net/if.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add it.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
net/if.h.
* Makeconfig (link-libc): Add libc.a after libc.so in link.
* Rules (static-only-routines rule): Use empty.o instead of dummy.o.
(empty.o): New target.
(generated): Add empty.c, empty.o.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -70,7 +70,11 @@ $(objpfx)dummy.o: @rm -f $(@:.o=.c) echo 'void __dummy__ () { }' > $(@:.o=.c) $(CC) -c $(@:.o=.c) -o $@ -generated := $(generated) dummy.o dummy.c +$(objpfx)empty.o: + @rm -f $(@:.o=.c) + echo '' > $(@:.o=.c) + $(CC) -c $(@:.o=.c) -o $@ +generated := $(generated) dummy.o dummy.c empty.c empty.o # This makes all the auxilliary and test programs. @@ -144,8 +148,8 @@ $(common-objpfx)sor-$(subdir): Makefile ifdef static-only-routines # These routines are to be omitted from the shared library object, -# so we replace the PIC objects for them with the dummy object file. -$(static-only-routines:%=$(objpfx)%.so): %.so: $(common-objpfx) dummy.o +# so we replace the PIC objects for them with the empty object file. +$(static-only-routines:%=$(objpfx)%.so): %.so: $(common-objpfx) empty.o rm -f $@ ln $< $@ endif |