Home | History | Annotate | Download | only in libelf
      1 # Makefile.in generated by automake 1.9.2 from Makefile.am.
      2 # libelf/Makefile.  Generated from Makefile.in by configure.
      3 
      4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
      5 # 2003, 2004  Free Software Foundation, Inc.
      6 # This Makefile.in is free software; the Free Software Foundation
      7 # gives unlimited permission to copy and/or distribute it,
      8 # with or without modifications, as long as this notice is preserved.
      9 
     10 # This program is distributed in the hope that it will be useful,
     11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13 # PARTICULAR PURPOSE.
     14 
     15 
     16 
     17 
     18 
     19 SOURCES = $(libelf_a_SOURCES) $(libelf_pic_a_SOURCES) $(libelf_so_SOURCES)
     20 
     21 srcdir = .
     22 top_srcdir = ..
     23 
     24 pkgdatadir = $(datadir)/elfutils
     25 pkglibdir = $(libdir)/elfutils
     26 pkgincludedir = $(includedir)/elfutils
     27 top_builddir = ..
     28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     29 INSTALL = /usr/bin/install -c
     30 install_sh_DATA = $(install_sh) -c -m 644
     31 install_sh_PROGRAM = $(install_sh) -c
     32 install_sh_SCRIPT = $(install_sh) -c
     33 INSTALL_HEADER = $(INSTALL_DATA)
     34 transform = $(program_transform_name)
     35 NORMAL_INSTALL = :
     36 PRE_INSTALL = :
     37 POST_INSTALL = :
     38 NORMAL_UNINSTALL = :
     39 PRE_UNINSTALL = :
     40 POST_UNINSTALL = :
     41 build_triplet = i686-pc-linux-gnu
     42 host_triplet = i686-pc-linux-gnu
     43 noinst_PROGRAMS = $(am__EXEEXT_1)
     44 #am_libelf_pic_a_OBJECTS =
     45 subdir = libelf
     46 DIST_COMMON = $(euinclude_HEADERS) $(include_HEADERS) \
     47 	$(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     48 	ChangeLog
     49 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     50 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
     51 	$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
     52 	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     53 	$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
     54 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     55 	$(ACLOCAL_M4)
     56 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
     57 CONFIG_HEADER = $(top_builddir)/config.h
     58 CONFIG_CLEAN_FILES =
     59 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     60 am__vpath_adj = case $$p in \
     61     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     62     *) f=$$p;; \
     63   esac;
     64 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     65 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(euincludedir)" \
     66 	"$(DESTDIR)$(includedir)"
     67 libLIBRARIES_INSTALL = $(INSTALL_DATA)
     68 LIBRARIES = $(lib_LIBRARIES) $(noinst_LIBRARIES)
     69 AR = ar
     70 ARFLAGS = cru
     71 libelf_a_AR = $(AR) $(ARFLAGS)
     72 libelf_a_LIBADD =
     73 am_libelf_a_OBJECTS = elf_version.$(OBJEXT) elf_hash.$(OBJEXT) \
     74 	elf_error.$(OBJEXT) elf_fill.$(OBJEXT) elf_begin.$(OBJEXT) \
     75 	elf_next.$(OBJEXT) elf_rand.$(OBJEXT) elf_end.$(OBJEXT) \
     76 	elf_kind.$(OBJEXT) gelf_getclass.$(OBJEXT) \
     77 	elf_getbase.$(OBJEXT) elf_getident.$(OBJEXT) \
     78 	elf32_fsize.$(OBJEXT) elf64_fsize.$(OBJEXT) \
     79 	gelf_fsize.$(OBJEXT) elf32_xlatetof.$(OBJEXT) \
     80 	elf32_xlatetom.$(OBJEXT) elf64_xlatetof.$(OBJEXT) \
     81 	elf64_xlatetom.$(OBJEXT) gelf_xlate.$(OBJEXT) \
     82 	elf32_getehdr.$(OBJEXT) elf64_getehdr.$(OBJEXT) \
     83 	gelf_getehdr.$(OBJEXT) elf32_newehdr.$(OBJEXT) \
     84 	elf64_newehdr.$(OBJEXT) gelf_newehdr.$(OBJEXT) \
     85 	gelf_update_ehdr.$(OBJEXT) elf32_getphdr.$(OBJEXT) \
     86 	elf64_getphdr.$(OBJEXT) gelf_getphdr.$(OBJEXT) \
     87 	elf32_newphdr.$(OBJEXT) elf64_newphdr.$(OBJEXT) \
     88 	gelf_newphdr.$(OBJEXT) gelf_update_phdr.$(OBJEXT) \
     89 	elf_getarhdr.$(OBJEXT) elf_getarsym.$(OBJEXT) \
     90 	elf_rawfile.$(OBJEXT) elf_readall.$(OBJEXT) elf_cntl.$(OBJEXT) \
     91 	elf_getscn.$(OBJEXT) elf_nextscn.$(OBJEXT) \
     92 	elf_ndxscn.$(OBJEXT) elf_newscn.$(OBJEXT) \
     93 	elf32_getshdr.$(OBJEXT) elf64_getshdr.$(OBJEXT) \
     94 	gelf_getshdr.$(OBJEXT) gelf_update_shdr.$(OBJEXT) \
     95 	elf_strptr.$(OBJEXT) elf_rawdata.$(OBJEXT) \
     96 	elf_getdata.$(OBJEXT) elf_newdata.$(OBJEXT) \
     97 	elf_flagelf.$(OBJEXT) elf_flagehdr.$(OBJEXT) \
     98 	elf_flagphdr.$(OBJEXT) elf_flagscn.$(OBJEXT) \
     99 	elf_flagshdr.$(OBJEXT) elf_flagdata.$(OBJEXT) \
    100 	elf_memory.$(OBJEXT) elf_update.$(OBJEXT) \
    101 	elf32_updatenull.$(OBJEXT) elf64_updatenull.$(OBJEXT) \
    102 	elf32_updatefile.$(OBJEXT) elf64_updatefile.$(OBJEXT) \
    103 	gelf_getsym.$(OBJEXT) gelf_update_sym.$(OBJEXT) \
    104 	gelf_getversym.$(OBJEXT) gelf_getverneed.$(OBJEXT) \
    105 	gelf_getvernaux.$(OBJEXT) gelf_getverdef.$(OBJEXT) \
    106 	gelf_getverdaux.$(OBJEXT) gelf_getrel.$(OBJEXT) \
    107 	gelf_getrela.$(OBJEXT) gelf_update_rel.$(OBJEXT) \
    108 	gelf_update_rela.$(OBJEXT) gelf_getdyn.$(OBJEXT) \
    109 	gelf_update_dyn.$(OBJEXT) gelf_getmove.$(OBJEXT) \
    110 	gelf_update_move.$(OBJEXT) gelf_getsyminfo.$(OBJEXT) \
    111 	gelf_update_syminfo.$(OBJEXT) gelf_xlatetof.$(OBJEXT) \
    112 	gelf_xlatetom.$(OBJEXT) nlist.$(OBJEXT) \
    113 	gelf_getsymshndx.$(OBJEXT) gelf_update_symshndx.$(OBJEXT) \
    114 	gelf_update_versym.$(OBJEXT) gelf_update_verneed.$(OBJEXT) \
    115 	gelf_update_vernaux.$(OBJEXT) gelf_update_verdef.$(OBJEXT) \
    116 	gelf_update_verdaux.$(OBJEXT) elf_getshnum.$(OBJEXT) \
    117 	elf_getshstrndx.$(OBJEXT) gelf_checksum.$(OBJEXT) \
    118 	elf32_checksum.$(OBJEXT) elf64_checksum.$(OBJEXT) \
    119 	gelf_rawchunk.$(OBJEXT) gelf_freechunk.$(OBJEXT) \
    120 	libelf_crc32.$(OBJEXT) libelf_next_prime.$(OBJEXT) \
    121 	elf_clone.$(OBJEXT) gelf_getlib.$(OBJEXT) \
    122 	gelf_update_lib.$(OBJEXT)
    123 libelf_a_OBJECTS = $(am_libelf_a_OBJECTS)
    124 libelf_pic_a_AR = $(AR) $(ARFLAGS)
    125 libelf_pic_a_LIBADD =
    126 libelf_pic_a_OBJECTS = $(am_libelf_pic_a_OBJECTS)
    127 am__EXEEXT_1 = libelf.so$(EXEEXT)
    128 PROGRAMS = $(noinst_PROGRAMS)
    129 am_libelf_so_OBJECTS =
    130 libelf_so_OBJECTS = $(am_libelf_so_OBJECTS)
    131 libelf_so_LDADD = $(LDADD)
    132 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
    133 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
    134 am__depfiles_maybe = depfiles
    135 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    136 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    137 CCLD = $(CC)
    138 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    139 SOURCES = $(libelf_a_SOURCES) $(libelf_pic_a_SOURCES) \
    140 	$(libelf_so_SOURCES)
    141 DIST_SOURCES = $(libelf_a_SOURCES) $(libelf_pic_a_SOURCES) \
    142 	$(libelf_so_SOURCES)
    143 euincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    144 includeHEADERS_INSTALL = $(INSTALL_HEADER)
    145 HEADERS = $(euinclude_HEADERS) $(include_HEADERS) $(noinst_HEADERS)
    146 ETAGS = etags
    147 CTAGS = ctags
    148 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    149 ACLOCAL = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run aclocal-1.9
    150 AMDEP_FALSE = #
    151 AMDEP_TRUE = 
    152 AMTAR = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run tar
    153 AUTOCONF = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run autoconf
    154 AUTOHEADER = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run autoheader
    155 AUTOMAKE = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run automake-1.9
    156 AWK = gawk
    157 CC = gcc
    158 CCDEPMODE = depmode=gcc3
    159 CFLAGS = -g -O2
    160 CPP = gcc -E
    161 CPPFLAGS = 
    162 CYGPATH_W = echo
    163 DATADIRNAME = ${prefix}/share
    164 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
    165 DEPDIR = .deps
    166 ECHO_C = 
    167 ECHO_N = -n
    168 ECHO_T = 
    169 EGREP = grep -E
    170 EXEEXT = 
    171 GMSGFMT = /usr/bin/msgfmt
    172 INSTALL_DATA = ${INSTALL} -m 644
    173 INSTALL_PROGRAM = ${INSTALL}
    174 INSTALL_SCRIPT = ${INSTALL}
    175 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
    176 INTLLIBS = 
    177 LDFLAGS = 
    178 LEX = flex
    179 LEXLIB = -lfl
    180 LEX_OUTPUT_ROOT = lex.yy
    181 LIBICONV = -liconv
    182 LIBINTL = 
    183 LIBOBJS = 
    184 LIBS = 
    185 LOCALEDIR = ${prefix}/share
    186 LTLIBICONV = -liconv
    187 LTLIBINTL = 
    188 LTLIBOBJS = 
    189 MAKEINFO = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run makeinfo
    190 MKINSTALLDIRS = config/mkinstalldirs
    191 MSGFMT = /usr/bin/msgfmt
    192 MSGMERGE = /usr/bin/msgmerge
    193 MUDFLAP_FALSE = 
    194 MUDFLAP_TRUE = #
    195 NATIVE_LD_FALSE = 
    196 NATIVE_LD_TRUE = #
    197 OBJEXT = o
    198 PACKAGE = elfutils
    199 PACKAGE_BUGREPORT = http://bugzilla.redhat.com/bugzilla/
    200 PACKAGE_NAME = Red Hat elfutils
    201 PACKAGE_STRING = Red Hat elfutils 0.97
    202 PACKAGE_TARNAME = elfutils
    203 PACKAGE_VERSION = 0.97
    204 PATH_SEPARATOR = :
    205 POSUB = po
    206 RANLIB = ranlib
    207 SET_MAKE = 
    208 SHELL = /bin/sh
    209 STRIP = 
    210 USE_NLS = yes
    211 VERSION = 1
    212 XGETTEXT = /usr/bin/xgettext
    213 YACC = bison -y
    214 ac_ct_CC = gcc
    215 ac_ct_RANLIB = ranlib
    216 ac_ct_STRIP = 
    217 am__fastdepCC_FALSE = #
    218 am__fastdepCC_TRUE = 
    219 am__include = include
    220 am__leading_dot = .
    221 am__quote = 
    222 am__tar = ${AMTAR} chof - "$$tardir"
    223 am__untar = ${AMTAR} xf -
    224 base_cpu = none
    225 bindir = ${exec_prefix}/bin
    226 build = i686-pc-linux-gnu
    227 build_alias = 
    228 build_cpu = i686
    229 build_os = linux-gnu
    230 build_vendor = pc
    231 datadir = ${prefix}/share
    232 exec_prefix = ${prefix}
    233 host = i686-pc-linux-gnu
    234 host_alias = 
    235 host_cpu = i686
    236 host_os = linux-gnu
    237 host_vendor = pc
    238 includedir = ${prefix}/include
    239 infodir = ${prefix}/info
    240 install_sh = /work/elfutils/stock/elfutils-0.97/config/install-sh
    241 libdir = ${exec_prefix}/lib
    242 libexecdir = ${exec_prefix}/libexec
    243 localstatedir = ${prefix}/var
    244 mandir = ${prefix}/man
    245 mkdir_p = mkdir -p --
    246 oldincludedir = /usr/include
    247 prefix = /work/elfutils/google/linux-install-elfutils-0.97/
    248 program_transform_name = s,x,x,
    249 sbindir = ${exec_prefix}/sbin
    250 sharedstatedir = ${prefix}/com
    251 sysconfdir = ${prefix}/etc
    252 target_alias = 
    253 AM_CFLAGS = -Wall -Werror -Wshadow
    254 # XXX gcc has a bug in that it generates warnings for internal symbols.
    255 # XXX Remove the conditional when gcc is fxied.
    256 #AM_CFLAGS = -Wall -Wshadow
    257 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
    258 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
    259 LINT = splint
    260 lib_LIBRARIES = libelf.a
    261 noinst_LIBRARIES = libelf_pic.a
    262 include_HEADERS = libelf.h gelf.h nlist.h
    263 euincludedir = $(includedir)/elfutils
    264 euinclude_HEADERS = elf-knowledge.h
    265 libelf_a_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \
    266 		   elf_begin.c elf_next.c elf_rand.c elf_end.c elf_kind.c \
    267 		   gelf_getclass.c elf_getbase.c elf_getident.c \
    268 		   elf32_fsize.c elf64_fsize.c gelf_fsize.c \
    269 		   elf32_xlatetof.c elf32_xlatetom.c elf64_xlatetof.c \
    270 		   elf64_xlatetom.c gelf_xlate.c \
    271 		   elf32_getehdr.c elf64_getehdr.c gelf_getehdr.c \
    272 		   elf32_newehdr.c elf64_newehdr.c gelf_newehdr.c \
    273 		   gelf_update_ehdr.c \
    274 		   elf32_getphdr.c elf64_getphdr.c gelf_getphdr.c \
    275 		   elf32_newphdr.c elf64_newphdr.c gelf_newphdr.c \
    276 		   gelf_update_phdr.c \
    277 		   elf_getarhdr.c elf_getarsym.c \
    278 		   elf_rawfile.c elf_readall.c elf_cntl.c \
    279 		   elf_getscn.c elf_nextscn.c elf_ndxscn.c elf_newscn.c \
    280 		   elf32_getshdr.c elf64_getshdr.c gelf_getshdr.c \
    281 		   gelf_update_shdr.c \
    282 		   elf_strptr.c elf_rawdata.c elf_getdata.c elf_newdata.c \
    283 		   elf_flagelf.c elf_flagehdr.c elf_flagphdr.c elf_flagscn.c \
    284 		   elf_flagshdr.c elf_flagdata.c elf_memory.c \
    285 		   elf_update.c elf32_updatenull.c elf64_updatenull.c \
    286 		   elf32_updatefile.c elf64_updatefile.c \
    287 		   gelf_getsym.c gelf_update_sym.c \
    288 		   gelf_getversym.c gelf_getverneed.c gelf_getvernaux.c \
    289 		   gelf_getverdef.c gelf_getverdaux.c \
    290 		   gelf_getrel.c gelf_getrela.c \
    291 		   gelf_update_rel.c gelf_update_rela.c \
    292 		   gelf_getdyn.c gelf_update_dyn.c \
    293 		   gelf_getmove.c gelf_update_move.c \
    294 		   gelf_getsyminfo.c gelf_update_syminfo.c \
    295 		   gelf_xlatetof.c gelf_xlatetom.c \
    296 		   nlist.c \
    297 		   gelf_getsymshndx.c gelf_update_symshndx.c \
    298 		   gelf_update_versym.c gelf_update_verneed.c \
    299 		   gelf_update_vernaux.c gelf_update_verdef.c \
    300 		   gelf_update_verdaux.c \
    301 		   elf_getshnum.c elf_getshstrndx.c \
    302 		   gelf_checksum.c elf32_checksum.c elf64_checksum.c \
    303 		   gelf_rawchunk.c gelf_freechunk.c \
    304 		   libelf_crc32.c libelf_next_prime.c \
    305 		   elf_clone.c \
    306 		   gelf_getlib.c gelf_update_lib.c
    307 
    308 libelf_pic_a_SOURCES = 
    309 am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os)
    310 libelf_so_SOURCES = 
    311 noinst_HEADERS = elf.h abstract.h common.h exttypes.h gelf_xlate.h libelfP.h \
    312 		 version_xlate.h dl-hash.h
    313 
    314 EXTRA_DIST = libelf.map
    315 CLEANFILES = $(am_libelf_pic_a_OBJECTS)
    316 all: all-am
    317 
    318 .SUFFIXES:
    319 .SUFFIXES: .c .o .obj
    320 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    321 	@for dep in $?; do \
    322 	  case '$(am__configure_deps)' in \
    323 	    *$$dep*) \
    324 	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
    325 		&& exit 0; \
    326 	      exit 1;; \
    327 	  esac; \
    328 	done; \
    329 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits  libelf/Makefile'; \
    330 	cd $(top_srcdir) && \
    331 	  $(AUTOMAKE) --gnits  libelf/Makefile
    332 .PRECIOUS: Makefile
    333 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    334 	@case '$?' in \
    335 	  *config.status*) \
    336 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    337 	  *) \
    338 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    339 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    340 	esac;
    341 
    342 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    343 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    344 
    345 $(top_srcdir)/configure:  $(am__configure_deps)
    346 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    347 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    348 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    349 install-libLIBRARIES: $(lib_LIBRARIES)
    350 	@$(NORMAL_INSTALL)
    351 	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    352 	@list='$(lib_LIBRARIES)'; for p in $$list; do \
    353 	  if test -f $$p; then \
    354 	    f=$(am__strip_dir) \
    355 	    echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
    356 	    $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
    357 	  else :; fi; \
    358 	done
    359 	@$(POST_INSTALL)
    360 	@list='$(lib_LIBRARIES)'; for p in $$list; do \
    361 	  if test -f $$p; then \
    362 	    p=$(am__strip_dir) \
    363 	    echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
    364 	    $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
    365 	  else :; fi; \
    366 	done
    367 
    368 uninstall-libLIBRARIES:
    369 	@$(NORMAL_UNINSTALL)
    370 	@list='$(lib_LIBRARIES)'; for p in $$list; do \
    371 	  p=$(am__strip_dir) \
    372 	  echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
    373 	  rm -f "$(DESTDIR)$(libdir)/$$p"; \
    374 	done
    375 
    376 clean-libLIBRARIES:
    377 	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
    378 
    379 clean-noinstLIBRARIES:
    380 	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
    381 libelf.a: $(libelf_a_OBJECTS) $(libelf_a_DEPENDENCIES) 
    382 	-rm -f libelf.a
    383 	$(libelf_a_AR) libelf.a $(libelf_a_OBJECTS) $(libelf_a_LIBADD)
    384 	$(RANLIB) libelf.a
    385 libelf_pic.a: $(libelf_pic_a_OBJECTS) $(libelf_pic_a_DEPENDENCIES) 
    386 	-rm -f libelf_pic.a
    387 	$(libelf_pic_a_AR) libelf_pic.a $(libelf_pic_a_OBJECTS) $(libelf_pic_a_LIBADD)
    388 	$(RANLIB) libelf_pic.a
    389 
    390 clean-noinstPROGRAMS:
    391 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    392 #libelf.so$(EXEEXT): $(libelf_so_OBJECTS) $(libelf_so_DEPENDENCIES) 
    393 #	@rm -f libelf.so$(EXEEXT)
    394 #	$(LINK) $(libelf_so_LDFLAGS) $(libelf_so_OBJECTS) $(libelf_so_LDADD) $(LIBS)
    395 
    396 mostlyclean-compile:
    397 	-rm -f *.$(OBJEXT)
    398 
    399 distclean-compile:
    400 	-rm -f *.tab.c
    401 
    402 include ./$(DEPDIR)/elf32_checksum.Po
    403 include ./$(DEPDIR)/elf32_fsize.Po
    404 include ./$(DEPDIR)/elf32_getehdr.Po
    405 include ./$(DEPDIR)/elf32_getphdr.Po
    406 include ./$(DEPDIR)/elf32_getshdr.Po
    407 include ./$(DEPDIR)/elf32_newehdr.Po
    408 include ./$(DEPDIR)/elf32_newphdr.Po
    409 include ./$(DEPDIR)/elf32_updatefile.Po
    410 include ./$(DEPDIR)/elf32_updatenull.Po
    411 include ./$(DEPDIR)/elf32_xlatetof.Po
    412 include ./$(DEPDIR)/elf32_xlatetom.Po
    413 include ./$(DEPDIR)/elf64_checksum.Po
    414 include ./$(DEPDIR)/elf64_fsize.Po
    415 include ./$(DEPDIR)/elf64_getehdr.Po
    416 include ./$(DEPDIR)/elf64_getphdr.Po
    417 include ./$(DEPDIR)/elf64_getshdr.Po
    418 include ./$(DEPDIR)/elf64_newehdr.Po
    419 include ./$(DEPDIR)/elf64_newphdr.Po
    420 include ./$(DEPDIR)/elf64_updatefile.Po
    421 include ./$(DEPDIR)/elf64_updatenull.Po
    422 include ./$(DEPDIR)/elf64_xlatetof.Po
    423 include ./$(DEPDIR)/elf64_xlatetom.Po
    424 include ./$(DEPDIR)/elf_begin.Po
    425 include ./$(DEPDIR)/elf_clone.Po
    426 include ./$(DEPDIR)/elf_cntl.Po
    427 include ./$(DEPDIR)/elf_end.Po
    428 include ./$(DEPDIR)/elf_error.Po
    429 include ./$(DEPDIR)/elf_fill.Po
    430 include ./$(DEPDIR)/elf_flagdata.Po
    431 include ./$(DEPDIR)/elf_flagehdr.Po
    432 include ./$(DEPDIR)/elf_flagelf.Po
    433 include ./$(DEPDIR)/elf_flagphdr.Po
    434 include ./$(DEPDIR)/elf_flagscn.Po
    435 include ./$(DEPDIR)/elf_flagshdr.Po
    436 include ./$(DEPDIR)/elf_getarhdr.Po
    437 include ./$(DEPDIR)/elf_getarsym.Po
    438 include ./$(DEPDIR)/elf_getbase.Po
    439 include ./$(DEPDIR)/elf_getdata.Po
    440 include ./$(DEPDIR)/elf_getident.Po
    441 include ./$(DEPDIR)/elf_getscn.Po
    442 include ./$(DEPDIR)/elf_getshnum.Po
    443 include ./$(DEPDIR)/elf_getshstrndx.Po
    444 include ./$(DEPDIR)/elf_hash.Po
    445 include ./$(DEPDIR)/elf_kind.Po
    446 include ./$(DEPDIR)/elf_memory.Po
    447 include ./$(DEPDIR)/elf_ndxscn.Po
    448 include ./$(DEPDIR)/elf_newdata.Po
    449 include ./$(DEPDIR)/elf_newscn.Po
    450 include ./$(DEPDIR)/elf_next.Po
    451 include ./$(DEPDIR)/elf_nextscn.Po
    452 include ./$(DEPDIR)/elf_rand.Po
    453 include ./$(DEPDIR)/elf_rawdata.Po
    454 include ./$(DEPDIR)/elf_rawfile.Po
    455 include ./$(DEPDIR)/elf_readall.Po
    456 include ./$(DEPDIR)/elf_strptr.Po
    457 include ./$(DEPDIR)/elf_update.Po
    458 include ./$(DEPDIR)/elf_version.Po
    459 include ./$(DEPDIR)/gelf_checksum.Po
    460 include ./$(DEPDIR)/gelf_freechunk.Po
    461 include ./$(DEPDIR)/gelf_fsize.Po
    462 include ./$(DEPDIR)/gelf_getclass.Po
    463 include ./$(DEPDIR)/gelf_getdyn.Po
    464 include ./$(DEPDIR)/gelf_getehdr.Po
    465 include ./$(DEPDIR)/gelf_getlib.Po
    466 include ./$(DEPDIR)/gelf_getmove.Po
    467 include ./$(DEPDIR)/gelf_getphdr.Po
    468 include ./$(DEPDIR)/gelf_getrel.Po
    469 include ./$(DEPDIR)/gelf_getrela.Po
    470 include ./$(DEPDIR)/gelf_getshdr.Po
    471 include ./$(DEPDIR)/gelf_getsym.Po
    472 include ./$(DEPDIR)/gelf_getsyminfo.Po
    473 include ./$(DEPDIR)/gelf_getsymshndx.Po
    474 include ./$(DEPDIR)/gelf_getverdaux.Po
    475 include ./$(DEPDIR)/gelf_getverdef.Po
    476 include ./$(DEPDIR)/gelf_getvernaux.Po
    477 include ./$(DEPDIR)/gelf_getverneed.Po
    478 include ./$(DEPDIR)/gelf_getversym.Po
    479 include ./$(DEPDIR)/gelf_newehdr.Po
    480 include ./$(DEPDIR)/gelf_newphdr.Po
    481 include ./$(DEPDIR)/gelf_rawchunk.Po
    482 include ./$(DEPDIR)/gelf_update_dyn.Po
    483 include ./$(DEPDIR)/gelf_update_ehdr.Po
    484 include ./$(DEPDIR)/gelf_update_lib.Po
    485 include ./$(DEPDIR)/gelf_update_move.Po
    486 include ./$(DEPDIR)/gelf_update_phdr.Po
    487 include ./$(DEPDIR)/gelf_update_rel.Po
    488 include ./$(DEPDIR)/gelf_update_rela.Po
    489 include ./$(DEPDIR)/gelf_update_shdr.Po
    490 include ./$(DEPDIR)/gelf_update_sym.Po
    491 include ./$(DEPDIR)/gelf_update_syminfo.Po
    492 include ./$(DEPDIR)/gelf_update_symshndx.Po
    493 include ./$(DEPDIR)/gelf_update_verdaux.Po
    494 include ./$(DEPDIR)/gelf_update_verdef.Po
    495 include ./$(DEPDIR)/gelf_update_vernaux.Po
    496 include ./$(DEPDIR)/gelf_update_verneed.Po
    497 include ./$(DEPDIR)/gelf_update_versym.Po
    498 include ./$(DEPDIR)/gelf_xlate.Po
    499 include ./$(DEPDIR)/gelf_xlatetof.Po
    500 include ./$(DEPDIR)/gelf_xlatetom.Po
    501 include ./$(DEPDIR)/libelf_crc32.Po
    502 include ./$(DEPDIR)/libelf_next_prime.Po
    503 include ./$(DEPDIR)/nlist.Po
    504 
    505 .c.o:
    506 	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    507 	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    508 #	source='$<' object='$@' libtool=no \
    509 #	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
    510 #	$(COMPILE) -c $<
    511 
    512 .c.obj:
    513 	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    514 	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    515 #	source='$<' object='$@' libtool=no \
    516 #	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
    517 #	$(COMPILE) -c `$(CYGPATH_W) '$<'`
    518 uninstall-info-am:
    519 install-euincludeHEADERS: $(euinclude_HEADERS)
    520 	@$(NORMAL_INSTALL)
    521 	test -z "$(euincludedir)" || $(mkdir_p) "$(DESTDIR)$(euincludedir)"
    522 	@list='$(euinclude_HEADERS)'; for p in $$list; do \
    523 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    524 	  f=$(am__strip_dir) \
    525 	  echo " $(euincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(euincludedir)/$$f'"; \
    526 	  $(euincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(euincludedir)/$$f"; \
    527 	done
    528 
    529 uninstall-euincludeHEADERS:
    530 	@$(NORMAL_UNINSTALL)
    531 	@list='$(euinclude_HEADERS)'; for p in $$list; do \
    532 	  f=$(am__strip_dir) \
    533 	  echo " rm -f '$(DESTDIR)$(euincludedir)/$$f'"; \
    534 	  rm -f "$(DESTDIR)$(euincludedir)/$$f"; \
    535 	done
    536 install-includeHEADERS: $(include_HEADERS)
    537 	@$(NORMAL_INSTALL)
    538 	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
    539 	@list='$(include_HEADERS)'; for p in $$list; do \
    540 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    541 	  f=$(am__strip_dir) \
    542 	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
    543 	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
    544 	done
    545 
    546 uninstall-includeHEADERS:
    547 	@$(NORMAL_UNINSTALL)
    548 	@list='$(include_HEADERS)'; for p in $$list; do \
    549 	  f=$(am__strip_dir) \
    550 	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
    551 	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
    552 	done
    553 
    554 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    555 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    556 	unique=`for i in $$list; do \
    557 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    558 	  done | \
    559 	  $(AWK) '    { files[$$0] = 1; } \
    560 	       END { for (i in files) print i; }'`; \
    561 	mkid -fID $$unique
    562 tags: TAGS
    563 
    564 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    565 		$(TAGS_FILES) $(LISP)
    566 	tags=; \
    567 	here=`pwd`; \
    568 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    569 	unique=`for i in $$list; do \
    570 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    571 	  done | \
    572 	  $(AWK) '    { files[$$0] = 1; } \
    573 	       END { for (i in files) print i; }'`; \
    574 	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    575 	  test -n "$$unique" || unique=$$empty_fix; \
    576 	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    577 	    $$tags $$unique; \
    578 	fi
    579 ctags: CTAGS
    580 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    581 		$(TAGS_FILES) $(LISP)
    582 	tags=; \
    583 	here=`pwd`; \
    584 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    585 	unique=`for i in $$list; do \
    586 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    587 	  done | \
    588 	  $(AWK) '    { files[$$0] = 1; } \
    589 	       END { for (i in files) print i; }'`; \
    590 	test -z "$(CTAGS_ARGS)$$tags$$unique" \
    591 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
    592 	     $$tags $$unique
    593 
    594 GTAGS:
    595 	here=`$(am__cd) $(top_builddir) && pwd` \
    596 	  && cd $(top_srcdir) \
    597 	  && gtags -i $(GTAGS_ARGS) $$here
    598 
    599 distclean-tags:
    600 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    601 
    602 distdir: $(DISTFILES)
    603 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    604 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
    605 	list='$(DISTFILES)'; for file in $$list; do \
    606 	  case $$file in \
    607 	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
    608 	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
    609 	  esac; \
    610 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    611 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
    612 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    613 	    dir="/$$dir"; \
    614 	    $(mkdir_p) "$(distdir)$$dir"; \
    615 	  else \
    616 	    dir=''; \
    617 	  fi; \
    618 	  if test -d $$d/$$file; then \
    619 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    620 	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
    621 	    fi; \
    622 	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
    623 	  else \
    624 	    test -f $(distdir)/$$file \
    625 	    || cp -p $$d/$$file $(distdir)/$$file \
    626 	    || exit 1; \
    627 	  fi; \
    628 	done
    629 check-am: all-am
    630 check: check-am
    631 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
    632 installdirs:
    633 	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(euincludedir)" "$(DESTDIR)$(includedir)"; do \
    634 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
    635 	done
    636 #install: install-am
    637 install-exec: install-exec-am
    638 install-data: install-data-am
    639 #uninstall: uninstall-am
    640 
    641 install-am: all-am
    642 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    643 
    644 installcheck: installcheck-am
    645 install-strip:
    646 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    647 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    648 	  `test -z '$(STRIP)' || \
    649 	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
    650 mostlyclean-generic:
    651 
    652 clean-generic:
    653 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
    654 
    655 distclean-generic:
    656 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    657 
    658 maintainer-clean-generic:
    659 	@echo "This command is intended for maintainers to use"
    660 	@echo "it deletes files that may require special tools to rebuild."
    661 clean: clean-am
    662 
    663 clean-am: clean-generic clean-libLIBRARIES clean-noinstLIBRARIES \
    664 	clean-noinstPROGRAMS mostlyclean-am
    665 
    666 distclean: distclean-am
    667 	-rm -rf ./$(DEPDIR)
    668 	-rm -f Makefile
    669 distclean-am: clean-am distclean-compile distclean-generic \
    670 	distclean-tags
    671 
    672 dvi: dvi-am
    673 
    674 dvi-am:
    675 
    676 html: html-am
    677 
    678 info: info-am
    679 
    680 info-am:
    681 
    682 install-data-am: install-euincludeHEADERS install-includeHEADERS
    683 
    684 install-exec-am: install-libLIBRARIES
    685 
    686 install-info: install-info-am
    687 
    688 install-man:
    689 
    690 installcheck-am:
    691 
    692 maintainer-clean: maintainer-clean-am
    693 	-rm -rf ./$(DEPDIR)
    694 	-rm -f Makefile
    695 maintainer-clean-am: distclean-am maintainer-clean-generic
    696 
    697 mostlyclean: mostlyclean-am
    698 
    699 mostlyclean-am: mostlyclean-compile mostlyclean-generic
    700 
    701 pdf: pdf-am
    702 
    703 pdf-am:
    704 
    705 ps: ps-am
    706 
    707 ps-am:
    708 
    709 uninstall-am: uninstall-euincludeHEADERS uninstall-includeHEADERS \
    710 	uninstall-info-am uninstall-libLIBRARIES
    711 
    712 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    713 	clean-libLIBRARIES clean-noinstLIBRARIES clean-noinstPROGRAMS \
    714 	ctags distclean distclean-compile distclean-generic \
    715 	distclean-tags distdir dvi dvi-am html html-am info info-am \
    716 	install install-am install-data install-data-am \
    717 	install-euincludeHEADERS install-exec install-exec-am \
    718 	install-includeHEADERS install-info install-info-am \
    719 	install-libLIBRARIES install-man install-strip installcheck \
    720 	installcheck-am installdirs maintainer-clean \
    721 	maintainer-clean-generic mostlyclean mostlyclean-compile \
    722 	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
    723 	uninstall-am uninstall-euincludeHEADERS \
    724 	uninstall-includeHEADERS uninstall-info-am \
    725 	uninstall-libLIBRARIES
    726 
    727 libelf.so: libelf_pic.a libelf.map
    728 	$(CC) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
    729 	      -Wl,--version-script,$(srcdir)/libelf.map,--no-undefined \
    730 	      -Wl,--soname,$@.$(VERSION),-z-defs
    731 	ln -fs $@ $@.$(VERSION)
    732 
    733 %.os: %.c %.o
    734 	if $(COMPILE) -c -o $@ -fpic -DPIC -DSHARED -MT $@ -MD -MP \
    735 	  -MF "$(DEPDIR)/$*.Tpo" `test -f '$<' || echo '$(srcdir)/'`$<; \
    736 	then cat "$(DEPDIR)/$*.Tpo" >> "$(DEPDIR)/$*.Po"; \
    737 	     rm -f "$(DEPDIR)/$*.Tpo"; \
    738 	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    739 	fi
    740 
    741 install: install-am libelf.so
    742 	$(mkinstalldirs) $(DESTDIR)$(libdir)
    743 	$(INSTALL_PROGRAM) libelf.so $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
    744 	ln -fs libelf-$(PACKAGE_VERSION).so $(DESTDIR)$(libdir)/libelf.so.$(VERSION)
    745 	ln -fs libelf.so.$(VERSION) $(DESTDIR)$(libdir)/libelf.so
    746 
    747 uninstall: uninstall-am
    748 	rm -f $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
    749 	rm -f $(DESTDIR)$(libdir)/libelf.so.$(VERSION)
    750 	rm -f $(DESTDIR)$(libdir)/libelf.so
    751 
    752 .PSEUDO: lint
    753 lint:
    754 	$(LINT) $(DEFS) $(INCLUDES) $(GCC_INCLUDE) -f $(top_srcdir)/splint.rc \
    755 		$(addprefix $(srcdir)/,$(libelf_a_SOURCES))
    756 # Tell versions [3.59,3.63) of GNU make to not export all variables.
    757 # Otherwise a system limit (for SysV at least) may be exceeded.
    758 .NOEXPORT:
    759