1 .
include "../../Makefile.inc1"
2 .
include "../Makefile.gld"
4 PROG_CXX
= incremental-dump
5 OBJS
= incremental-dump.o
6 COMMOBJS
= ${GOLD_COMMON
:S|^|
${.OBJDIR
:H
}/gold-linker
/|
:.
cc=.o
}
7 CFLAGS
+= -I
${.CURDIR
}/..
/..
/block2
/libgold
11 # The <bsd.obj.mk> prevents searching for object files in other
12 # directory's work area. In order to avoid building the COMMONOBJS
13 # twice, a custom target has to be applied, and the sources have to
14 # defined as OBJS, not SRCS for this to work.
16 incremental-dump
: ${OBJS} ${COMMOBJS}
17 ${CXX_LINK} ${CXXFLAGS} ${LDFLAGS} -o
${.TARGET
} \
18 ${OBJS} ${COMMOBJS} ${LDADD}
20 .
include <bsd.prog.mk
>