1 # Makefile.in generated by automake 1.9.2 from Makefile.am. 2 # src/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 = $(libld_elf_a_SOURCES) $(libld_elf_i386_pic_a_SOURCES) elflint.c $(ld_SOURCES) $(libld_elf_i386_so_SOURCES) nm.c readelf.c size.c strip.c 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 bin_PROGRAMS = readelf$(EXEEXT) nm$(EXEEXT) size$(EXEEXT) \ 44 strip$(EXEEXT) ld$(EXEEXT) elflint$(EXEEXT) 45 noinst_PROGRAMS = $(am__EXEEXT_1) 46 #am__append_1 = libld_elf.a 47 subdir = src 48 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 49 $(srcdir)/Makefile.in ChangeLog ldlex.c ldscript.c ylwrap 50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 51 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac 55 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 56 $(ACLOCAL_M4) 57 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs 58 CONFIG_HEADER = $(top_builddir)/config.h 59 CONFIG_CLEAN_FILES = 60 LIBRARIES = $(noinst_LIBRARIES) 61 AR = ar 62 ARFLAGS = cru 63 libld_elf_a_AR = $(AR) $(ARFLAGS) 64 libld_elf_a_LIBADD = 65 am_libld_elf_a_OBJECTS = $(base_cpu)_ld.$(OBJEXT) 66 libld_elf_a_OBJECTS = $(am_libld_elf_a_OBJECTS) 67 libld_elf_i386_pic_a_AR = $(AR) $(ARFLAGS) 68 libld_elf_i386_pic_a_LIBADD = 69 libld_elf_i386_pic_a_OBJECTS = $(am_libld_elf_i386_pic_a_OBJECTS) 70 am__installdirs = "$(DESTDIR)$(bindir)" 71 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 72 am__EXEEXT_1 = libld_elf_i386.so$(EXEEXT) 73 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) 74 elflint_SOURCES = elflint.c 75 elflint_OBJECTS = elflint.$(OBJEXT) 76 am__DEPENDENCIES_1 = ../libebl/libebl.a 77 am__DEPENDENCIES_2 = ../libelf/libelf.so 78 #am__DEPENDENCIES_2 = ../libelf/libelf.a 79 am__DEPENDENCIES_3 = ../lib/libeu.a 80 elflint_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ 81 $(am__DEPENDENCIES_3) 82 am_ld_OBJECTS = ld.$(OBJEXT) ldgeneric.$(OBJEXT) ldlex.$(OBJEXT) \ 83 ldscript.$(OBJEXT) symbolhash.$(OBJEXT) sectionhash.$(OBJEXT) \ 84 versionhash.$(OBJEXT) 85 ld_OBJECTS = $(am_ld_OBJECTS) 86 #am__DEPENDENCIES_4 = libld_elf.a 87 ld_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ 88 $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) 89 am_libld_elf_i386_so_OBJECTS = 90 libld_elf_i386_so_OBJECTS = $(am_libld_elf_i386_so_OBJECTS) 91 libld_elf_i386_so_LDADD = $(LDADD) 92 nm_SOURCES = nm.c 93 nm_OBJECTS = nm.$(OBJEXT) 94 am__DEPENDENCIES_5 = ../libdw/libdw.so 95 #am__DEPENDENCIES_5 = ../libdw/libdw.a 96 nm_DEPENDENCIES = $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_1) \ 97 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) 98 readelf_SOURCES = readelf.c 99 readelf_OBJECTS = readelf.$(OBJEXT) 100 readelf_DEPENDENCIES = $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_1) \ 101 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) 102 size_SOURCES = size.c 103 size_OBJECTS = size.$(OBJEXT) 104 size_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) 105 strip_SOURCES = strip.c 106 strip_OBJECTS = strip.$(OBJEXT) 107 strip_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ 108 $(am__DEPENDENCIES_3) 109 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 110 depcomp = $(SHELL) $(top_srcdir)/config/depcomp 111 am__depfiles_maybe = depfiles 112 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 113 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 114 CCLD = $(CC) 115 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 116 LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) 117 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) 118 SOURCES = $(libld_elf_a_SOURCES) $(libld_elf_i386_pic_a_SOURCES) \ 119 elflint.c $(ld_SOURCES) $(libld_elf_i386_so_SOURCES) nm.c \ 120 readelf.c size.c strip.c 121 DIST_SOURCES = $(libld_elf_a_SOURCES) $(libld_elf_i386_pic_a_SOURCES) \ 122 elflint.c $(ld_SOURCES) $(libld_elf_i386_so_SOURCES) nm.c \ 123 readelf.c size.c strip.c 124 HEADERS = $(noinst_HEADERS) 125 ETAGS = etags 126 CTAGS = ctags 127 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 128 ACLOCAL = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run aclocal-1.9 129 AMDEP_FALSE = # 130 AMDEP_TRUE = 131 AMTAR = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run tar 132 AUTOCONF = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run autoconf 133 AUTOHEADER = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run autoheader 134 AUTOMAKE = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run automake-1.9 135 AWK = gawk 136 CC = gcc 137 CCDEPMODE = depmode=gcc3 138 CFLAGS = -g -O2 139 CPP = gcc -E 140 CPPFLAGS = 141 CYGPATH_W = echo 142 DATADIRNAME = ${prefix}/share 143 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) \ 144 -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\" 145 146 DEPDIR = .deps 147 ECHO_C = 148 ECHO_N = -n 149 ECHO_T = 150 EGREP = grep -E 151 EXEEXT = 152 GMSGFMT = /usr/bin/msgfmt 153 INSTALL_DATA = ${INSTALL} -m 644 154 INSTALL_PROGRAM = ${INSTALL} 155 INSTALL_SCRIPT = ${INSTALL} 156 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 157 INTLLIBS = 158 LDFLAGS = 159 LEX = flex 160 LEXLIB = -lfl 161 LEX_OUTPUT_ROOT = lex.yy 162 LIBICONV = -liconv 163 LIBINTL = 164 LIBOBJS = 165 LIBS = 166 LOCALEDIR = ${prefix}/share 167 LTLIBICONV = -liconv 168 LTLIBINTL = 169 LTLIBOBJS = 170 MAKEINFO = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run makeinfo 171 MKINSTALLDIRS = config/mkinstalldirs 172 MSGFMT = /usr/bin/msgfmt 173 MSGMERGE = /usr/bin/msgmerge 174 MUDFLAP_FALSE = 175 MUDFLAP_TRUE = # 176 NATIVE_LD_FALSE = 177 NATIVE_LD_TRUE = # 178 OBJEXT = o 179 PACKAGE = elfutils 180 PACKAGE_BUGREPORT = http://bugzilla.redhat.com/bugzilla/ 181 PACKAGE_NAME = Red Hat elfutils 182 PACKAGE_STRING = Red Hat elfutils 0.97 183 PACKAGE_TARNAME = elfutils 184 PACKAGE_VERSION = 0.97 185 PATH_SEPARATOR = : 186 POSUB = po 187 RANLIB = ranlib 188 SET_MAKE = 189 SHELL = /bin/sh 190 STRIP = 191 USE_NLS = yes 192 VERSION = 0.97 193 XGETTEXT = /usr/bin/xgettext 194 YACC = bison -y -d 195 ac_ct_CC = gcc 196 ac_ct_RANLIB = ranlib 197 ac_ct_STRIP = 198 am__fastdepCC_FALSE = # 199 am__fastdepCC_TRUE = 200 am__include = include 201 am__leading_dot = . 202 am__quote = 203 am__tar = ${AMTAR} chof - "$$tardir" 204 am__untar = ${AMTAR} xf - 205 base_cpu = none 206 bindir = ${exec_prefix}/bin 207 build = i686-pc-linux-gnu 208 build_alias = 209 build_cpu = i686 210 build_os = linux-gnu 211 build_vendor = pc 212 datadir = ${prefix}/share 213 exec_prefix = ${prefix} 214 host = i686-pc-linux-gnu 215 host_alias = 216 host_cpu = i686 217 host_os = linux-gnu 218 host_vendor = pc 219 includedir = ${prefix}/include 220 infodir = ${prefix}/info 221 install_sh = /work/elfutils/stock/elfutils-0.97/config/install-sh 222 libdir = ${exec_prefix}/lib 223 libexecdir = ${exec_prefix}/libexec 224 localstatedir = ${prefix}/var 225 mandir = ${prefix}/man 226 mkdir_p = mkdir -p -- 227 oldincludedir = /usr/include 228 prefix = /work/elfutils/google/linux-install-elfutils-0.97/ 229 program_transform_name = s,x,x, 230 sbindir = ${exec_prefix}/sbin 231 sharedstatedir = ${prefix}/com 232 sysconfdir = ${prefix}/etc 233 target_alias = 234 AM_CFLAGS = -Wall -Wshadow -std=gnu99 \ 235 $(if $($(*F)_no_Werror),,-Werror) $(native_ld_cflags) 236 237 #AM_CFLAGS = -Wall -Wshadow -std=gnu99 \ 238 # $(native_ld_cflags) 239 240 #AM_LDFLAGS = -fmudflap 241 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl -I$(srcdir)/../lib -I$(srcdir)/../libdw -I.. 242 AM_YFLAGS = -pld 243 AM_LFLAGS = -Pld -olex.yy.c 244 native_ld = @native_ld@ 245 ld_dsos = libld_elf_i386_pic.a 246 noinst_LIBRARIES = libld_elf.a $(ld_dsos) 247 #noinst_LIBRARIES = libld_elf.a 248 #native_ld_cflags = -DBASE_ELF_NAME=elf_$(base_cpu) 249 ld_SOURCES = ld.c ldgeneric.c ldlex.l ldscript.y symbolhash.c sectionhash.c \ 250 versionhash.c 251 252 noinst_HEADERS = ld.h symbolhash.h sectionhash.h versionhash.h \ 253 ldscript.h xelf.h unaligned.h 254 255 EXTRA_DIST = elf32-i386.script libld_elf_i386.map $(ld_modules) 256 ld_modules = i386_ld.c 257 libdw = ../libdw/libdw.so 258 #libdw = ../libdw/libdw.a 259 libelf = ../libelf/libelf.so 260 #libelf = ../libelf/libelf.a 261 libebl = ../libebl/libebl.a 262 libeu = ../lib/libeu.a 263 readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) -ldl 264 nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) -ldl 265 size_LDADD = $(libelf) $(libeu) 266 strip_LDADD = $(libebl) $(libelf) $(libeu) -ldl 267 ld_LDADD = $(libebl) $(libelf) $(libeu) -ldl $(am__append_1) 268 ld_LDFLAGS = -rdynamic 269 elflint_LDADD = $(libebl) $(libelf) $(libeu) -ldl 270 ldlex_no_Werror = yes 271 272 # Machine-specific linker code. 273 libld_elf_a_SOURCES = $(base_cpu)_ld.c 274 libld_elf_i386_pic_a_SOURCES = 275 am_libld_elf_i386_pic_a_OBJECTS = i386_ld.os 276 libld_elf_i386_so_SOURCES = 277 CLEANFILES = none_ld.os $(ld_modules:.c=.os) 278 all: all-am 279 280 .SUFFIXES: 281 .SUFFIXES: .c .l .o .obj .y 282 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 283 @for dep in $?; do \ 284 case '$(am__configure_deps)' in \ 285 *$$dep*) \ 286 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 287 && exit 0; \ 288 exit 1;; \ 289 esac; \ 290 done; \ 291 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile'; \ 292 cd $(top_srcdir) && \ 293 $(AUTOMAKE) --gnits src/Makefile 294 .PRECIOUS: Makefile 295 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 296 @case '$?' in \ 297 *config.status*) \ 298 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 299 *) \ 300 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 301 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 302 esac; 303 304 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 305 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 306 307 $(top_srcdir)/configure: $(am__configure_deps) 308 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 309 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 310 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 311 312 clean-noinstLIBRARIES: 313 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) 314 libld_elf.a: $(libld_elf_a_OBJECTS) $(libld_elf_a_DEPENDENCIES) 315 -rm -f libld_elf.a 316 $(libld_elf_a_AR) libld_elf.a $(libld_elf_a_OBJECTS) $(libld_elf_a_LIBADD) 317 $(RANLIB) libld_elf.a 318 libld_elf_i386_pic.a: $(libld_elf_i386_pic_a_OBJECTS) $(libld_elf_i386_pic_a_DEPENDENCIES) 319 -rm -f libld_elf_i386_pic.a 320 $(libld_elf_i386_pic_a_AR) libld_elf_i386_pic.a $(libld_elf_i386_pic_a_OBJECTS) $(libld_elf_i386_pic_a_LIBADD) 321 $(RANLIB) libld_elf_i386_pic.a 322 install-binPROGRAMS: $(bin_PROGRAMS) 323 @$(NORMAL_INSTALL) 324 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 325 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 326 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 327 if test -f $$p \ 328 ; then \ 329 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 330 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 331 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 332 else :; fi; \ 333 done 334 335 uninstall-binPROGRAMS: 336 @$(NORMAL_UNINSTALL) 337 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 338 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 339 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 340 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 341 done 342 343 clean-binPROGRAMS: 344 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 345 346 clean-noinstPROGRAMS: 347 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 348 elflint$(EXEEXT): $(elflint_OBJECTS) $(elflint_DEPENDENCIES) 349 @rm -f elflint$(EXEEXT) 350 $(LINK) $(elflint_LDFLAGS) $(elflint_OBJECTS) $(elflint_LDADD) $(LIBS) 351 ld$(EXEEXT): $(ld_OBJECTS) $(ld_DEPENDENCIES) 352 @rm -f ld$(EXEEXT) 353 $(LINK) $(ld_LDFLAGS) $(ld_OBJECTS) $(ld_LDADD) $(LIBS) 354 nm$(EXEEXT): $(nm_OBJECTS) $(nm_DEPENDENCIES) 355 @rm -f nm$(EXEEXT) 356 $(LINK) $(nm_LDFLAGS) $(nm_OBJECTS) $(nm_LDADD) $(LIBS) 357 readelf$(EXEEXT): $(readelf_OBJECTS) $(readelf_DEPENDENCIES) 358 @rm -f readelf$(EXEEXT) 359 $(LINK) $(readelf_LDFLAGS) $(readelf_OBJECTS) $(readelf_LDADD) $(LIBS) 360 size$(EXEEXT): $(size_OBJECTS) $(size_DEPENDENCIES) 361 @rm -f size$(EXEEXT) 362 $(LINK) $(size_LDFLAGS) $(size_OBJECTS) $(size_LDADD) $(LIBS) 363 strip$(EXEEXT): $(strip_OBJECTS) $(strip_DEPENDENCIES) 364 @rm -f strip$(EXEEXT) 365 $(LINK) $(strip_LDFLAGS) $(strip_OBJECTS) $(strip_LDADD) $(LIBS) 366 367 mostlyclean-compile: 368 -rm -f *.$(OBJEXT) 369 370 distclean-compile: 371 -rm -f *.tab.c 372 373 include ./$(DEPDIR)/$(base_cpu)_ld.Po 374 include ./$(DEPDIR)/elflint.Po 375 include ./$(DEPDIR)/ld.Po 376 include ./$(DEPDIR)/ldgeneric.Po 377 include ./$(DEPDIR)/ldlex.Po 378 include ./$(DEPDIR)/ldscript.Po 379 include ./$(DEPDIR)/nm.Po 380 include ./$(DEPDIR)/readelf.Po 381 include ./$(DEPDIR)/sectionhash.Po 382 include ./$(DEPDIR)/size.Po 383 include ./$(DEPDIR)/strip.Po 384 include ./$(DEPDIR)/symbolhash.Po 385 include ./$(DEPDIR)/versionhash.Po 386 387 .c.o: 388 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 389 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 390 # source='$<' object='$@' libtool=no \ 391 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 392 # $(COMPILE) -c $< 393 394 .c.obj: 395 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 396 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 397 # source='$<' object='$@' libtool=no \ 398 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 399 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 400 401 .l.c: 402 $(LEXCOMPILE) $< 403 sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@ 404 rm -f $(LEX_OUTPUT_ROOT).c 405 406 .y.c: 407 $(YACCCOMPILE) $< 408 if test -f y.tab.h; then \ 409 to=`echo "$*_H" | sed \ 410 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ 411 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ 412 sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \ 413 y.tab.h >$*.ht; \ 414 rm -f y.tab.h; \ 415 if cmp -s $*.ht $*.h; then \ 416 rm -f $*.ht ;\ 417 else \ 418 mv $*.ht $*.h; \ 419 fi; \ 420 fi 421 if test -f y.output; then \ 422 mv y.output $*.output; \ 423 fi 424 sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@ 425 rm -f y.tab.c 426 uninstall-info-am: 427 428 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 429 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 430 unique=`for i in $$list; do \ 431 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 432 done | \ 433 $(AWK) ' { files[$$0] = 1; } \ 434 END { for (i in files) print i; }'`; \ 435 mkid -fID $$unique 436 tags: TAGS 437 438 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 439 $(TAGS_FILES) $(LISP) 440 tags=; \ 441 here=`pwd`; \ 442 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 443 unique=`for i in $$list; do \ 444 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 445 done | \ 446 $(AWK) ' { files[$$0] = 1; } \ 447 END { for (i in files) print i; }'`; \ 448 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 449 test -n "$$unique" || unique=$$empty_fix; \ 450 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 451 $$tags $$unique; \ 452 fi 453 ctags: CTAGS 454 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 455 $(TAGS_FILES) $(LISP) 456 tags=; \ 457 here=`pwd`; \ 458 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 459 unique=`for i in $$list; do \ 460 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 461 done | \ 462 $(AWK) ' { files[$$0] = 1; } \ 463 END { for (i in files) print i; }'`; \ 464 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 465 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 466 $$tags $$unique 467 468 GTAGS: 469 here=`$(am__cd) $(top_builddir) && pwd` \ 470 && cd $(top_srcdir) \ 471 && gtags -i $(GTAGS_ARGS) $$here 472 473 distclean-tags: 474 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 475 476 distdir: $(DISTFILES) 477 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 478 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 479 list='$(DISTFILES)'; for file in $$list; do \ 480 case $$file in \ 481 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 482 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 483 esac; \ 484 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 485 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 486 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 487 dir="/$$dir"; \ 488 $(mkdir_p) "$(distdir)$$dir"; \ 489 else \ 490 dir=''; \ 491 fi; \ 492 if test -d $$d/$$file; then \ 493 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 494 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 495 fi; \ 496 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 497 else \ 498 test -f $(distdir)/$$file \ 499 || cp -p $$d/$$file $(distdir)/$$file \ 500 || exit 1; \ 501 fi; \ 502 done 503 check-am: all-am 504 check: check-am 505 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) 506 installdirs: 507 for dir in "$(DESTDIR)$(bindir)"; do \ 508 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 509 done 510 install: install-am 511 install-exec: install-exec-am 512 install-data: install-data-am 513 uninstall: uninstall-am 514 515 install-am: all-am 516 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 517 518 installcheck: installcheck-am 519 install-strip: 520 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 521 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 522 `test -z '$(STRIP)' || \ 523 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 524 mostlyclean-generic: 525 526 clean-generic: 527 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 528 529 distclean-generic: 530 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 531 532 maintainer-clean-generic: 533 @echo "This command is intended for maintainers to use" 534 @echo "it deletes files that may require special tools to rebuild." 535 -rm -f ldlex.c 536 -rm -f ldscript.c 537 clean: clean-am 538 539 clean-am: clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \ 540 clean-noinstPROGRAMS mostlyclean-am 541 542 distclean: distclean-am 543 -rm -rf ./$(DEPDIR) 544 -rm -f Makefile 545 distclean-am: clean-am distclean-compile distclean-generic \ 546 distclean-tags 547 548 dvi: dvi-am 549 550 dvi-am: 551 552 html: html-am 553 554 info: info-am 555 556 info-am: 557 558 install-data-am: 559 560 install-exec-am: install-binPROGRAMS 561 562 install-info: install-info-am 563 564 install-man: 565 566 installcheck-am: installcheck-binPROGRAMS 567 568 maintainer-clean: maintainer-clean-am 569 -rm -rf ./$(DEPDIR) 570 -rm -f Makefile 571 maintainer-clean-am: distclean-am maintainer-clean-generic 572 573 mostlyclean: mostlyclean-am 574 575 mostlyclean-am: mostlyclean-compile mostlyclean-generic 576 577 pdf: pdf-am 578 579 pdf-am: 580 581 ps: ps-am 582 583 ps-am: 584 585 uninstall-am: uninstall-binPROGRAMS uninstall-info-am 586 587 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 588 clean-generic clean-noinstLIBRARIES clean-noinstPROGRAMS ctags \ 589 distclean distclean-compile distclean-generic distclean-tags \ 590 distdir dvi dvi-am html html-am info info-am install \ 591 install-am install-binPROGRAMS install-data install-data-am \ 592 install-exec install-exec-am install-info install-info-am \ 593 install-man install-strip installcheck installcheck-am \ 594 installcheck-binPROGRAMS installdirs maintainer-clean \ 595 maintainer-clean-generic mostlyclean mostlyclean-compile \ 596 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 597 uninstall-am uninstall-binPROGRAMS uninstall-info-am 598 599 600 ldlex.o: ldscript.c 601 ldscript.h: ldscript.c 602 libld_elf_i386.so: libld_elf_i386_pic.a libld_elf_i386.map 603 $(CC) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \ 604 $(libelf) $(libeu) \ 605 -Wl,--version-script,$(srcdir)/libld_elf_i386.map 606 607 %.os: %.c %.o 608 if $(filter-out -fmudflap,$(COMPILE)) -c -o $@ -fpic -DPIC -DSHARED \ 609 -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 610 `test -f '$<' || echo '$(srcdir)/'`$<; \ 611 then cat "$(DEPDIR)/$*.Tpo" >> "$(DEPDIR)/$*.Po"; \ 612 rm -f "$(DEPDIR)/$*.Tpo"; \ 613 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 614 fi 615 616 # Special rule to make it possible to define libld_elf_a_SOURCES as we do. 617 # Otherwise make would complain. 618 .deps/none_ld.Po: none_ld.os 619 -: 620 621 installcheck-binPROGRAMS: $(bin_PROGRAMS) 622 bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ 623 case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \ 624 *" $$p "* | *" $(srcdir)/$$p "*) continue;; \ 625 esac; \ 626 f=`echo "$$p" | \ 627 sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 628 for opt in --help --version; do \ 629 if LD_LIBRARY_PATH=$(DESTDIR)$(libdir) \ 630 $(DESTDIR)$(bindir)/$$f $$opt > c$${pid}_.out 2> c$${pid}_.err \ 631 && test -n "`cat c$${pid}_.out`" \ 632 && test -z "`cat c$${pid}_.err`"; then :; \ 633 else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \ 634 done; \ 635 done; rm -f c$${pid}_.???; exit $$bad 636 # Tell versions [3.59,3.63) of GNU make to not export all variables. 637 # Otherwise a system limit (for SysV at least) may be exceeded. 638 .NOEXPORT: 639