Formerly m68k/Makefile.~10~
authorRoland McGrath <roland@gnu.org>
Mon, 14 Feb 1994 03:10:48 +0000 (03:10 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 14 Feb 1994 03:10:48 +0000 (03:10 +0000)
sysdeps/m68k/Makefile

index 7d6f62d..6e9f261 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1993 Free Software Foundation, Inc.
+# Copyright (C) 1993, 1994 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
 
 crypt := crypt.sun3    # Use crypt/crypt.sun3.S.
 \f
-# Disgusting magic to get `#'s into the asm code.
-
-# Set `as-pipe-ok' if piping input to the assembler is likely to work.
-ifneq (,$(filter -pipe,$(compile.c) $(compile.S)))
-# The `-pipe' switch the compiler does it, so it must work.
-as-pipe-ok = yes
-endif
-ifdef gnu-as
-# GNU as can deal with input pipes.
-as-pipe-ok = yes
-endif
-
-ifdef as-pipe-ok
-
-define compile-command.S
-$(CC) $(CPPFLAGS) $(m68k-syntax-flag) $(asm-CPPFLAGS) -E $< \
-| sed 's/(@@@Hash-Here@@@)/#/g' | $(AS) $(ASFLAGS) -o $@
-endef
-
-else
-
-define compile-command.S
-@-rm -f $@s
-$(CC) $(CPPFLAGS) $(m68k-syntax-flag) $(asm-CPPFLAGS) -E $< \
-| sed 's/(@@@Hash-Here@@@)/#/g' > $@s
-$(AS) $(ASFLAGS) $@s -o $@
--rm -f $@s
-endef
-
-endif
-
 # The mpn functions need this.  All existing 68k ports use MIT syntax.  If
 # a new port wants to use Motorola or Sony syntax, it can redefine this
 # variable.