Home | History | Annotate | Line # | Download | only in conf
      1  1.66       rin #	$NetBSD: Makefile.x68k,v 1.66 2018/09/22 12:24:04 rin 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.62     joerg AFLAGS+=	-x assembler-with-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.66       rin OPT_MODULAR=	%MODULAR%
     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.64  uebayasi MD_OBJS=	locore.o
     54  1.64  uebayasi MD_LIBS=	${FPSP}
     55  1.55   minoura MD_CFILES=
     56  1.55   minoura MD_SFILES=	${X68K}/x68k/locore.s
     57   1.1       oki 
     58  1.55   minoura locore.o: ${X68K}/x68k/locore.s assym.h Makefile
     59  1.55   minoura 	${NORMAL_S}
     60   1.1       oki 
     61  1.61     joerg copy.o copypage.o lock_stubs.o: assym.h
     62  1.61     joerg 
     63  1.55   minoura ##
     64  1.55   minoura ## (5) link settings
     65  1.55   minoura ##
     66  1.55   minoura TEXTADDR?=	0
     67  1.55   minoura LINKFORMAT=	-n
     68  1.55   minoura 
     69  1.65       mrg .include "$S/arch/m68k/conf/Makefile.kern.m68k.inc"
     70  1.65       mrg 
     71  1.55   minoura ##
     72  1.55   minoura ## (6) port specific target dependencies
     73  1.55   minoura ##
     74   1.1       oki 
     75   1.1       oki # depend on root or device configuration
     76   1.1       oki autoconf.o conf.o: Makefile
     77  1.54     lukem 
     78   1.1       oki # depend on maxusers
     79  1.15       oki machdep.o: Makefile
     80   1.1       oki 
     81  1.34   minoura # depend on DEBUG and/or DIAGNOSTIC options
     82  1.34   minoura grf.o par.o sram.o: Makefile
     83  1.34   minoura intio_dmac.o mfp.o neptune.o opm.o scsirom.o xel.o zs.o bus.o: Makefile
     84  1.34   minoura intio.o vm_machdep.o: Makefile
     85   1.1       oki 
     86  1.55   minoura ##
     87  1.55   minoura ## (7) misc settings
     88  1.55   minoura ##
     89  1.55   minoura 
     90  1.63       chs # XXX work around gcc 4.5 issue
     91  1.63       chs COPTS.machdep.c += -O1
     92  1.55   minoura 
     93  1.55   minoura ##
     94  1.55   minoura ## (8) config(8) generated machinery
     95  1.55   minoura ##
     96  1.55   minoura %INCLUDES
     97  1.55   minoura 
     98  1.55   minoura %OBJS
     99  1.55   minoura 
    100  1.55   minoura %CFILES
    101   1.1       oki 
    102  1.55   minoura %SFILES
    103  1.45   hubertf 
    104  1.55   minoura %LOAD
    105   1.1       oki 
    106   1.1       oki %RULES
    107  1.55   minoura 
    108  1.55   minoura ##
    109  1.55   minoura ## (9) port independent kernel machinery
    110  1.55   minoura ##
    111  1.55   minoura .include "$S/conf/Makefile.kern.inc"
    112  1.58   thorpej 
    113  1.58   thorpej ##
    114  1.58   thorpej ## (10) Appending make options.
    115  1.58   thorpej ##
    116  1.58   thorpej %MAKEOPTIONSAPPEND
    117