Home | History | Annotate | Line # | Download | only in conf
Makefile.x68k revision 1.55.8.1
      1  1.55.8.1   gehenna #	$NetBSD: Makefile.x68k,v 1.55.8.1 2002/07/15 01:41:06 gehenna Exp $
      2      1.51   minoura #
      3       1.1       oki # Makefile for NetBSD
      4       1.1       oki #
      5       1.1       oki # This makefile is constructed from a machine description:
      6       1.1       oki #	config machineid
      7       1.1       oki # Most changes should be made in the machine description
      8       1.1       oki #	/sys/arch/x68k/conf/``machineid''
      9       1.1       oki # after which you should do
     10       1.1       oki #	config machineid
     11       1.1       oki # Machine generic makefile changes should be made in
     12       1.1       oki #	/sys/arch/x68k/conf/Makefile.x68k
     13       1.1       oki # after which config should be rerun for all machines of that type.
     14      1.55   minoura #
     15      1.55   minoura # To specify debugging, add the config line: makeoptions DEBUG="-g"
     16      1.55   minoura # A better way is to specify -g only for a few files.
     17      1.55   minoura #
     18      1.55   minoura #	makeoptions DEBUGLIST="uvm* trap if_*"
     19      1.52   thorpej 
     20      1.52   thorpej MACHINE_ARCH=m68k
     21      1.53       jmc USETOOLS?=	no
     22      1.55   minoura NEED_OWN_INSTALL_TARGET?=no
     23      1.34   minoura .include <bsd.own.mk>
     24      1.34   minoura 
     25      1.55   minoura ##
     26      1.55   minoura ## (1) port identification
     27      1.55   minoura ##
     28      1.55   minoura X68K=		$S/arch/x68k
     29      1.55   minoura GENASSYM=	${X68K}/x68k/genassym.cf
     30      1.55   minoura 
     31      1.55   minoura ##
     32      1.55   minoura ## (2) compile settings
     33      1.55   minoura ##
     34      1.55   minoura CPPFLAGS+=	-Dx68k
     35  1.55.8.1   gehenna .if defined(HAVE_GCC3)
     36  1.55.8.1   gehenna AFLAGS+=	-x assembler-with-cpp
     37  1.55.8.1   gehenna .else
     38      1.55   minoura AFLAGS+=	-x assembler-with-cpp -traditional-cpp
     39  1.55.8.1   gehenna .endif
     40      1.49   minoura CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
     41      1.55   minoura CFLAGS+=	${CMACHFLAGS} -msoft-float
     42      1.36       mrg 
     43      1.55   minoura ##
     44      1.55   minoura ## (3) libkern and compat
     45      1.55   minoura ##
     46      1.29  drochner KERN_AS=	obj
     47       1.1       oki 
     48      1.55   minoura ##
     49      1.55   minoura ## (4) local objects, compile rules, and dependencies
     50      1.55   minoura ##
     51      1.55   minoura # for the Motorola 68040 Floating Point Software Product
     52       1.1       oki .include "$S/arch/m68k/fpsp/Makefile.inc"
     53       1.3       oki 
     54      1.55   minoura # for the Motorola 68060 Software Support Package
     55       1.3       oki .include "$S/arch/m68k/060sp/Makefile.inc"
     56       1.1       oki 
     57      1.55   minoura MD_OBJS=	locore.o ${FPSP}
     58      1.55   minoura MD_CFILES=
     59      1.55   minoura MD_SFILES=	${X68K}/x68k/locore.s
     60       1.1       oki 
     61      1.55   minoura locore.o: ${X68K}/x68k/locore.s assym.h Makefile
     62      1.55   minoura 	${NORMAL_S}
     63       1.1       oki 
     64      1.55   minoura ##
     65      1.55   minoura ## (5) link settings
     66      1.55   minoura ##
     67      1.55   minoura TEXTADDR?=	0
     68      1.55   minoura LINKFORMAT=	-n
     69      1.55   minoura 
     70      1.55   minoura ##
     71      1.55   minoura ## (6) port specific target dependencies
     72      1.55   minoura ##
     73       1.1       oki 
     74       1.1       oki # depend on root or device configuration
     75       1.1       oki autoconf.o conf.o: Makefile
     76      1.54     lukem 
     77       1.1       oki # depend on maxusers
     78      1.15       oki machdep.o: Makefile
     79       1.1       oki 
     80      1.34   minoura # depend on DEBUG and/or DIAGNOSTIC options
     81      1.34   minoura grf.o par.o sram.o: Makefile
     82      1.34   minoura intio_dmac.o mfp.o neptune.o opm.o scsirom.o xel.o zs.o bus.o: Makefile
     83      1.34   minoura intio.o vm_machdep.o: Makefile
     84       1.1       oki 
     85      1.55   minoura ##
     86      1.55   minoura ## (7) misc settings
     87      1.55   minoura ##
     88      1.55   minoura 
     89      1.55   minoura 
     90      1.55   minoura 
     91      1.55   minoura ##
     92      1.55   minoura ## (8) config(8) generated machinery
     93      1.55   minoura ##
     94      1.55   minoura %INCLUDES
     95      1.55   minoura 
     96      1.55   minoura %OBJS
     97      1.55   minoura 
     98      1.55   minoura %CFILES
     99       1.1       oki 
    100      1.55   minoura %SFILES
    101      1.45   hubertf 
    102      1.55   minoura %LOAD
    103       1.1       oki 
    104       1.1       oki %RULES
    105      1.55   minoura 
    106      1.55   minoura ##
    107      1.55   minoura ## (9) port independent kernel machinery
    108      1.55   minoura ##
    109      1.55   minoura .include "$S/conf/Makefile.kern.inc"
    110