File:  [DragonFly] / src / gnu / usr.bin / binutils / ld / Attic / Makefile.alpha
Revision 1.2: download - view: text, annotated - select for diffs
Tue Jun 17 04:25:44 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

    1: # $FreeBSD: src/gnu/usr.bin/binutils/ld/Makefile.alpha,v 1.7.2.5 2002/09/01 23:39:14 obrien Exp $
    2: # $DragonFly: src/gnu/usr.bin/binutils/ld/Makefile.alpha,v 1.2 2003/06/17 04:25:44 dillon Exp $
    3: 
    4: TARGET_TUPLE?=	alpha-unknown-freebsd
    5: 
    6: .if ${TARGET_ARCH} == "alpha"
    7: NATIVE_EMULATION=	elf64alpha
    8: HOST=	${TARGET_TUPLE}
    9: CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
   10: CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
   11: _alpha_path=	\"${TOOLS_PREFIX}/usr/lib\"
   12: .else
   13: _alpha_path=	\"/usr/cross/alpha-freebsd/usr/lib\"
   14: .endif
   15: EMS+=		${NATIVE_EMULATION}
   16: LDSCRIPTS+=	${NATIVE_EMULATION}.x ${NATIVE_EMULATION}.xbn ${NATIVE_EMULATION}.xn ${NATIVE_EMULATION}.xr \
   17: 		${NATIVE_EMULATION}.xs ${NATIVE_EMULATION}.xu alpha.x alpha.xbn \
   18: 		alpha.xn alpha.xr alpha.xu ${NATIVE_EMULATION}.xc ${NATIVE_EMULATION}.xsc
   19: SRCS+=	e${NATIVE_EMULATION}.c ealpha.c
   20: CLEANFILES+=	e${NATIVE_EMULATION}.c ealpha.c
   21: 
   22: e${NATIVE_EMULATION}.c:	emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
   23: 		scripttempl/elf.sc genscripts.sh stringify.sed
   24: 	sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_alpha_path} \
   25: 	    ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
   26: 	    ${NATIVE_EMULATION} ""  ${NATIVE_EMULATION} ${TARGET_TUPLE}
   27: 
   28: ealpha.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em scripttempl/elf.sc \
   29:     genscripts.sh stringify.sed
   30: 	sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_alpha_path} \
   31: 	    ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
   32: 	    ${NATIVE_EMULATION} ""  alpha ${TARGET_TUPLE}