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