aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-18 10:00:52 +0000
committerRoland McGrath <roland@gnu.org>1996-01-18 10:00:52 +0000
commitaeb72b162283156ff33f5d4d86533fadb758126b (patch)
tree19cf5dd72ebb72beda243e565af9f5117750a1a9 /Makerules
parent285a3eee46e60a9dde6275bc1714546150492da4 (diff)
downloadglibc-aeb72b162283156ff33f5d4d86533fadb758126b.tar
glibc-aeb72b162283156ff33f5d4d86533fadb758126b.tar.gz
glibc-aeb72b162283156ff33f5d4d86533fadb758126b.tar.bz2
glibc-aeb72b162283156ff33f5d4d86533fadb758126b.zip
Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960118
* Makerules (COMPILE.s): New variable. * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with make-syscalls.sh and include it. [$(subdir)=misc] (sysdep_routines): Append extra syscalls from sysd-syscalls. * sysdeps/unix/make-syscalls.sh: New file. * Makerules (COMPILE.S): New variable.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 530b1acb3f..0013b53993 100644
--- a/Makerules
+++ b/Makerules
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+# Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -253,8 +253,10 @@ compile-command.c = $(compile.c) $(OUTPUT_OPTION)
endif
# GCC can grok options after the file name, and it looks nicer that way.
-compile.S = $(CC) $< -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS)
compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS)
+compile.S = $(CC) $< -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS)
+COMPILE.S = $(CC) -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS)
+COMPILE.s = $(filter-out -pipe,$(CC)) -c $(ASFLAGS)
# We need this for the output to go in the right place. It will default to
# empty if make was configured to work with a cc that can't grok -c and -o