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