Makefile (58683) | Makefile (60777) |
---|---|
1# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile 58683 2000-03-27 18:02:04Z bde $ | 1# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile 60777 2000-05-22 08:09:42Z obrien $ |
2 3.include "../Makefile.inc0" 4 5.PATH: ${SRCDIR}/ld 6 7PROG= ld 8SCRIPTDIR= /usr/libdata/ldscripts 9SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \ 10 ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \ 11 ldver.c ldwrite.c lexsup.c mri.c 12CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\" 13CFLAGS+= -I${SRCDIR}/ld | 2 3.include "../Makefile.inc0" 4 5.PATH: ${SRCDIR}/ld 6 7PROG= ld 8SCRIPTDIR= /usr/libdata/ldscripts 9SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \ 10 ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \ 11 ldver.c ldwrite.c lexsup.c mri.c 12CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\" 13CFLAGS+= -I${SRCDIR}/ld |
14CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\" |
|
14DPADD= ${RELTOP}/libbfd/libbfd.a 15DPADD+= ${RELTOP}/libiberty/libiberty.a 16LDADD= ${DPADD} 17CLEANDIRS+= ldscripts | 15DPADD= ${RELTOP}/libbfd/libbfd.a 16DPADD+= ${RELTOP}/libiberty/libiberty.a 17LDADD= ${DPADD} 18CLEANDIRS+= ldscripts |
18CLEANFILES+= ldemul-list.h | 19CLEANFILES+= ldemul-list.h stringify.sed |
19 20# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU 21# binutils release. FreeBSD only distributes the bits that are required to 22# build native architectures. BINUTILSDISTDIR is needed to build cross tools. 23.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) 24.PATH: ${BINUTILSDISTDIR}/ld 25CFLAGS+= -I${BINUTILSDISTDIR}/ld 26.endif --- 4 unchanged lines hidden (view full) --- 31EMXFR+= extern ld_emulation_xfer_type ${_e}; 32EMLST+= &${_e}, 33.endfor 34 35ldemul-list.h: 36 echo "${EMXFR}" > ldemul-list.h 37 echo "#define EMULATION_LIST ${EMLST} 0" >> ldemul-list.h 38 | 20 21# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU 22# binutils release. FreeBSD only distributes the bits that are required to 23# build native architectures. BINUTILSDISTDIR is needed to build cross tools. 24.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) 25.PATH: ${BINUTILSDISTDIR}/ld 26CFLAGS+= -I${BINUTILSDISTDIR}/ld 27.endif --- 4 unchanged lines hidden (view full) --- 32EMXFR+= extern ld_emulation_xfer_type ${_e}; 33EMLST+= &${_e}, 34.endfor 35 36ldemul-list.h: 37 echo "${EMXFR}" > ldemul-list.h 38 echo "#define EMULATION_LIST ${EMLST} 0" >> ldemul-list.h 39 |
40stringify.sed: 41 ln -sf ${SRCDIR}/ld/emultempl/stringify.sed ${.TARGET} 42 |
|
39afterinstall: 40 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 41 ${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR} 42 43.include <bsd.prog.mk> | 43afterinstall: 44 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 45 ${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR} 46 47.include <bsd.prog.mk> |