gdb - Local mods (compile)
[dragonfly.git] / gnu / usr.bin / binutils225 / block2 / Makefile.block2
1 # This is included explicitly at the top of each sub-Makefile.  We can't
2 # use the normal "Makefile.inc" mechanism, because we need some of these
3 # definitions before the sub-Makefile is processed.
4
5 RELTOP:= ../..
6
7 # RELTOP is the relative path to this point in the source or object
8 # tree, from any subdirectory of same.  It gets extra "../" prefixes
9 # added to it as we descend into subdirectories.
10
11 RELSRC= ${RELTOP}/../../../contrib/binutils-2.25
12 SRCDIR= ${.CURDIR}/${RELSRC}
13 BINTOP= ${.CURDIR}/${RELTOP}
14 OBJTOP= ${.OBJDIR}/${RELTOP}
15
16 CFLAGS+=        -I${OBJTOP}/block1/bulibs
17 CFLAGS+=        -I${BINTOP}/block1/bulibs
18 CFLAGS+=        -I${SRCDIR}/include
19 CFLAGS+=        -I${SRCDIR}/bfd
20
21 LDADD_BU=       ${OBJTOP}/block1/bulibs/libbu.a
22 LDADD_BFD=      ${OBJTOP}/block1/libbfd/libbfd.a
23 LDADD_IBERTY=   ${OBJTOP}/block1/libiberty/libiberty.a
24 LDADD_OPCODE=   ${OBJTOP}/block1/libopcodes/libopcodes.a
25
26 STD_LDADD=      ${LDADD_BU} ${LDADD_BFD} ${LDADD_IBERTY}
27
28 bfd_stdint.h:
29         touch ${.TARGET}