Home | History | Annotate | Line # | Download | only in conf
Makefile.x68k revision 1.60.50.1
      1  1.60.50.1      matt #	Makefile.x68k,v 1.60 2005/12/11 12:19:37 christos Exp
      2       1.51   minoura #
      3        1.1       oki # Makefile for NetBSD
      4        1.1       oki #
      5        1.1       oki # This makefile is constructed from a machine description:
      6        1.1       oki #	config machineid
      7        1.1       oki # Most changes should be made in the machine description
      8        1.1       oki #	/sys/arch/x68k/conf/``machineid''
      9        1.1       oki # after which you should do
     10        1.1       oki #	config machineid
     11        1.1       oki # Machine generic makefile changes should be made in
     12        1.1       oki #	/sys/arch/x68k/conf/Makefile.x68k
     13        1.1       oki # after which config should be rerun for all machines of that type.
     14       1.55   minoura #
     15       1.55   minoura # To specify debugging, add the config line: makeoptions DEBUG="-g"
     16       1.55   minoura # A better way is to specify -g only for a few files.
     17       1.55   minoura #
     18       1.55   minoura #	makeoptions DEBUGLIST="uvm* trap if_*"
     19       1.52   thorpej 
     20       1.52   thorpej MACHINE_ARCH=m68k
     21       1.53       jmc USETOOLS?=	no
     22       1.55   minoura NEED_OWN_INSTALL_TARGET?=no
     23       1.34   minoura .include <bsd.own.mk>
     24       1.34   minoura 
     25       1.55   minoura ##
     26       1.55   minoura ## (1) port identification
     27       1.55   minoura ##
     28       1.55   minoura X68K=		$S/arch/x68k
     29       1.59  christos GENASSYM_CONF=	${X68K}/x68k/genassym.cf
     30       1.55   minoura 
     31       1.55   minoura ##
     32       1.55   minoura ## (2) compile settings
     33       1.55   minoura ##
     34       1.55   minoura CPPFLAGS+=	-Dx68k
     35       1.55   minoura AFLAGS+=	-x assembler-with-cpp -traditional-cpp
     36       1.49   minoura CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
     37       1.55   minoura CFLAGS+=	${CMACHFLAGS} -msoft-float
     38       1.36       mrg 
     39       1.55   minoura ##
     40       1.55   minoura ## (3) libkern and compat
     41       1.55   minoura ##
     42       1.29  drochner KERN_AS=	obj
     43        1.1       oki 
     44       1.55   minoura ##
     45       1.55   minoura ## (4) local objects, compile rules, and dependencies
     46       1.55   minoura ##
     47       1.55   minoura # for the Motorola 68040 Floating Point Software Product
     48        1.1       oki .include "$S/arch/m68k/fpsp/Makefile.inc"
     49        1.3       oki 
     50       1.55   minoura # for the Motorola 68060 Software Support Package
     51        1.3       oki .include "$S/arch/m68k/060sp/Makefile.inc"
     52        1.1       oki 
     53       1.55   minoura MD_OBJS=	locore.o ${FPSP}
     54       1.55   minoura MD_CFILES=
     55       1.55   minoura MD_SFILES=	${X68K}/x68k/locore.s
     56        1.1       oki 
     57       1.55   minoura locore.o: ${X68K}/x68k/locore.s assym.h Makefile
     58       1.55   minoura 	${NORMAL_S}
     59        1.1       oki 
     60  1.60.50.1      matt copy.o copypage.o lock_stubs.o: assym.h
     61  1.60.50.1      matt 
     62       1.55   minoura ##
     63       1.55   minoura ## (5) link settings
     64       1.55   minoura ##
     65       1.55   minoura TEXTADDR?=	0
     66       1.55   minoura LINKFORMAT=	-n
     67       1.55   minoura 
     68       1.55   minoura ##
     69       1.55   minoura ## (6) port specific target dependencies
     70       1.55   minoura ##
     71        1.1       oki 
     72        1.1       oki # depend on root or device configuration
     73        1.1       oki autoconf.o conf.o: Makefile
     74       1.54     lukem 
     75        1.1       oki # depend on maxusers
     76       1.15       oki machdep.o: Makefile
     77        1.1       oki 
     78       1.34   minoura # depend on DEBUG and/or DIAGNOSTIC options
     79       1.34   minoura grf.o par.o sram.o: Makefile
     80       1.34   minoura intio_dmac.o mfp.o neptune.o opm.o scsirom.o xel.o zs.o bus.o: Makefile
     81       1.34   minoura intio.o vm_machdep.o: Makefile
     82        1.1       oki 
     83       1.55   minoura ##
     84       1.55   minoura ## (7) misc settings
     85       1.55   minoura ##
     86       1.55   minoura 
     87       1.55   minoura 
     88       1.55   minoura 
     89       1.55   minoura ##
     90       1.55   minoura ## (8) config(8) generated machinery
     91       1.55   minoura ##
     92       1.55   minoura %INCLUDES
     93       1.55   minoura 
     94       1.55   minoura %OBJS
     95       1.55   minoura 
     96       1.55   minoura %CFILES
     97        1.1       oki 
     98       1.55   minoura %SFILES
     99       1.45   hubertf 
    100       1.55   minoura %LOAD
    101        1.1       oki 
    102        1.1       oki %RULES
    103       1.55   minoura 
    104       1.55   minoura ##
    105       1.55   minoura ## (9) port independent kernel machinery
    106       1.55   minoura ##
    107       1.55   minoura .include "$S/conf/Makefile.kern.inc"
    108       1.58   thorpej 
    109       1.58   thorpej ##
    110       1.58   thorpej ## (10) Appending make options.
    111       1.58   thorpej ##
    112       1.58   thorpej %MAKEOPTIONSAPPEND
    113