1*a85fe12eSEd Maste# $Id: Makefile 2859 2013-01-05 09:21:54Z jkoshy $ 2*a85fe12eSEd Maste 3*a85fe12eSEd MasteTOP= ${.CURDIR}/.. 4*a85fe12eSEd Maste 5*a85fe12eSEd MasteLIB= elftc 6*a85fe12eSEd Maste 7*a85fe12eSEd MasteSRCS= elftc_bfdtarget.c \ 8*a85fe12eSEd Maste elftc_copyfile.c \ 9*a85fe12eSEd Maste elftc_demangle.c \ 10*a85fe12eSEd Maste elftc_set_timestamps.c \ 11*a85fe12eSEd Maste elftc_string_table.c \ 12*a85fe12eSEd Maste elftc_version.c \ 13*a85fe12eSEd Maste libelftc_bfdtarget.c \ 14*a85fe12eSEd Maste libelftc_dem_arm.c \ 15*a85fe12eSEd Maste libelftc_dem_gnu2.c \ 16*a85fe12eSEd Maste libelftc_dem_gnu3.c \ 17*a85fe12eSEd Maste libelftc_hash.c \ 18*a85fe12eSEd Maste libelftc_vstr.c 19*a85fe12eSEd Maste 20*a85fe12eSEd MasteINCS= libelftc.h 21*a85fe12eSEd MasteINCSDIR= /usr/include 22*a85fe12eSEd Maste 23*a85fe12eSEd MasteRELEASE= HEAD # Change this on release branches. 24*a85fe12eSEd Maste 25*a85fe12eSEd MasteSHLIB_MAJOR= 1 26*a85fe12eSEd Maste 27*a85fe12eSEd MasteWARNS?= 6 28*a85fe12eSEd Maste 29*a85fe12eSEd MasteCLEANFILES+= elftc_version.c 30*a85fe12eSEd Maste 31*a85fe12eSEd MasteLDADD+= -lelf 32*a85fe12eSEd Maste 33*a85fe12eSEd MasteMAN= elftc.3 \ 34*a85fe12eSEd Maste elftc_bfd_find_target.3 \ 35*a85fe12eSEd Maste elftc_copyfile.3 \ 36*a85fe12eSEd Maste elftc_demangle.3 \ 37*a85fe12eSEd Maste elftc_set_timestamps.3 \ 38*a85fe12eSEd Maste elftc_string_table_create.3 \ 39*a85fe12eSEd Maste elftc_version.3 40*a85fe12eSEd Maste 41*a85fe12eSEd MasteMLINKS= elftc_bfd_find_target.3 elftc_bfd_target_byteorder.3 \ 42*a85fe12eSEd Maste elftc_bfd_find_target.3 elftc_bfd_target_class.3 \ 43*a85fe12eSEd Maste elftc_bfd_find_target.3 elftc_bfd_target_flavor.3 \ 44*a85fe12eSEd Maste elftc_string_table_create.3 elftc_string_table_from_section.3 \ 45*a85fe12eSEd Maste elftc_string_table_create.3 elftc_string_table_destroy.3 \ 46*a85fe12eSEd Maste elftc_string_table_create.3 elftc_string_table_image.3 \ 47*a85fe12eSEd Maste elftc_string_table_create.3 elftc_string_table_insert.3 \ 48*a85fe12eSEd Maste elftc_string_table_create.3 elftc_string_table_lookup.3 \ 49*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_create_nested.3 \ 50*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_delete_name.3 \ 51*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_delete_entry.3 \ 52*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_destroy.3 \ 53*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_from_section.3 \ 54*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_insert.3 \ 55*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_iterate.3 \ 56*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_lookup.3 \ 57*a85fe12eSEd Maste elftc_symbol_table_create.3 elftc_symbol_table_to_image.3 58*a85fe12eSEd Maste 59*a85fe12eSEd Maste.if !make(clean) && !make(clobber) 60*a85fe12eSEd Maste.BEGIN: .SILENT 61*a85fe12eSEd Maste ${.CURDIR}/make-toolchain-version -t ${TOP} -r ${RELEASE} \ 62*a85fe12eSEd Maste -h ${OS_HOST} 63*a85fe12eSEd Maste.endif 64*a85fe12eSEd Maste 65*a85fe12eSEd Maste.include "${TOP}/mk/elftoolchain.lib.mk" 66