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