Home | History | Annotate | Line # | Download | only in conf
Makefile.atari revision 1.64.2.2
      1  1.64.2.2  nathanw #	$NetBSD: Makefile.atari,v 1.64.2.2 2002/01/08 00:23:35 nathanw Exp $
      2  1.64.2.2  nathanw 
      3  1.64.2.2  nathanw # Makefile for NetBSD
      4  1.64.2.2  nathanw #
      5  1.64.2.2  nathanw # This makefile is constructed from a machine description:
      6  1.64.2.2  nathanw #	config machineid
      7  1.64.2.2  nathanw # Most changes should be made in the machine description
      8  1.64.2.2  nathanw #	/sys/arch/atari/conf/``machineid''
      9  1.64.2.2  nathanw # after which you should do
     10  1.64.2.2  nathanw #	config machineid
     11  1.64.2.2  nathanw # Machine generic makefile changes should be made in
     12  1.64.2.2  nathanw #	/sys/arch/atari/conf/Makefile.atari
     13  1.64.2.2  nathanw # after which config should be rerun for all machines of that type.
     14  1.64.2.2  nathanw 
     15  1.64.2.2  nathanw MACHINE_ARCH=m68k
     16  1.64.2.2  nathanw USETOOLS?=	no
     17  1.64.2.2  nathanw NEED_OWN_INSTALL_TARGET?=no
     18  1.64.2.2  nathanw .include <bsd.own.mk>
     19  1.64.2.2  nathanw 
     20  1.64.2.2  nathanw ##
     21  1.64.2.2  nathanw ## (1) port identification
     22  1.64.2.2  nathanw ##
     23  1.64.2.2  nathanw ATARI=		$S/arch/atari
     24  1.64.2.2  nathanw GENASSYM=	${ATARI}/atari/genassym.cf
     25  1.64.2.2  nathanw 
     26  1.64.2.2  nathanw ##
     27  1.64.2.2  nathanw ## (2) compile settings
     28  1.64.2.2  nathanw ##
     29  1.64.2.2  nathanw CPPFLAGS+=	-Datari
     30  1.64.2.2  nathanw .if empty(IDENT:M-DM68060)
     31  1.64.2.2  nathanw CMACHFLAGS=	-m68020
     32  1.64.2.2  nathanw .else
     33  1.64.2.2  nathanw CMACHFLAGS=	-m68060 -Wa,-m68030
     34  1.64.2.2  nathanw .endif
     35  1.64.2.2  nathanw CFLAGS+=	${CMACHFLAGS} -msoft-float
     36  1.64.2.2  nathanw AFLAGS+=	-x assembler-with-cpp -traditional-cpp
     37  1.64.2.2  nathanw 
     38  1.64.2.2  nathanw ##
     39  1.64.2.2  nathanw ## (3) libkern and compat
     40  1.64.2.2  nathanw ##
     41  1.64.2.2  nathanw KERN_AS=	obj
     42  1.64.2.2  nathanw 
     43  1.64.2.2  nathanw ##
     44  1.64.2.2  nathanw ## (4) local objects, compile rules, and dependencies
     45  1.64.2.2  nathanw ##
     46  1.64.2.2  nathanw # for the Motorola 68040 Floating Point Software Product
     47  1.64.2.2  nathanw .include "$S/arch/m68k/fpsp/Makefile.inc"
     48  1.64.2.2  nathanw 
     49  1.64.2.2  nathanw # for the Motorola 68060 Software Support Package
     50  1.64.2.2  nathanw .include "$S/arch/m68k/060sp/Makefile.inc"
     51  1.64.2.2  nathanw 
     52  1.64.2.2  nathanw MD_OBJS=	locore.o ${FPSP}
     53  1.64.2.2  nathanw MD_CFILES=
     54  1.64.2.2  nathanw MD_SFILES=	${ATARI}/atari/locore.s
     55  1.64.2.2  nathanw 
     56  1.64.2.2  nathanw locore.o: ${ATARI}/atari/locore.s assym.h
     57  1.64.2.2  nathanw 	${NORMAL_S}
     58  1.64.2.2  nathanw 
     59  1.64.2.2  nathanw ##
     60  1.64.2.2  nathanw ## (5) link settings
     61  1.64.2.2  nathanw ##
     62  1.64.2.2  nathanw TEXTADDR?=	0
     63  1.64.2.2  nathanw LINKFORMAT=	-n
     64  1.64.2.2  nathanw 
     65  1.64.2.2  nathanw ##
     66  1.64.2.2  nathanw ## (6) port specific target dependencies
     67  1.64.2.2  nathanw ##
     68  1.64.2.2  nathanw 
     69  1.64.2.2  nathanw # depend on CPU configuration
     70  1.64.2.2  nathanw locore.o pmap.o sys_machdep.o: Makefile
     71  1.64.2.2  nathanw 
     72  1.64.2.2  nathanw ##
     73  1.64.2.2  nathanw ## (7) misc settings
     74  1.64.2.2  nathanw ##
     75  1.64.2.2  nathanw 
     76  1.64.2.2  nathanw ##
     77  1.64.2.2  nathanw ## (8) config(8) generated machinery
     78  1.64.2.2  nathanw ##
     79  1.64.2.2  nathanw %INCLUDES
     80  1.64.2.2  nathanw 
     81  1.64.2.2  nathanw %OBJS
     82  1.64.2.2  nathanw 
     83  1.64.2.2  nathanw %CFILES
     84  1.64.2.2  nathanw 
     85  1.64.2.2  nathanw %SFILES
     86  1.64.2.2  nathanw 
     87  1.64.2.2  nathanw %LOAD
     88  1.64.2.2  nathanw 
     89  1.64.2.2  nathanw %RULES
     90  1.64.2.2  nathanw 
     91  1.64.2.2  nathanw ##
     92  1.64.2.2  nathanw ## (9) port independent kernel machinery
     93  1.64.2.2  nathanw ##
     94  1.64.2.2  nathanw .include "$S/conf/Makefile.kern.inc"
     95