Home | History | Annotate | Line # | Download | only in conf
Makefile.x68k revision 1.50.2.1
      1  1.50.2.1   thorpej #	$NetBSD: Makefile.x68k,v 1.50.2.1 2002/01/10 19:50:16 thorpej Exp $
      2  1.50.2.1   thorpej #
      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.50.2.1   thorpej #
     15  1.50.2.1   thorpej # To specify debugging, add the config line: makeoptions DEBUG="-g"
     16  1.50.2.1   thorpej # A better way is to specify -g only for a few files.
     17  1.50.2.1   thorpej #
     18  1.50.2.1   thorpej #	makeoptions DEBUGLIST="uvm* trap if_*"
     19       1.1       oki 
     20  1.50.2.1   thorpej MACHINE_ARCH=m68k
     21  1.50.2.1   thorpej USETOOLS?=	no
     22  1.50.2.1   thorpej NEED_OWN_INSTALL_TARGET?=no
     23      1.34   minoura .include <bsd.own.mk>
     24      1.34   minoura 
     25  1.50.2.1   thorpej ##
     26  1.50.2.1   thorpej ## (1) port identification
     27  1.50.2.1   thorpej ##
     28  1.50.2.1   thorpej X68K=		$S/arch/x68k
     29  1.50.2.1   thorpej GENASSYM=	${X68K}/x68k/genassym.cf
     30  1.50.2.1   thorpej 
     31  1.50.2.1   thorpej ##
     32  1.50.2.1   thorpej ## (2) compile settings
     33  1.50.2.1   thorpej ##
     34  1.50.2.1   thorpej CPPFLAGS+=	-Dx68k
     35  1.50.2.1   thorpej AFLAGS+=	-x assembler-with-cpp -traditional-cpp
     36      1.49   minoura CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
     37  1.50.2.1   thorpej CFLAGS+=	${CMACHFLAGS} -msoft-float
     38       1.1       oki 
     39  1.50.2.1   thorpej ##
     40  1.50.2.1   thorpej ## (3) libkern and compat
     41  1.50.2.1   thorpej ##
     42      1.29  drochner KERN_AS=	obj
     43       1.1       oki 
     44  1.50.2.1   thorpej ##
     45  1.50.2.1   thorpej ## (4) local objects, compile rules, and dependencies
     46  1.50.2.1   thorpej ##
     47  1.50.2.1   thorpej # 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.50.2.1   thorpej # for the Motorola 68060 Software Support Package
     51       1.3       oki .include "$S/arch/m68k/060sp/Makefile.inc"
     52       1.1       oki 
     53  1.50.2.1   thorpej MD_OBJS=	locore.o ${FPSP}
     54  1.50.2.1   thorpej MD_CFILES=
     55  1.50.2.1   thorpej MD_SFILES=	${X68K}/x68k/locore.s
     56       1.1       oki 
     57  1.50.2.1   thorpej locore.o: ${X68K}/x68k/locore.s assym.h Makefile
     58  1.50.2.1   thorpej 	${NORMAL_S}
     59       1.1       oki 
     60  1.50.2.1   thorpej ##
     61  1.50.2.1   thorpej ## (5) link settings
     62  1.50.2.1   thorpej ##
     63  1.50.2.1   thorpej TEXTADDR?=	0
     64  1.50.2.1   thorpej LINKFORMAT=	-n
     65  1.50.2.1   thorpej 
     66  1.50.2.1   thorpej ##
     67  1.50.2.1   thorpej ## (6) port specific target dependencies
     68  1.50.2.1   thorpej ##
     69       1.1       oki 
     70       1.1       oki # depend on root or device configuration
     71       1.1       oki autoconf.o conf.o: Makefile
     72       1.1       oki 
     73       1.1       oki # depend on maxusers
     74      1.15       oki machdep.o: Makefile
     75       1.1       oki 
     76      1.34   minoura # depend on DEBUG and/or DIAGNOSTIC options
     77      1.34   minoura grf.o par.o sram.o: Makefile
     78      1.34   minoura intio_dmac.o mfp.o neptune.o opm.o scsirom.o xel.o zs.o bus.o: Makefile
     79      1.34   minoura intio.o vm_machdep.o: Makefile
     80       1.1       oki 
     81  1.50.2.1   thorpej ##
     82  1.50.2.1   thorpej ## (7) misc settings
     83  1.50.2.1   thorpej ##
     84       1.1       oki 
     85      1.45   hubertf 
     86  1.50.2.1   thorpej 
     87  1.50.2.1   thorpej ##
     88  1.50.2.1   thorpej ## (8) config(8) generated machinery
     89  1.50.2.1   thorpej ##
     90  1.50.2.1   thorpej %INCLUDES
     91  1.50.2.1   thorpej 
     92  1.50.2.1   thorpej %OBJS
     93  1.50.2.1   thorpej 
     94  1.50.2.1   thorpej %CFILES
     95  1.50.2.1   thorpej 
     96  1.50.2.1   thorpej %SFILES
     97  1.50.2.1   thorpej 
     98  1.50.2.1   thorpej %LOAD
     99       1.1       oki 
    100       1.1       oki %RULES
    101  1.50.2.1   thorpej 
    102  1.50.2.1   thorpej ##
    103  1.50.2.1   thorpej ## (9) port independent kernel machinery
    104  1.50.2.1   thorpej ##
    105  1.50.2.1   thorpej .include "$S/conf/Makefile.kern.inc"
    106