1 # $FreeBSD: src/lib/libelf/Makefile,v 1.6.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
7 elf_end.c elf_errmsg.c elf_errno.c \
57 GENSRCS
= libelf_fsize.c libelf_msize.c libelf_convert.c
58 CLEANFILES
= ${GENSRCS}
59 CFLAGS
+= -I.
-I
${.CURDIR
}
68 elf_end
.3 elf_errmsg
.3 \
110 elf_errmsg
.3 elf_errno
.3 \
111 elf_flagdata
.3 elf_flagehdr
.3 \
112 elf_flagdata
.3 elf_flagelf
.3 \
113 elf_flagdata
.3 elf_flagphdr
.3 \
114 elf_flagdata
.3 elf_flagscn
.3 \
115 elf_flagdata
.3 elf_flagshdr
.3 \
116 elf_getdata
.3 elf_newdata
.3 \
117 elf_getdata
.3 elf_rawdata
.3 \
118 elf_getscn
.3 elf_ndxscn
.3 \
119 elf_getscn
.3 elf_newscn
.3 \
120 elf_getscn
.3 elf_nextscn
.3 \
121 elf_getshstrndx
.3 elf_setshstrndx
.3 \
122 gelf_getcap
.3 gelf_update_cap
.3 \
123 gelf_getdyn
.3 gelf_update_dyn
.3 \
124 gelf_getmove
.3 gelf_update_move
.3 \
125 gelf_getrel
.3 gelf_update_rel
.3 \
126 gelf_getrela
.3 gelf_update_rela
.3 \
127 gelf_getsym
.3 gelf_update_sym
.3 \
128 gelf_getsyminfo
.3 gelf_update_syminfo
.3 \
129 gelf_getsymshndx
.3 gelf_update_symshndx
.3 \
130 gelf_update_ehdr
.3 gelf_update_phdr
.3 \
131 gelf_update_ehdr
.3 gelf_update_shdr
.3 \
132 gelf_xlatetof
.3 gelf_xlatetom
.3
136 gelf_checksum
.3 elf
${E}_checksum
.3 \
137 gelf_fsize
.3 elf
${E}_fsize
.3 \
138 gelf_getehdr
.3 elf
${E}_getehdr
.3 \
139 gelf_getphdr
.3 elf
${E}_getphdr
.3 \
140 gelf_getshdr
.3 elf
${E}_getshdr
.3 \
141 gelf_newehdr
.3 elf
${E}_newehdr
.3 \
142 gelf_newphdr
.3 elf
${E}_newphdr
.3 \
143 gelf_xlatetof
.3 elf
${E}_xlatetof
.3 \
144 gelf_xlatetof
.3 elf
${E}_xlatetom
.3
147 VERSION_MAP
= ${.CURDIR
}/Version.map
149 LIBELF_TEST_HOOKS?
= 1
150 .if defined
(LIBELF_TEST_HOOKS
) && (${LIBELF_TEST_HOOKS} > 0)
151 CFLAGS
+= -DLIBELF_TEST_HOOKS
154 libelf_convert.c
: elf_types.m4 libelf_convert.m4
155 libelf_fsize.c
: elf_types.m4 libelf_fsize.m4
156 libelf_msize.c
: elf_types.m4 libelf_msize.m4
158 .
include <bsd.lib.mk
>
160 # Keep the .SUFFIXES line after the include of bsd.lib.mk
163 m4
-D SRCDIR
=${.CURDIR
} ${.IMPSRC
} > ${.TARGET
}