1 # $Id: Makefile 3601 2018-04-12 16:58:53Z jkoshy $
7 SRCS= elftc_bfdtarget.c \
10 elftc_reloc_type_str.c \
11 elftc_set_timestamps.c \
12 elftc_string_table.c \
15 libelftc_bfdtarget.c \
25 RELEASE= HEAD # Change this on release branches.
31 ELFTC_VERSION_FILE= ${.OBJDIR}/elftc_version.c
32 CLEANFILES+= ${ELFTC_VERSION_FILE}
37 elftc_bfd_find_target.3 \
40 elftc_reloc_type_str.3 \
41 elftc_set_timestamps.3 \
42 elftc_string_table_create.3 \
45 MLINKS= elftc_bfd_find_target.3 elftc_bfd_target_byteorder.3 \
46 elftc_bfd_find_target.3 elftc_bfd_target_class.3 \
47 elftc_bfd_find_target.3 elftc_bfd_target_flavor.3 \
48 elftc_string_table_create.3 elftc_string_table_from_section.3 \
49 elftc_string_table_create.3 elftc_string_table_destroy.3 \
50 elftc_string_table_create.3 elftc_string_table_image.3 \
51 elftc_string_table_create.3 elftc_string_table_insert.3 \
52 elftc_string_table_create.3 elftc_string_table_lookup.3
54 .if !make(clean) && !make(clobber) && !make(obj)
56 ${.CURDIR}/make-toolchain-version -t ${.CURDIR}/${TOP} \
57 -r ${RELEASE} -h ${OS_HOST} -o ${ELFTC_VERSION_FILE}
60 .include "${TOP}/mk/elftoolchain.lib.mk"