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

Annotation of sys/arch/macppc/stand/boot.mac/Makefile, Revision 1.1.1.1

1.1       nbrk        1: #      $OpenBSD: Makefile,v 1.3 2007/06/13 02:17:32 drahn Exp $
                      2: #       $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $
                      3:
                      4: S=      ${.CURDIR}/../../../..
                      5: R=              ..
                      6: .PATH:          $(.CURDIR)/$(R)
                      7: RELOC=         E00000
                      8: ENTRY=         _entry
                      9: PROG=           boot.mac
                     10: SRCS=           Locore.c main.c ofdev.c net.c netif_of.c alloc.c cache.c hfs.c
                     11: SRCS+=          boot.c conf.c cmd.c vars.c ctime.c strtol.c
                     12:
                     13: NOMAN=
                     14: INSTALL_STRIP=
                     15: BINDIR=         /usr/mdec
                     16: OBJCOPY?=      objcopy
                     17: OBJCOPY_ARGS=  -O aixcoff-rs6000 -R .comment -R .note
                     18: LDFLAGS=       -X -Ttext ${RELOC} -e $(ENTRY) -T ${.CURDIR}/elf32_powerpc_merge.x -Bstatic
                     19:
                     20: .PATH:          ${S}/stand/boot
                     21: .PATH:          ${S}/lib/libsa
                     22:
                     23: CPPFLAGS+=     -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
                     24: CPPFLAGS+=     -DRELOC=0x${RELOC} -DCONSPEED=57600
                     25: CPPFLAGS+=     -DXCOFF_GLUE            # for booting PCI Powermacs
                     26:
                     27: LIBS!=          cd $(.CURDIR)/$(R); $(MAKE) libdep
                     28: CLEANFILES=    fixcoff
                     29:
                     30: $(PROG):        $(OBJS) $(LIBS) fixcoff
                     31:        $(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o ${.TARGET}
                     32:        ${OBJCOPY} ${OBJCOPY_ARGS} ${.TARGET}
                     33:        ${.OBJDIR}/fixcoff ${.TARGET}
                     34:
                     35: fixcoff:       fixcoff.c
                     36:        ${HOSTCC} -I${.CURDIR} -o fixcoff ${.CURDIR}/fixcoff.c
                     37:
                     38: .include <bsd.prog.mk>

CVSweb