[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / sys / arch / jornada / stand / boot

Annotation of sys/arch/jornada/stand/boot/Makefile, Revision 1.1.1.1

1.1       nbrk        1: #      $OpenBSD: Makefile,v 1.4 2006/07/29 15:01:49 kettenis Exp $
                      2:
                      3: NOMAN=
                      4:
                      5: .if ${MACHINE} == "armish"
                      6: PROG=          boot
                      7: S=             ${.CURDIR}/../../../..
                      8:
                      9: .PATH:         ${S}/stand/boot
                     10: .PATH:         ${S}/lib/libsa
                     11:
                     12: CPPFLAGS+=     -D_STANDALONE
                     13: CPPFLAGS+=     -nostdinc -I../.. -I. -I${.CURDIR} -I${S}
                     14: CPPFLAGS+=     -DCONADDR=0xfe800000UL -DCONSPEED=115200
                     15:
                     16: COPTS+=                -ffreestanding -fno-stack-protector
                     17:
                     18: SRCS=          start.S
                     19: SRCS+=         boot.c cmd.c vars.c
                     20: SRCS+=         conf.c devopen.c exec.c machdep.c dev_armish.c time.c
                     21: SRCS+=         clock.c ns16550.c wd.c wdc.c pciide.c
                     22: SRCS+=         ctime.c strtol.c
                     23:
                     24: ### find out what to use for libkern
                     25: KERN_AS=        library
                     26: .include "${S}/lib/libkern/Makefile.inc"
                     27: LIBKERN=        ${KERNLIB}
                     28:
                     29: ### find out what to use for libsa
                     30: SA_AS=          library
                     31: SAREL=
                     32: USE_LOADFILE=  yes
                     33: .include "${S}/lib/libsa/Makefile.inc"
                     34: LIBSA=          ${SALIB}
                     35:
                     36: LDFLAGS=       -T ${.CURDIR}/ldscript
                     37:
                     38: ${PROG}: ${OBJS} ${LIBKERN} ${LIBSA}
                     39:        ${LD} ${LDFLAGS} -o boot ${OBJS} ${LIBSA} ${LIBKERN} ${LIBSA}
                     40:
                     41: .if !make(obj)
                     42: .BEGIN:
                     43:        @([ -h machine ] || ln -s ${.CURDIR}/../../../${MACHINE}/include machine)
                     44:        @([ -h arm ] || ln -s ${.CURDIR}/../../../arm/include arm)
                     45: .NOPATH: machine arm
                     46: CLEANFILES+=   machine arm
                     47: .endif
                     48:
                     49: .else
                     50: NOPROG=
                     51: .endif
                     52:
                     53: .include <bsd.prog.mk>

CVSweb