summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-05-26 01:48:56 +0000
committerDavid Schleef <ds@schleef.org>2001-05-26 01:48:56 +0000
commit86cffec4d5a8aa8c54bb3653cd289f4b92bfa3e1 (patch)
tree8a7c4e2ff510e83050d9d12d916edb2d53d11d4d /libc/sysdeps/linux
parentd0c0ebb78efe2fba3132c78c70b26373b4660353 (diff)
Makefile targets to symlink arch-specific headers into include/ (only
used on mipsel.)
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/arm/Makefile3
-rw-r--r--libc/sysdeps/linux/i386/Makefile3
-rw-r--r--libc/sysdeps/linux/m68k/Makefile3
-rw-r--r--libc/sysdeps/linux/mips/Makefile3
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile3
-rw-r--r--libc/sysdeps/linux/sh/Makefile3
-rw-r--r--libc/sysdeps/linux/sparc/Makefile3
7 files changed, 21 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index 8c543ac4e..181d5a294 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -62,6 +62,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ # No arch specific headers
+
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index afca6bd82..f55b91355 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -59,6 +59,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ # No arch specific headers
+
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index d79f0e33c..e4346e4c8 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -59,6 +59,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ # no arch-specific headers
+
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index 00061de71..e4a582b5a 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -71,6 +71,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ cd $(TOPDIR)/include;ln -s ../libc/sysdeps/linux/mipsel/sgidefs.h .
+
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile
index 09caa560e..c2190de6f 100644
--- a/libc/sysdeps/linux/powerpc/Makefile
+++ b/libc/sysdeps/linux/powerpc/Makefile
@@ -70,6 +70,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ # no arch-specific headers
+
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile
index d39d3bf40..e0504a22c 100644
--- a/libc/sysdeps/linux/sh/Makefile
+++ b/libc/sysdeps/linux/sh/Makefile
@@ -61,6 +61,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ # no arch-specific headers
+
clean:
rm -f *.[oa] *~ core
diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile
index c713f18a0..62e1a40d7 100644
--- a/libc/sysdeps/linux/sparc/Makefile
+++ b/libc/sysdeps/linux/sparc/Makefile
@@ -57,6 +57,9 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+headers:
+ # no arch-specific headers
+
clean:
rm -f *.[oa] *~ core