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