Home | History | Annotate | Line # | Download | only in conf
Makefile.atari revision 1.62.2.2
      1  1.62.2.2  jdolecek #	$NetBSD: Makefile.atari,v 1.62.2.2 2002/06/23 17:35:14 jdolecek 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.1       leo 
     15  1.62.2.1   thorpej MACHINE_ARCH=m68k
     16  1.62.2.1   thorpej USETOOLS?=	no
     17  1.62.2.1   thorpej NEED_OWN_INSTALL_TARGET?=no
     18  1.62.2.1   thorpej .include <bsd.own.mk>
     19  1.62.2.1   thorpej 
     20  1.62.2.1   thorpej ##
     21  1.62.2.1   thorpej ## (1) port identification
     22  1.62.2.1   thorpej ##
     23  1.62.2.1   thorpej ATARI=		$S/arch/atari
     24  1.62.2.1   thorpej GENASSYM=	${ATARI}/atari/genassym.cf
     25  1.62.2.1   thorpej 
     26  1.62.2.1   thorpej ##
     27  1.62.2.1   thorpej ## (2) compile settings
     28  1.62.2.1   thorpej ##
     29  1.62.2.1   thorpej CPPFLAGS+=	-Datari
     30      1.45        is .if empty(IDENT:M-DM68060)
     31      1.33       leo CMACHFLAGS=	-m68020
     32      1.33       leo .else
     33      1.33       leo CMACHFLAGS=	-m68060 -Wa,-m68030
     34      1.33       leo .endif
     35  1.62.2.1   thorpej CFLAGS+=	${CMACHFLAGS} -msoft-float
     36  1.62.2.2  jdolecek .if defined(HAVE_GCC3)
     37  1.62.2.2  jdolecek AFLAGS+=	-x assembler-with-cpp
     38  1.62.2.2  jdolecek .else
     39  1.62.2.1   thorpej AFLAGS+=	-x assembler-with-cpp -traditional-cpp
     40  1.62.2.2  jdolecek .endif
     41      1.53       mrg 
     42  1.62.2.1   thorpej ##
     43  1.62.2.1   thorpej ## (3) libkern and compat
     44  1.62.2.1   thorpej ##
     45      1.48  drochner KERN_AS=	obj
     46       1.4  christos 
     47  1.62.2.1   thorpej ##
     48  1.62.2.1   thorpej ## (4) local objects, compile rules, and dependencies
     49  1.62.2.1   thorpej ##
     50  1.62.2.1   thorpej # for the Motorola 68040 Floating Point Software Product
     51       1.1       leo .include "$S/arch/m68k/fpsp/Makefile.inc"
     52       1.1       leo 
     53  1.62.2.1   thorpej # for the Motorola 68060 Software Support Package
     54      1.33       leo .include "$S/arch/m68k/060sp/Makefile.inc"
     55      1.33       leo 
     56  1.62.2.1   thorpej MD_OBJS=	locore.o ${FPSP}
     57  1.62.2.1   thorpej MD_CFILES=
     58  1.62.2.1   thorpej MD_SFILES=	${ATARI}/atari/locore.s
     59  1.62.2.1   thorpej 
     60  1.62.2.1   thorpej locore.o: ${ATARI}/atari/locore.s assym.h
     61  1.62.2.1   thorpej 	${NORMAL_S}
     62  1.62.2.1   thorpej 
     63  1.62.2.1   thorpej ##
     64  1.62.2.1   thorpej ## (5) link settings
     65  1.62.2.1   thorpej ##
     66  1.62.2.1   thorpej TEXTADDR?=	0
     67  1.62.2.1   thorpej LINKFORMAT=	-n
     68  1.62.2.1   thorpej 
     69  1.62.2.1   thorpej ##
     70  1.62.2.1   thorpej ## (6) port specific target dependencies
     71  1.62.2.1   thorpej ##
     72       1.1       leo 
     73  1.62.2.1   thorpej # depend on CPU configuration
     74  1.62.2.1   thorpej locore.o pmap.o sys_machdep.o: Makefile
     75       1.1       leo 
     76  1.62.2.1   thorpej ##
     77  1.62.2.1   thorpej ## (7) misc settings
     78  1.62.2.1   thorpej ##
     79  1.62.2.1   thorpej 
     80  1.62.2.1   thorpej ##
     81  1.62.2.1   thorpej ## (8) config(8) generated machinery
     82  1.62.2.1   thorpej ##
     83  1.62.2.1   thorpej %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.1       leo %RULES
     94  1.62.2.1   thorpej 
     95  1.62.2.1   thorpej ##
     96  1.62.2.1   thorpej ## (9) port independent kernel machinery
     97  1.62.2.1   thorpej ##
     98  1.62.2.1   thorpej .include "$S/conf/Makefile.kern.inc"
     99