Home | History | Annotate | Line # | Download | only in conf
Makefile.mac68k revision 1.92.2.1
      1  1.92.2.1  pgoyette #	$NetBSD: Makefile.mac68k,v 1.92.2.1 2018/09/30 01:45:45 pgoyette Exp $
      2      1.12       cgd 
      3      1.31   mycroft # Makefile for NetBSD
      4       1.1    briggs #
      5       1.1    briggs # This makefile is constructed from a machine description:
      6       1.1    briggs #	config machineid
      7       1.1    briggs # Most changes should be made in the machine description
      8      1.31   mycroft #	/sys/arch/mac68k/conf/``machineid''
      9       1.1    briggs # after which you should do
     10      1.31   mycroft #	config machineid
     11       1.1    briggs # Machine generic makefile changes should be made in
     12      1.31   mycroft #	/sys/arch/mac68k/conf/Makefile.mac68k
     13       1.1    briggs # after which config should be rerun for all machines of that type.
     14      1.83    atatat #
     15      1.83    atatat # To specify debugging, add the config line: makeoptions DEBUG="-g"
     16      1.83    atatat # A better way is to specify -g only for a few files.
     17      1.83    atatat #
     18      1.83    atatat #	makeoptions DEBUGLIST="uvm* trap if_*"
     19      1.79   thorpej 
     20      1.79   thorpej MACHINE_ARCH=m68k
     21      1.80       jmc USETOOLS?=	no
     22      1.83    atatat NEED_OWN_INSTALL_TARGET?=no
     23      1.80       jmc .include <bsd.own.mk>
     24       1.1    briggs 
     25      1.83    atatat ##
     26      1.83    atatat ## (1) port identification
     27      1.83    atatat ##
     28      1.83    atatat MAC68K=		$S/arch/mac68k
     29      1.87  christos GENASSYM_CONF=	${MAC68K}/mac68k/genassym.cf
     30      1.83    atatat 
     31      1.83    atatat ##
     32      1.83    atatat ## (2) compile settings
     33      1.83    atatat ##
     34      1.83    atatat CPPFLAGS+=	-Dmac68k
     35      1.83    atatat CFLAGS+=	-msoft-float
     36      1.90     joerg AFLAGS+=	-x assembler-with-cpp
     37      1.83    atatat 
     38      1.83    atatat ##
     39      1.83    atatat ## (3) libkern and compat
     40      1.83    atatat ##
     41  1.92.2.1  pgoyette OPT_MODULAR=	%MODULAR%
     42      1.31   mycroft 
     43      1.83    atatat ##
     44      1.83    atatat ## (4) local objects, compile rules, and dependencies
     45      1.83    atatat ##
     46      1.83    atatat # for the Motorola 68040 Floating Point Software Product
     47      1.83    atatat .include "$S/arch/m68k/fpsp/Makefile.inc"
     48      1.69       mrg 
     49      1.91  uebayasi MD_OBJS=	locore.o
     50      1.91  uebayasi MD_LIBS=	${FPSP}
     51      1.83    atatat MD_CFILES=
     52      1.83    atatat MD_SFILES=	${MAC68K}/mac68k/locore.s
     53      1.43   mycroft 
     54      1.83    atatat locore.o: ${MAC68K}/mac68k/locore.s assym.h
     55      1.83    atatat 	${NORMAL_S}
     56      1.20    briggs 
     57      1.92       mrg .include "$S/arch/m68k/conf/Makefile.kern.m68k.inc"
     58      1.92       mrg 
     59      1.83    atatat ##
     60      1.83    atatat ## (5) link settings
     61      1.83    atatat ##
     62      1.83    atatat LINKFORMAT=	-n
     63      1.83    atatat TEXTADDR?=	0
     64      1.83    atatat 
     65      1.83    atatat ##
     66      1.83    atatat ## (6) port specific target dependencies
     67      1.83    atatat ##
     68       1.1    briggs 
     69      1.83    atatat # depend on CPU configuration
     70      1.83    atatat locore.o pmap.o trap.o: Makefile
     71       1.1    briggs 
     72      1.89     joerg copy.o copypage.o lock_stubs.o macromasm.o: assym.h
     73      1.89     joerg 
     74      1.83    atatat ##
     75      1.83    atatat ## (7) misc settings
     76      1.83    atatat ##
     77      1.83    atatat 
     78      1.83    atatat ##
     79      1.83    atatat ## (8) config(8) generated machinery
     80      1.83    atatat ##
     81      1.83    atatat %INCLUDES
     82      1.40   mycroft 
     83       1.1    briggs %OBJS
     84       1.1    briggs 
     85       1.1    briggs %CFILES
     86       1.1    briggs 
     87      1.31   mycroft %SFILES
     88      1.31   mycroft 
     89       1.1    briggs %LOAD
     90       1.1    briggs 
     91      1.83    atatat %RULES
     92       1.8    briggs 
     93      1.83    atatat ##
     94      1.83    atatat ## (9) port independent kernel machinery
     95      1.83    atatat ##
     96      1.83    atatat .include "$S/conf/Makefile.kern.inc"
     97      1.86   thorpej 
     98      1.86   thorpej ##
     99      1.86   thorpej ## (10) Appending make options.
    100      1.86   thorpej ##
    101      1.86   thorpej %MAKEOPTIONSAPPEND
    102