[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.166.4.3

1.166.4.1  rmind       1: #      $NetBSD$
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.166     tron       25: USE_SSP?=      yes
                     26:
1.119     atatat     27: ##
                     28: ## (1) port identification
                     29: ##
                     30: I386=          $S/arch/i386
1.138     christos   31: GENASSYM_CONF= ${I386}/i386/genassym.cf
1.119     atatat     32:
                     33: ##
                     34: ## (2) compile settings
                     35: ##
1.121     atatat     36: CPPFLAGS+=     -Di386
1.166.4.2  rmind      37:
1.166.4.3! rmind      38: AFLAGS.via_padlock.c= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
1.166.4.2  rmind      39: AFLAGS.mptramp.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
                     40: CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":?-Wno-error:}
1.166.4.3! rmind      41: AFLAGS.spl.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
        !            42: AFLAGS.lock_stubs.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
1.97      christos   43:
1.119     atatat     44: ##
1.120     lukem      45: ## (3) libkern and compat
1.119     atatat     46: ##
1.164     cube       47: OPT_MODULAR=   %MODULAR%
1.163     apb        48: .if !empty(OPT_MODULAR)
1.119     atatat     49: KERN_AS=       obj
1.137     dsl        50: .else
                     51: KERN_AS=       library
                     52: .endif
1.62      mycroft    53:
1.119     atatat     54: ##
                     55: ## (4) local objects, compile rules, and dependencies
                     56: ##
1.150     christos   57: MD_OBJS=       locore.o copy.o spl.o vector.o lock_stubs.o
1.119     atatat     58: MD_CFILES=
1.141     yamt       59: MD_SFILES=     ${I386}/i386/locore.S ${I386}/i386/copy.S ${I386}/i386/spl.S \
1.150     christos   60:                ${I386}/i386/vector.S ${I386}/i386/lock_stubs.S
1.1       cgd        61:
1.125     fvdl       62: locore.o: ${I386}/i386/locore.S assym.h
                     63:        ${NORMAL_S}
                     64:
1.141     yamt       65: copy.o: ${I386}/i386/copy.S assym.h
                     66:        ${NORMAL_S}
                     67:
1.125     fvdl       68: spl.o: ${I386}/i386/spl.S assym.h
                     69:        ${NORMAL_S}
                     70:
                     71: vector.o: ${I386}/i386/vector.S assym.h
1.129     christos   72:        ${NORMAL_S}
                     73:
1.150     christos   74: lock_stubs.o: ${I386}/i386/lock_stubs.S assym.h
                     75:        ${NORMAL_S}
                     76:
1.119     atatat     77: ##
                     78: ## (5) link settings
                     79: ##
1.116     thorpej    80: TEXTADDR?=     c0100000
1.122     atatat     81: LINKFLAGS_NORMAL=      -X
1.111     thorpej    82: KERN_LDSCRIPT?=        kern.ldscript
1.119     atatat     83: LINKFORMAT=    -T ${I386}/conf/${KERN_LDSCRIPT}
1.107     thorpej    84:
1.119     atatat     85: ##
                     86: ## (6) port specific target dependencies
                     87: ##
1.98      mrg        88:
1.161     joerg      89: freebsd_sigcode.o i386func.o ibcs2_sigcode.o linux_support.o: assym.h
                     90: linux_sigcode.o lock_stubs.o svr4_sigcode.o mach_sigcode.o: assym.h
1.158     joerg      91: apmcall.o cpufunc.o cpu_in_cksum.o pnpbioscall.o bioscall.o: assym.h
1.132     simonb     92: mptramp.o: assym.h
1.154     jmcneill   93: acpi_wakeup_low.o busfunc.o kvm86call.o: assym.h
1.119     atatat     94:
                     95: ##
                     96: ## (7) misc settings
                     97: ##
                     98:
1.165     tsutsui    99: .if !make(obj) && !make(clean) && !make(cleandir)
1.159     mrg       100: .BEGIN:
                    101:        @rm -f i386 && \
                    102:                ln -s $S/arch/i386/include i386
                    103: .endif
                    104:
1.119     atatat    105: ##
                    106: ## (8) config(8) generated machinery
                    107: ##
1.98      mrg       108: %INCLUDES
1.74      mycroft   109:
1.1       cgd       110: %OBJS
                    111:
                    112: %CFILES
                    113:
1.62      mycroft   114: %SFILES
                    115:
1.1       cgd       116: %LOAD
1.50      mycroft   117:
1.119     atatat    118: %RULES
1.1       cgd       119:
1.162     alc       120: ## Include rules for ACPI wakecode
1.154     jmcneill  121: .include "$S/arch/x86/acpi/Makefile.wakecode.inc"
1.133     jmc       122:
1.119     atatat    123: ##
                    124: ## (9) port independent kernel machinery
                    125: ##
                    126: .include "$S/conf/Makefile.kern.inc"
1.135     thorpej   127:
                    128: ##
                    129: ## (10) Appending make options.
                    130: ##
                    131: %MAKEOPTIONSAPPEND

CVSweb <webmaster@jp.NetBSD.org>