[BACK]Return to Makefile.i386 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / conf

Annotation of src/sys/arch/i386/conf/Makefile.i386, Revision 1.125

1.125   ! fvdl        1: #      $NetBSD: Makefile.i386,v 1.124 2002/11/02 07:59:26 perry Exp $
1.62      mycroft     2:
1.8       cgd         3: # Makefile for NetBSD
1.1       cgd         4: #
                      5: # This makefile is constructed from a machine description:
                      6: #      config machineid
                      7: # Most changes should be made in the machine description
1.36      deraadt     8: #      /sys/arch/i386/conf/``machineid''
1.1       cgd         9: # after which you should do
1.62      mycroft    10: #      config machineid
                     11: # Machine generic makefile changes should be made in
1.36      deraadt    12: #      /sys/arch/i386/conf/Makefile.i386
1.42      mycroft    13: # after which config should be rerun for all machines of that type.
1.119     atatat     14: #
1.120     lukem      15: # To specify debugging, add the config line: makeoptions DEBUG="-g"
1.119     atatat     16: # A better way is to specify -g only for a few files.
                     17: #
                     18: #      makeoptions DEBUGLIST="uvm* trap if_*"
1.117     thorpej    19:
1.119     atatat     20: MACHINE_ARCH=  i386
1.118     jmc        21: USETOOLS?=     no
1.119     atatat     22: NEED_OWN_INSTALL_TARGET?=no
                     23: .include <bsd.own.mk>
1.42      mycroft    24:
1.119     atatat     25: ##
                     26: ## (1) port identification
                     27: ##
                     28: I386=          $S/arch/i386
                     29: GENASSYM=      ${I386}/i386/genassym.cf
                     30:
                     31: ##
                     32: ## (2) compile settings
                     33: ##
1.121     atatat     34: CPPFLAGS+=     -Di386
1.123     thorpej    35: .if defined(HAVE_GCC3)
                     36: AFLAGS+=       -x assembler-with-cpp
                     37: .else
1.121     atatat     38: AFLAGS+=       -x assembler-with-cpp -traditional-cpp
1.123     thorpej    39: .endif
1.97      christos   40:
1.119     atatat     41: ##
1.120     lukem      42: ## (3) libkern and compat
1.119     atatat     43: ##
                     44: KERN_AS=       obj
1.62      mycroft    45:
1.119     atatat     46: ##
                     47: ## (4) local objects, compile rules, and dependencies
                     48: ##
1.125   ! fvdl       49: MD_OBJS=       locore.o spl.o vector.o
1.119     atatat     50: MD_CFILES=
1.125   ! fvdl       51: MD_SFILES=     ${I386}/i386/locore.S
1.1       cgd        52:
1.125   ! fvdl       53: locore.o: ${I386}/i386/locore.S assym.h
        !            54:        ${NORMAL_S}
        !            55:
        !            56: spl.o: ${I386}/i386/spl.S assym.h
        !            57:        ${NORMAL_S}
        !            58:
        !            59: vector.o: ${I386}/i386/vector.S assym.h
1.119     atatat     60:        ${NORMAL_S}
1.116     thorpej    61:
1.119     atatat     62: ##
                     63: ## (5) link settings
                     64: ##
1.116     thorpej    65: TEXTADDR?=     c0100000
1.122     atatat     66: LINKFLAGS_NORMAL=      -X
1.97      christos   67: .if (${OBJECT_FMT} == "ELF")
1.111     thorpej    68: KERN_LDSCRIPT?=        kern.ldscript
1.119     atatat     69: LINKFORMAT=    -T ${I386}/conf/${KERN_LDSCRIPT}
1.97      christos   70: .else
1.119     atatat     71: LINKFORMAT=    -z
1.107     thorpej    72: .endif
                     73:
1.119     atatat     74: ##
                     75: ## (6) port specific target dependencies
                     76: ##
1.98      mrg        77:
1.119     atatat     78: freebsd_sigcode.o ibcs2_sigcode.o linux_sigcode.o svr4_sigcode.o: assym.h
                     79: apmcall.o in_cksum.o pnpbioscall.o: assym.h
                     80:
                     81: ##
                     82: ## (7) misc settings
                     83: ##
                     84:
                     85: ##
                     86: ## (8) config(8) generated machinery
                     87: ##
1.98      mrg        88: %INCLUDES
1.74      mycroft    89:
1.1       cgd        90: %OBJS
                     91:
                     92: %CFILES
                     93:
1.62      mycroft    94: %SFILES
                     95:
1.1       cgd        96: %LOAD
1.50      mycroft    97:
1.119     atatat     98: %RULES
1.1       cgd        99:
1.119     atatat    100: ##
                    101: ## (9) port independent kernel machinery
                    102: ##
                    103: .include "$S/conf/Makefile.kern.inc"

CVSweb <webmaster@jp.NetBSD.org>