Home | History | Annotate | Line # | Download | only in conf
Makefile.amiga revision 1.94.2.2
      1  1.94.2.2  jdolecek #	$NetBSD: Makefile.amiga,v 1.94.2.2 2002/06/23 17:34:23 jdolecek Exp $
      2      1.21       cgd 
      3      1.35   mycroft # Makefile for NetBSD
      4       1.1        mw #
      5       1.1        mw # This makefile is constructed from a machine description:
      6       1.1        mw #	config machineid
      7       1.1        mw # Most changes should be made in the machine description
      8      1.35   mycroft #	/sys/arch/amiga/conf/``machineid''
      9       1.1        mw # after which you should do
     10      1.35   mycroft #	config machineid
     11       1.1        mw # Machine generic makefile changes should be made in
     12      1.35   mycroft #	/sys/arch/amiga/conf/Makefile.amiga
     13       1.1        mw # after which config should be rerun for all machines of that type.
     14  1.94.2.1   thorpej #
     15  1.94.2.1   thorpej # To specify debugging, add the config line: makeoptions DEBUG="-g"
     16  1.94.2.1   thorpej # A better way is to specify -g only for a few files.
     17  1.94.2.1   thorpej #
     18  1.94.2.1   thorpej #	makeoptions DEBUGLIST="uvm* trap if_*"
     19       1.1        mw 
     20  1.94.2.1   thorpej MACHINE_ARCH=m68k
     21  1.94.2.1   thorpej USETOOLS?=	no
     22  1.94.2.1   thorpej NEED_OWN_INSTALL_TARGET?=no
     23  1.94.2.1   thorpej .include <bsd.own.mk>
     24  1.94.2.1   thorpej 
     25  1.94.2.1   thorpej ##
     26  1.94.2.1   thorpej ## (1) port identification
     27  1.94.2.1   thorpej ##
     28  1.94.2.1   thorpej AMIGA=		$S/arch/amiga
     29  1.94.2.1   thorpej GENASSYM=	${AMIGA}/amiga/genassym.cf
     30  1.94.2.1   thorpej 
     31  1.94.2.1   thorpej ##
     32  1.94.2.1   thorpej ## (2) compile settings
     33  1.94.2.1   thorpej ##
     34  1.94.2.1   thorpej CPPFLAGS+=	-Damiga -DFPCOPROC
     35      1.73        is .if empty(IDENT:M-DM68060)
     36      1.46   mycroft CMACHFLAGS=	-m68020
     37      1.40        is .else
     38      1.83        is CMACHFLAGS=	-m68060 -Wa,-m68030 -Wa,-m68851
     39      1.40        is .endif
     40  1.94.2.1   thorpej CFLAGS+=	${CMACHFLAGS} -msoft-float
     41  1.94.2.2  jdolecek .if defined(HAVE_GCC3)
     42  1.94.2.2  jdolecek AFLAGS+=	-x assembler-with-cpp
     43  1.94.2.2  jdolecek .else
     44  1.94.2.1   thorpej AFLAGS+=	-x assembler-with-cpp -traditional-cpp
     45  1.94.2.2  jdolecek .endif
     46      1.29       jtc 
     47  1.94.2.1   thorpej ##
     48  1.94.2.1   thorpej ## (3) libkern and compat
     49  1.94.2.1   thorpej ##
     50  1.94.2.1   thorpej KERN_AS=	obj
     51       1.1        mw 
     52  1.94.2.1   thorpej ##
     53  1.94.2.1   thorpej ## (4) local objects, compile rules, and dependencies
     54  1.94.2.1   thorpej ##
     55  1.94.2.1   thorpej # for the Motorola 68040 Floating Point Software Product
     56  1.94.2.1   thorpej .include "$S/arch/m68k/fpsp/Makefile.inc"
     57      1.35   mycroft 
     58  1.94.2.1   thorpej # for the Motorola 68060 Software Support Package
     59  1.94.2.1   thorpej .include "$S/arch/m68k/060sp/Makefile.inc"
     60       1.1        mw 
     61  1.94.2.1   thorpej MD_OBJS=	locore.o ${FPSP}
     62  1.94.2.1   thorpej MD_CFILES=
     63  1.94.2.1   thorpej MD_SFILES=	${AMIGA}/amiga/locore.s
     64       1.3        mw 
     65  1.94.2.1   thorpej locore.o: ${AMIGA}/amiga/locore.s assym.h
     66  1.94.2.1   thorpej 	${NORMAL_S}
     67      1.35   mycroft 
     68  1.94.2.1   thorpej ##
     69  1.94.2.1   thorpej ## (5) link settings
     70  1.94.2.1   thorpej ##
     71  1.94.2.1   thorpej TEXTADDR?=	0
     72  1.94.2.1   thorpej LINKFORMAT=	-n
     73  1.94.2.1   thorpej 
     74  1.94.2.1   thorpej ##
     75  1.94.2.1   thorpej ## (6) port specific target dependencies
     76  1.94.2.1   thorpej ##
     77       1.1        mw 
     78  1.94.2.1   thorpej # depend on CPU configuration
     79      1.74        is amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
     80      1.74        is bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile
     81      1.60        is 
     82      1.60        is # depends on defined(DRACO)
     83      1.60        is a2kbbc.o: Makefile
     84       1.1        mw 
     85  1.94.2.1   thorpej ##
     86  1.94.2.1   thorpej ## (7) misc settings
     87  1.94.2.1   thorpej ##
     88  1.94.2.1   thorpej 
     89  1.94.2.1   thorpej ##
     90  1.94.2.1   thorpej ## (8) config(8) generated machinery
     91  1.94.2.1   thorpej ##
     92  1.94.2.1   thorpej %INCLUDES
     93      1.89   hubertf 
     94  1.94.2.1   thorpej %OBJS
     95  1.94.2.1   thorpej 
     96  1.94.2.1   thorpej %CFILES
     97  1.94.2.1   thorpej 
     98  1.94.2.1   thorpej %SFILES
     99  1.94.2.1   thorpej 
    100  1.94.2.1   thorpej %LOAD
    101       1.1        mw 
    102       1.1        mw %RULES
    103  1.94.2.1   thorpej 
    104  1.94.2.1   thorpej ##
    105  1.94.2.1   thorpej ## (9) port independent kernel machinery
    106  1.94.2.1   thorpej ##
    107  1.94.2.1   thorpej .include "$S/conf/Makefile.kern.inc"
    108