# Copyright (C) 1994 by Linus Torvalds
#
-LINKFLAGS = -static -T bootloader.lds #-N -relax
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := -traditional
-.S.s:
- $(CPP) $(AFLAGS) -traditional -o $*.o $<
-.S.o:
- $(CC) $(AFLAGS) -traditional -c -o $*.o $<
+LINKFLAGS = -static -T bootloader.lds #-N -relax
OBJECTS = head.o main.o
BPOBJECTS = head.o bootp.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $(AFLAGS) -o $*.s $<
-.S.o:
- $(CC) $(CFLAGS) $(AFLAGS) -c -o $*.o $<
+USE_STANDARD_AS_RULE := true
O_TARGET := kernel.o
+EXTRA_AFLAGS := $(CFLAGS)
+
export-objs := alpha_ksyms.o
obj-y := entry.o traps.o process.o init_task.o osf_sys.o irq.o irq_alpha.o \
# Makefile for alpha-specific library files..
#
-.S.s:
- $(CPP) -D__ASSEMBLY__ $(CFLAGS) -o $*.s $<
-.S.o:
- $(CC) -D__ASSEMBLY__ $(CFLAGS) -c -o $*.o $<
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
# Many of these routines have implementations tuned for ev6.
# Choose them iff we're targeting ev6 specifically.
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-# These assembly files can't be assembld with -traditional, so we
-# need another build rule than the one in the toplevel Makefile.
-.S.o:
- $(CC) $(AFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
all: kernel.o head.o
# Makefile for Etrax-specific library files..
#
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
+
+EXTRA_AFLAGS := -traditional
+
obj-y = checksum.o checksumcopy.o string.o usercopy.o memset.o csumcpfruser.o
include $(TOPDIR)/Rules.make
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.o:
- $(CC) $(AFLAGS) -traditional -c -o $*.o $<
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := -traditional
OS_TARGET := fpsp.o
# License. See the file "README.legal" in the main directory of this archive
# for more details.
-.S.o:
- $(CC) $(AFLAGS) -traditional -c -o $*.o $<
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := -traditional
OS_TARGET := ifpsp.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.o:
- $(CC) $(AFLAGS) -traditional -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := -traditional
ifndef CONFIG_SUN3
all: head.o kernel.o
# Makefile for m68k-specific library files..
#
-.S.o:
- $(CC) $(AFLAGS) -traditional -c $< -o $@
+USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
+EXTRA_AFLAGS := -traditional
+
obj-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
checksum.o memcmp.o memcpy.o memset.o semaphore.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.o:
- $(CC) $(EXTRA_CFLAGS) $(AFLAGS) -traditional -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
-#EXTRA_CFLAGS=-DFPU_EMU_DEBUG
+EXTRA_AFLAGS := -traditional
+
+#EXTRA_AFLAGS += -DFPU_EMU_DEBUG
+#EXTRA_CFLAGS += -DFPU_EMU_DEBUG
O_TARGET := mathemu.o
-#
+q#
# Makefile for Linux arch/m68k/sun3 source directory
#
# Note! Dependencies are done automagically by 'make dep', which also
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.o:
- $(CC) $(AFLAGS) -traditional -Wa,-m68020 -c $< -o $*.o
-
O_TARGET := sun3.o
export-objs := sun3_ksyms.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
all: au1000.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: pb1000.o
O_TARGET := pb1000.o
# Copyright (C) 1995, 1998, 2001 by Ralf Baechle
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
OBJS = milo.o a.out.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET = ddb5074.a
# Note 2! The CFLAGS definitions are now in the main makefile...
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET = ddb5476.a
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
O_TARGET:= ddb5xxx.o
obj-y += irq.o irq_cpu.o nile4.o prom.o pci.o pci_auto.o rtc_ds1386.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET:= ddb5477.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(AFLAGS) $< -o $@
-.S.o:
- $(CC) $(AFLAGS) -c $< -o $@
+USE_STANDARD_AS_RULE := true
O_TARGET := dec.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
netboot: all
mipsel-linux-ld -N -G 0 -T ld.ecoff ../../boot/zImage \
dec_boot.o ramdisk.img -o nbImage
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
OBJS = init.o memory.o cmdline.o identify.o locore.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
O_TARGET:= gt64120.o
obj-y := gt_irq.o pci.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET:= momenco_ocelot.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
all: it8172.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: ivr.o
O_TARGET := ivr.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: ite.o
O_TARGET := ite.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $@
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $@
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
all: jazz.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(AFLAGS) $< -o $@
-.S.o:
- $(CC) $(AFLAGS) -c $< -o $@
+USE_STANDARD_AS_RULE := true
-EXTRA_AFLAGS = -mips3 -mcpu=r4000
+# EXTRA_AFLAGS = -mips3 -mcpu=r4000 # not used?
all: kernel.o head.o init_task.o
# Makefile for MIPS-specific library files..
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true;
L_TARGET = lib.a
+EXTRA_AFLAGS := $(CFLAGS)
+
obj-y += csum_partial.o csum_partial_copy.o \
rtc-std.o rtc-no.o memcpy.o memset.o \
watch.o strlen_user.o strncpy_user.o \
# unless it's something special (ie not a .c file).
#
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
-EXTRA_ASFLAGS = -mips2 -mcpu=r4000
-
O_TARGET:= fpu_emulator.o
obj-y := cp1emu.o ieee754m.o ieee754d.o ieee754dp.o ieee754sp.o ieee754.o \
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: atlas.o
O_TARGET := atlas.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET := mipsboards.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
O_TARGET := malta.o
obj-y := malta_int.o malta_rtc.o malta_setup.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(AFLAGS) $< -o $@
-.S.o:
- $(CC) $(AFLAGS) -c $< -o $@
+USE_STANDARD_AS_RULE := true
O_TARGET := nino.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET := ip22-kern.o
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
all: sni.o int-handler.o
#
TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
$(TARGET): offset.h
cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
clean:
rm -f offset.[hs] $(TARGET).new
-
+
mrproper:
rm -f offset.[hs] $(TARGET).new
rm -f $(TARGET)
# Copyright (C) 1995, 1998, 1999 by Ralf Baechle
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
#
# Some DECstations need all possible sections of an ECOFF executable
#
# unless it's something special (ie not a .c file).
#
-.S.o:
- $(CC) $(CFLAGS) $(CFLAGS_$@) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
all: kernel.o head.o init_task.o
obj-$(CONFIG_BINFMT_ELF32) += binfmt_elf32.o
obj-$(CONFIG_SMP) += smp.o
-CFLAGS_r4k_genex.o := -P
-CFLAGS_r4k_tlb_glue.o := -P
+AFLAGS_r4k_genex.o := -P
+AFLAGS_r4k_tlb_glue.o := -P
include $(TOPDIR)/Rules.make
# Makefile for MIPS-specific library files..
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
L_TARGET = lib.a
# unless it's something special (ie not a .c file).
#
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
-EXTRA_ASFLAGS = -mips2 -mcpu=r4000
-
O_TARGET:= fpu_emulator.o
obj-y := cp1emu.o ieee754m.o ieee754d.o ieee754dp.o ieee754sp.o ieee754.o \
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: atlas.o
O_TARGET := atlas.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
all: mipsboards.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: malta.o
O_TARGET := malta.o
# under Linux.
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
L_TARGET = ip22.a
# Makefile for the IP27 specific kernel interface routines under Linux.
#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET = ip27.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
+
+EXTRA_AFLAGS := $(CFLAGS)
O_TARGET := ip32-kern.a
#
TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
$(TARGET): offset.h
cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
clean:
rm -f offset.[hs] $(TARGET).new
-
+
mrproper:
rm -f offset.[hs] $(TARGET).new
rm -f $(TARGET)
# Makefile for parisc-specific library files..
#
+USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
-L_OBJS = lusercopy.o bitops.o checksum.o
+obj-y := lusercopy.o bitops.o checksum.o
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+EXTRA_AFLAGS := -traditional
include $(TOPDIR)/Rules.make
#
TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
-
all: $(TARGET)
$(TARGET): offset.h
#
# Note 2! The CFLAGS definition is now in the main makefile...
+USE_STANDARD_AS_RULE := true
+
OBJCOPY = $(CROSS_COMPILE)objcopy
O_TARGET :=
-include $(TOPDIR)/Rules.make
+EXTRA_AFLAGS := -traditional
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+include $(TOPDIR)/Rules.make
%.lnk: %.o
$(LD) -Ttext 0x0 -o $@ $<
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o
O_TARGET := kernel.o
+EXTRA_AFLAGS := -traditional
+
export-objs := debug.o ebcdic.o irq.o s390_ext.o smp.o s390_ksyms.o
obj-y := entry.o bitmap.o traps.o time.o process.o irq.o \
setup.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \
# Makefile for s390-specific library files..
#
-ifdef SMP
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
-else
-.S.o:
- $(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
-endif
+USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
+EXTRA_AFLAGS := -traditional
+
obj-y = checksum.o delay.o memset.o misaligned.o strcmp.o strncpy.o uaccess.o
export-objs += misaligned.o
#
# Note 2! The CFLAGS definition is now in the main makefile...
+USE_STANDARD_AS_RULE := true
+
OBJCOPY = $(CROSS_COMPILE)objcopy
O_TARGET :=
include $(TOPDIR)/Rules.make
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+EXTRA_AFLAGS := -traditional
%.lnk: %.o
$(LD) -Ttext 0x0 -o $@ $<
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o
O_TARGET := kernel.o
+EXTRA_AFLAGS := -traditional
+
export-objs := debug.o ebcdic.o irq.o s390_ext.o smp.o s390_ksyms.o \
exec32.o
# Makefile for s390-specific library files..
#
-ifdef SMP
-.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
-else
-.S.o:
- $(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
-endif
+USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
+EXTRA_AFLAGS := -traditional
+
obj-y = checksum.o delay.o memset.o misaligned.o strcmp.o strncpy.o uaccess.o
export-objs += misaligned.o
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-SH = $(CONFIG_SHELL)
-
-.S.s:
- $(CPP) $(AFLAGS) -ansi $< -o $*.s
+USE_STANDARD_AS_RULE := true
-.S.o:
- $(CC) $(AFLAGS) -ansi -c $< -o $*.o
+SH = $(CONFIG_SHELL)
all: kernel.o head.o init_task.o
O_TARGET := kernel.o
+EXTRA_AFLAGS := -ansi
+
export-objs := sparc_ksyms.o
IRQ_OBJS := irq.o sun4m_irq.o sun4c_irq.o sun4d_irq.o
obj-y := entry.o wof.o wuf.o etrap.o rtrap.o traps.o ${IRQ_OBJS} \
# Makefile for Sparc library files..
#
-.S.s:
- $(CPP) $(AFLAGS) -ansi -DST_DIV0=0x2 $< -o $*.s
-
-.S.o:
- $(CC) $(AFLAGS) -ansi -DST_DIV0=0x2 -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
L_TARGET = lib.a
+EXTRA_AFLAGS := -ansi -DST_DIV0=0x02
+
obj-y := mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o memcpy.o memset.o \
strlen.o checksum.o blockops.o memscan.o memcmp.o strncmp.o \
strncpy_from_user.o divdi3.o udivdi3.o strlen_user.o \
#
# Note 2! The CFLAGS definition is now in the main makefile...
+USE_STANDARD_AS_RULE := true
+
O_TARGET := math-emu.o
obj-y := math.o ashldi3.o
-.S.s:
- $(CPP) $(AFLAGS) -ansi $< -o $*.s
-
-.S.o:
- $(CC) $(AFLAGS) -ansi -c $< -o $*.o
-
+EXTRA_AFLAGS := -ansi
EXTRA_CFLAGS = -I. -I$(TOPDIR)/include/math-emu -w
include $(TOPDIR)/Rules.make
#
# Note 2! The CFLAGS definition is now in the main makefile...
-.S.o:
- $(CC) $(AFLAGS) -ansi -c -o $*.o $<
+USE_STANDARD_AS_RULE := true
+EXTRA_AFLAGS := -ansi
O_TARGET := mm.o
obj-y := fault.o init.o loadmmu.o generic.o extable.o btfixup.o