Home | History | Annotate | Line # | Download | only in conf
      1  1.78       rin #	$NetBSD: Makefile.atari,v 1.78 2018/09/22 12:24:01 rin Exp $
      2  1.12   mycroft 
      3  1.12   mycroft # Makefile for NetBSD
      4   1.1       leo #
      5   1.1       leo # This makefile is constructed from a machine description:
      6   1.1       leo #	config machineid
      7   1.1       leo # Most changes should be made in the machine description
      8  1.12   mycroft #	/sys/arch/atari/conf/``machineid''
      9   1.1       leo # after which you should do
     10  1.12   mycroft #	config machineid
     11   1.1       leo # Machine generic makefile changes should be made in
     12  1.12   mycroft #	/sys/arch/atari/conf/Makefile.atari
     13   1.1       leo # after which config should be rerun for all machines of that type.
     14  1.63   thorpej 
     15  1.63   thorpej MACHINE_ARCH=m68k
     16  1.64       jmc USETOOLS?=	no
     17  1.66    atatat NEED_OWN_INSTALL_TARGET?=no
     18  1.64       jmc .include <bsd.own.mk>
     19   1.1       leo 
     20  1.66    atatat ##
     21  1.66    atatat ## (1) port identification
     22  1.66    atatat ##
     23  1.66    atatat ATARI=		$S/arch/atari
     24  1.70  christos GENASSYM_CONF=	${ATARI}/atari/genassym.cf
     25  1.66    atatat 
     26  1.66    atatat ##
     27  1.66    atatat ## (2) compile settings
     28  1.66    atatat ##
     29  1.66    atatat CPPFLAGS+=	-Datari
     30  1.73       abs .if !defined(CMACHFLAGS)
     31  1.73       abs .include "$S/arch/m68k/Makefile.cmachflags"
     32  1.73       abs CMACHFLAGS+= -Wa,-m68030
     33  1.33       leo .endif
     34  1.66    atatat CFLAGS+=	${CMACHFLAGS} -msoft-float
     35  1.75     joerg AFLAGS+=	-x assembler-with-cpp
     36  1.53       mrg 
     37  1.66    atatat ##
     38  1.66    atatat ## (3) libkern and compat
     39  1.66    atatat ##
     40  1.78       rin OPT_MODULAR=	%MODULAR%
     41   1.1       leo 
     42  1.66    atatat ##
     43  1.66    atatat ## (4) local objects, compile rules, and dependencies
     44  1.66    atatat ##
     45  1.66    atatat # for the Motorola 68040 Floating Point Software Product
     46   1.1       leo .include "$S/arch/m68k/fpsp/Makefile.inc"
     47   1.1       leo 
     48  1.66    atatat # for the Motorola 68060 Software Support Package
     49  1.33       leo .include "$S/arch/m68k/060sp/Makefile.inc"
     50  1.33       leo 
     51  1.76  uebayasi MD_OBJS=	locore.o
     52  1.76  uebayasi MD_LIBS=	${FPSP}
     53  1.66    atatat MD_CFILES=
     54  1.66    atatat MD_SFILES=	${ATARI}/atari/locore.s
     55   1.1       leo 
     56  1.72     joerg copy.o copypage.o lock_stubs.o: assym.h
     57  1.72     joerg 
     58  1.66    atatat locore.o: ${ATARI}/atari/locore.s assym.h
     59  1.66    atatat 	${NORMAL_S}
     60  1.66    atatat 
     61  1.77       mrg .include "$S/arch/m68k/conf/Makefile.kern.m68k.inc"
     62  1.77       mrg 
     63  1.66    atatat ##
     64  1.66    atatat ## (5) link settings
     65  1.66    atatat ##
     66  1.66    atatat TEXTADDR?=	0
     67  1.66    atatat LINKFORMAT=	-n
     68  1.66    atatat 
     69  1.66    atatat ##
     70  1.66    atatat ## (6) port specific target dependencies
     71  1.66    atatat ##
     72  1.66    atatat 
     73  1.66    atatat # depend on CPU configuration
     74  1.74   tsutsui locore.o pmap.o pmap_motorola.o sys_machdep.o: Makefile
     75   1.1       leo 
     76  1.66    atatat ##
     77  1.66    atatat ## (7) misc settings
     78  1.66    atatat ##
     79  1.66    atatat 
     80  1.66    atatat ##
     81  1.66    atatat ## (8) config(8) generated machinery
     82  1.66    atatat ##
     83  1.66    atatat %INCLUDES
     84  1.20   mycroft 
     85   1.1       leo %OBJS
     86   1.1       leo 
     87   1.1       leo %CFILES
     88   1.1       leo 
     89  1.12   mycroft %SFILES
     90  1.12   mycroft 
     91   1.1       leo %LOAD
     92   1.1       leo 
     93  1.66    atatat %RULES
     94  1.12   mycroft 
     95  1.66    atatat ##
     96  1.66    atatat ## (9) port independent kernel machinery
     97  1.66    atatat ##
     98  1.66    atatat .include "$S/conf/Makefile.kern.inc"
     99  1.69   thorpej 
    100  1.69   thorpej ##
    101  1.69   thorpej ## (10) Appending make options.
    102  1.69   thorpej ##
    103  1.69   thorpej %MAKEOPTIONSAPPEND
    104