Annotation of kernel/conf/Makefile.i386, revision 1.1.1.1

1.1       root        1: ##
                      2: # Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
                      3: #
                      4: # @APPLE_LICENSE_HEADER_START@
                      5: # 
                      6: # Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
                      7: # Reserved.  This file contains Original Code and/or Modifications of
                      8: # Original Code as defined in and that are subject to the Apple Public
                      9: # Source License Version 1.1 (the "License").  You may not use this file
                     10: # except in compliance with the License.  Please obtain a copy of the
                     11: # License at http://www.apple.com/publicsource and read it before using
                     12: # this file.
                     13: # 
                     14: # The Original Code and all software distributed under the License are
                     15: # distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     16: # EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     17: # INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     18: # FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     19: # License for the specific language governing rights and limitations
                     20: # under the License.
                     21: # 
                     22: # @APPLE_LICENSE_HEADER_END@
                     23: ##
                     24: 
                     25: #
                     26: # Mach Operating System
                     27: # Copyright (c) 1986 Carnegie-Mellon University
                     28: # All rights reserved.  The CMU software License Agreement
                     29: # specifies the terms and conditions for use and redistribution.
                     30: #  
                     31: ######################################################################
                     32: 
                     33: ######################################################################
                     34: #BEGIN Machine dependent Makefile fragment for NeXT i386
                     35: ######################################################################
                     36: 
                     37: ifneq "" "$(wildcard /bin/mkdirs)"
                     38:   MKDIRS = /bin/mkdirs
                     39: else
                     40:   MKDIRS = /bin/mkdir -p
                     41: endif
                     42: 
                     43: #
                     44: #  Compilation components
                     45: #
                     46: CC=    cc
                     47: LD=    ld
                     48: 
                     49: KCC=cc -static -nostdinc -nostdlib -traditional-cpp
                     50: 
                     51: MACHINE_INCLUDES=
                     52: MACHINE_CFLAGS= -arch i386 -I$(SOURCE_DIR)/bsd/include \
                     53:        -fwritable-strings -fno-common -fpascal-strings
                     54: MACHINE_SFLAGS= -arch i386
                     55: LDFLAGS=-e _start  -segaddr __TEXT ${RELOC} \
                     56:        -segaddr __LINKEDIT ${SYMADDR} \
                     57:        -segalign 0x1000 \
                     58:        -force_cpusubtype_ALL \
                     59:        -u __muldi3
                     60: 
                     61: MACHINE=i386
                     62: 
                     63: LIBS_P= -lcc
                     64: LIBS= -lcc
                     65: 
                     66: PRELDDEPS=assym.h
                     67: 
                     68: LDOBJS_PREFIX= $(LIBC_OBJ) $(LIBC_UNROLL_OBJ)
                     69: LDOBJS_SUFFIX= $(LIBDRIVER_SOURCE)/$(LIBDRIVER) $(LIBOBJC_SOURCE)/$(LIBOBJC)
                     70: 
                     71: LDDEPS_PREFIX=
                     72: SWAPDEPS_PREFIX=
                     73: 
                     74: OBJSDEPS=
                     75: 
                     76: FEATURES_EXTRA=
                     77: 
                     78: LIBC_SRC=      memchr.c memcmp.c memcpy.c memmove.c memset.c pagesize.c
                     79: LIBC_OBJ=      $(LIBC_SRC:.c=.o)
                     80: 
                     81: $(LIBC_OBJ):
                     82:        ${KCC} $(COPTS) $(MACHINE_CFLAGS) -c -O4 $(MACHINEDIR)/libc/$*.c
                     83: 
                     84: LIBC_UNROLL_SRC=       strchr.c strrchr.c strlen.c \
                     85:                        strcpy.c strncpy.c strcat.c strncat.c \
                     86:                        strcmp.c strncmp.c index.c ffs.c
                     87: LIBC_UNROLL_OBJ=       $(LIBC_UNROLL_SRC:.c=.o)
                     88: 
                     89: $(LIBC_UNROLL_OBJ):
                     90:        ${KCC} $(COPTS) $(MACHINE_CFLAGS) -c -O4 -funroll-all-loops \
                     91:                                                        $(MACHINEDIR)/libc/$*.c
                     92: 
                     93: 
                     94: MACHINE_INSTALL=
                     95: 
                     96: #
                     97: # Install machine headers.
                     98: #
                     99: MACHINE_COMPATHDRS=
                    100: MACHINE_INSTALLHDRS= i386_installhdrs
                    101: 
                    102: MACHINE_EXPORT=    bsd/i386 bsd/dev/i386 kernserv/i386 mach/i386
                    103: MACHINE_LCLEXPORT= bsd/i386 bsd/dev/i386 mach/i386 kernserv/i386 machdep/i386 \
                    104:                        machdep/i386/pc_support driverkit/i386
                    105: MACHINE_MIGDIRS=   mach/i386
                    106: 
                    107: i386_installhdrs: features DSTROOT
                    108:        echo features = $(FEATURES)
                    109:        $(MKDIRS) ${DSTROOT}${LCLDIR}/machdep/i386
                    110:        install -c -m 444 ${FEATURES}                           \
                    111:                ${DSTROOT}${LCLDIR}/machdep/i386
                    112: 
                    113: MACHINE_TAG_DIRS=                                                      \
                    114:        bsd/i386 bsd/dev/i386 machdep/i386 bsd/if/i386 kernserv/i386    \
                    115:        mach/i386
                    116: 
                    117: #
                    118: # Local clean rule
                    119: #
                    120: MACHINE_CLEAN=i386_clean
                    121: 
                    122: i386_clean:
                    123:        rm -rf fpsp
                    124: 
                    125: cleanup: ALWAYS
                    126:        for i in ${TAGDIRS}; \
                    127:        do \
                    128:                (cd $(SOURCE_DIR)/$$i; rm -f *.CKP *.OLD *~ *.old core); \
                    129:        done
                    130: 
                    131: rebuild: clean cleanup features tags all boot
                    132:        @echo Don't forget to do a make install
                    133: 
                    134: ######################################################################
                    135: #END   Machine dependent Makefile fragment for NeXT i386
                    136: ######################################################################

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.