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