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