Home | History | Annotate | Line # | Download | only in conf
Makefile.amiga revision 1.106.10.1
      1  1.106.10.1    bouyer #	$NetBSD: Makefile.amiga,v 1.106.10.1 2011/02/08 16:19:11 bouyer 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.98    atatat #
     15        1.98    atatat # To specify debugging, add the config line: makeoptions DEBUG="-g"
     16        1.98    atatat # A better way is to specify -g only for a few files.
     17        1.98    atatat #
     18        1.98    atatat #	makeoptions DEBUGLIST="uvm* trap if_*"
     19        1.95   thorpej 
     20        1.95   thorpej MACHINE_ARCH=m68k
     21        1.96       jmc USETOOLS?=	no
     22        1.98    atatat NEED_OWN_INSTALL_TARGET?=no
     23        1.96       jmc .include <bsd.own.mk>
     24         1.1        mw 
     25        1.98    atatat ##
     26        1.98    atatat ## (1) port identification
     27        1.98    atatat ##
     28        1.98    atatat AMIGA=		$S/arch/amiga
     29       1.103  christos GENASSYM_CONF=	${AMIGA}/amiga/genassym.cf
     30        1.98    atatat 
     31        1.98    atatat ##
     32        1.98    atatat ## (2) compile settings
     33        1.98    atatat ##
     34        1.98    atatat CPPFLAGS+=	-Damiga -DFPCOPROC
     35       1.106       abs .if !defined(CMACHFLAGS)
     36       1.106       abs .include "$S/arch/m68k/Makefile.cmachflags"
     37       1.106       abs CMACHFLAGS+=	-Wa,-m68030 -Wa,-m68851
     38        1.40        is .endif
     39        1.98    atatat CFLAGS+=	${CMACHFLAGS} -msoft-float
     40  1.106.10.1    bouyer AFLAGS+=	-x assembler-with-cpp
     41        1.29       jtc 
     42        1.98    atatat ##
     43        1.98    atatat ## (3) libkern and compat
     44        1.98    atatat ##
     45        1.98    atatat KERN_AS=	obj
     46         1.1        mw 
     47        1.98    atatat ##
     48        1.98    atatat ## (4) local objects, compile rules, and dependencies
     49        1.98    atatat ##
     50        1.98    atatat # for the Motorola 68040 Floating Point Software Product
     51        1.98    atatat .include "$S/arch/m68k/fpsp/Makefile.inc"
     52         1.1        mw 
     53        1.98    atatat # for the Motorola 68060 Software Support Package
     54        1.98    atatat .include "$S/arch/m68k/060sp/Makefile.inc"
     55        1.35   mycroft 
     56        1.98    atatat MD_OBJS=	locore.o ${FPSP}
     57        1.98    atatat MD_CFILES=
     58        1.98    atatat MD_SFILES=	${AMIGA}/amiga/locore.s
     59         1.1        mw 
     60       1.105     joerg copy.o copypage.o lock_stubs.o: assym.h
     61       1.105     joerg 
     62        1.98    atatat locore.o: ${AMIGA}/amiga/locore.s assym.h
     63        1.98    atatat 	${NORMAL_S}
     64        1.35   mycroft 
     65        1.98    atatat ##
     66        1.98    atatat ## (5) link settings
     67        1.98    atatat ##
     68        1.98    atatat TEXTADDR?=	0
     69        1.98    atatat LINKFORMAT=	-n
     70        1.98    atatat 
     71        1.98    atatat ##
     72        1.98    atatat ## (6) port specific target dependencies
     73        1.98    atatat ##
     74         1.1        mw 
     75        1.97     lukem # depend on CPU configuration
     76        1.74        is amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
     77        1.74        is bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile
     78        1.60        is 
     79        1.60        is # depends on defined(DRACO)
     80        1.60        is a2kbbc.o: Makefile
     81         1.1        mw 
     82        1.98    atatat ##
     83        1.98    atatat ## (7) misc settings
     84        1.98    atatat ##
     85        1.98    atatat 
     86        1.98    atatat ##
     87        1.98    atatat ## (8) config(8) generated machinery
     88        1.98    atatat ##
     89        1.98    atatat %INCLUDES
     90        1.98    atatat 
     91        1.98    atatat %OBJS
     92        1.98    atatat 
     93        1.98    atatat %CFILES
     94        1.98    atatat 
     95        1.98    atatat %SFILES
     96        1.89   hubertf 
     97        1.98    atatat %LOAD
     98         1.1        mw 
     99         1.1        mw %RULES
    100        1.98    atatat 
    101        1.98    atatat ##
    102        1.98    atatat ## (9) port independent kernel machinery
    103        1.98    atatat ##
    104        1.98    atatat .include "$S/conf/Makefile.kern.inc"
    105       1.102   thorpej 
    106       1.102   thorpej ##
    107       1.102   thorpej ## (10) Appending make options.
    108       1.102   thorpej ##
    109       1.102   thorpej %MAKEOPTIONSAPPEND
    110