• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.9.2 from Makefile.am.
2# libasm/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
19SOURCES = $(libasm_a_SOURCES) $(libasm_pic_a_SOURCES) $(libasm_so_SOURCES)
20
21srcdir = .
22top_srcdir = ..
23
24pkgdatadir = $(datadir)/elfutils
25pkglibdir = $(libdir)/elfutils
26pkgincludedir = $(includedir)/elfutils
27top_builddir = ..
28am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29INSTALL = /usr/bin/install -c
30install_sh_DATA = $(install_sh) -c -m 644
31install_sh_PROGRAM = $(install_sh) -c
32install_sh_SCRIPT = $(install_sh) -c
33INSTALL_HEADER = $(INSTALL_DATA)
34transform = $(program_transform_name)
35NORMAL_INSTALL = :
36PRE_INSTALL = :
37POST_INSTALL = :
38NORMAL_UNINSTALL = :
39PRE_UNINSTALL = :
40POST_UNINSTALL = :
41build_triplet = i686-pc-linux-gnu
42host_triplet = i686-pc-linux-gnu
43noinst_PROGRAMS = $(am__EXEEXT_1)
44#am_libasm_pic_a_OBJECTS =
45subdir = libasm
46DIST_COMMON = $(euinclude_HEADERS) $(noinst_HEADERS) \
47	$(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog
48ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
50	$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
51	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
52	$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54	$(ACLOCAL_M4)
55mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
56CONFIG_HEADER = $(top_builddir)/config.h
57CONFIG_CLEAN_FILES =
58am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
59am__vpath_adj = case $$p in \
60    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
61    *) f=$$p;; \
62  esac;
63am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
64am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(euincludedir)"
65libLIBRARIES_INSTALL = $(INSTALL_DATA)
66LIBRARIES = $(lib_LIBRARIES) $(noinst_LIBRARIES)
67AR = ar
68ARFLAGS = cru
69libasm_a_AR = $(AR) $(ARFLAGS)
70libasm_a_LIBADD =
71am_libasm_a_OBJECTS = asm_begin.$(OBJEXT) asm_abort.$(OBJEXT) \
72	asm_end.$(OBJEXT) asm_error.$(OBJEXT) asm_getelf.$(OBJEXT) \
73	asm_newscn.$(OBJEXT) asm_newscn_ingrp.$(OBJEXT) \
74	asm_newsubscn.$(OBJEXT) asm_newsym.$(OBJEXT) \
75	asm_newcomsym.$(OBJEXT) asm_newabssym.$(OBJEXT) \
76	asm_newscngrp.$(OBJEXT) asm_scngrp_newsignature.$(OBJEXT) \
77	asm_fill.$(OBJEXT) asm_align.$(OBJEXT) asm_addstrz.$(OBJEXT) \
78	asm_addint8.$(OBJEXT) asm_adduint8.$(OBJEXT) \
79	asm_addint16.$(OBJEXT) asm_adduint16.$(OBJEXT) \
80	asm_addint32.$(OBJEXT) asm_adduint32.$(OBJEXT) \
81	asm_addint64.$(OBJEXT) asm_adduint64.$(OBJEXT) \
82	asm_adduleb128.$(OBJEXT) asm_addsleb128.$(OBJEXT) \
83	symbolhash.$(OBJEXT)
84libasm_a_OBJECTS = $(am_libasm_a_OBJECTS)
85libasm_pic_a_AR = $(AR) $(ARFLAGS)
86libasm_pic_a_LIBADD =
87libasm_pic_a_OBJECTS = $(am_libasm_pic_a_OBJECTS)
88am__EXEEXT_1 = libasm.so$(EXEEXT)
89PROGRAMS = $(noinst_PROGRAMS)
90am_libasm_so_OBJECTS =
91libasm_so_OBJECTS = $(am_libasm_so_OBJECTS)
92libasm_so_LDADD = $(LDADD)
93DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
94depcomp = $(SHELL) $(top_srcdir)/config/depcomp
95am__depfiles_maybe = depfiles
96COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
97	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
98CCLD = $(CC)
99LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
100SOURCES = $(libasm_a_SOURCES) $(libasm_pic_a_SOURCES) \
101	$(libasm_so_SOURCES)
102DIST_SOURCES = $(libasm_a_SOURCES) $(libasm_pic_a_SOURCES) \
103	$(libasm_so_SOURCES)
104euincludeHEADERS_INSTALL = $(INSTALL_HEADER)
105HEADERS = $(euinclude_HEADERS) $(noinst_HEADERS)
106ETAGS = etags
107CTAGS = ctags
108DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
109ACLOCAL = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run aclocal-1.9
110AMDEP_FALSE = #
111AMDEP_TRUE =
112AMTAR = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run tar
113AUTOCONF = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run autoconf
114AUTOHEADER = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run autoheader
115AUTOMAKE = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run automake-1.9
116AWK = gawk
117CC = gcc
118CCDEPMODE = depmode=gcc3
119CFLAGS = -g -O2
120CPP = gcc -E
121CPPFLAGS =
122CYGPATH_W = echo
123DATADIRNAME = ${prefix}/share
124DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
125DEPDIR = .deps
126ECHO_C =
127ECHO_N = -n
128ECHO_T =
129EGREP = grep -E
130EXEEXT =
131GMSGFMT = /usr/bin/msgfmt
132INSTALL_DATA = ${INSTALL} -m 644
133INSTALL_PROGRAM = ${INSTALL}
134INSTALL_SCRIPT = ${INSTALL}
135INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
136INTLLIBS =
137LDFLAGS =
138LEX = flex
139LEXLIB = -lfl
140LEX_OUTPUT_ROOT = lex.yy
141LIBICONV = -liconv
142LIBINTL =
143LIBOBJS =
144LIBS =
145LOCALEDIR = ${prefix}/share
146LTLIBICONV = -liconv
147LTLIBINTL =
148LTLIBOBJS =
149MAKEINFO = ${SHELL} /work/elfutils/stock/elfutils-0.97/config/missing --run makeinfo
150MKINSTALLDIRS = config/mkinstalldirs
151MSGFMT = /usr/bin/msgfmt
152MSGMERGE = /usr/bin/msgmerge
153MUDFLAP_FALSE =
154MUDFLAP_TRUE = #
155NATIVE_LD_FALSE =
156NATIVE_LD_TRUE = #
157OBJEXT = o
158PACKAGE = elfutils
159PACKAGE_BUGREPORT = http://bugzilla.redhat.com/bugzilla/
160PACKAGE_NAME = Red Hat elfutils
161PACKAGE_STRING = Red Hat elfutils 0.97
162PACKAGE_TARNAME = elfutils
163PACKAGE_VERSION = 0.97
164PATH_SEPARATOR = :
165POSUB = po
166RANLIB = ranlib
167SET_MAKE =
168SHELL = /bin/sh
169STRIP =
170USE_NLS = yes
171VERSION = 1
172XGETTEXT = /usr/bin/xgettext
173YACC = bison -y
174ac_ct_CC = gcc
175ac_ct_RANLIB = ranlib
176ac_ct_STRIP =
177am__fastdepCC_FALSE = #
178am__fastdepCC_TRUE =
179am__include = include
180am__leading_dot = .
181am__quote =
182am__tar = ${AMTAR} chof - "$$tardir"
183am__untar = ${AMTAR} xf -
184base_cpu = none
185bindir = ${exec_prefix}/bin
186build = i686-pc-linux-gnu
187build_alias =
188build_cpu = i686
189build_os = linux-gnu
190build_vendor = pc
191datadir = ${prefix}/share
192exec_prefix = ${prefix}
193host = i686-pc-linux-gnu
194host_alias =
195host_cpu = i686
196host_os = linux-gnu
197host_vendor = pc
198includedir = ${prefix}/include
199infodir = ${prefix}/info
200install_sh = /work/elfutils/stock/elfutils-0.97/config/install-sh
201libdir = ${exec_prefix}/lib
202libexecdir = ${exec_prefix}/libexec
203localstatedir = ${prefix}/var
204mandir = ${prefix}/man
205mkdir_p = mkdir -p --
206oldincludedir = /usr/include
207prefix = /work/elfutils/google/linux-install-elfutils-0.97/
208program_transform_name = s,x,x,
209sbindir = ${exec_prefix}/sbin
210sharedstatedir = ${prefix}/com
211sysconfdir = ${prefix}/etc
212target_alias =
213AM_CFLAGS = -Wall -Werror
214#AM_CFLAGS = -Wall
215INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
216	   -I$(top_srcdir)/lib
217
218GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
219LINT = splint
220lib_LIBRARIES = libasm.a
221noinst_LIBRARIES = libasm_pic.a
222euincludedir = ${includedir}/elfutils
223euinclude_HEADERS = libasm.h
224libasm_a_SOURCES = asm_begin.c asm_abort.c asm_end.c asm_error.c \
225		   asm_getelf.c asm_newscn.c asm_newscn_ingrp.c \
226		   asm_newsubscn.c asm_newsym.c asm_newcomsym.c \
227		   asm_newabssym.c \
228		   asm_newscngrp.c asm_scngrp_newsignature.c \
229		   asm_fill.c asm_align.c asm_addstrz.c \
230		   asm_addint8.c asm_adduint8.c \
231		   asm_addint16.c asm_adduint16.c \
232		   asm_addint32.c asm_adduint32.c \
233		   asm_addint64.c asm_adduint64.c \
234		   asm_adduleb128.c asm_addsleb128.c \
235		   symbolhash.c
236
237libasm_pic_a_SOURCES =
238am_libasm_pic_a_OBJECTS = $(libasm_a_SOURCES:.c=.os)
239libasm_so_SOURCES =
240noinst_HEADERS = libasmP.h symbolhash.h
241EXTRA_DIST = libasm.map
242CLEANFILES = $(am_libasm_pic_a_OBJECTS)
243all: all-am
244
245.SUFFIXES:
246.SUFFIXES: .c .o .obj
247$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
248	@for dep in $?; do \
249	  case '$(am__configure_deps)' in \
250	    *$$dep*) \
251	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
252		&& exit 0; \
253	      exit 1;; \
254	  esac; \
255	done; \
256	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits  libasm/Makefile'; \
257	cd $(top_srcdir) && \
258	  $(AUTOMAKE) --gnits  libasm/Makefile
259.PRECIOUS: Makefile
260Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
261	@case '$?' in \
262	  *config.status*) \
263	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
264	  *) \
265	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
266	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
267	esac;
268
269$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
270	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
271
272$(top_srcdir)/configure:  $(am__configure_deps)
273	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
274$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
275	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
276install-libLIBRARIES: $(lib_LIBRARIES)
277	@$(NORMAL_INSTALL)
278	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
279	@list='$(lib_LIBRARIES)'; for p in $$list; do \
280	  if test -f $$p; then \
281	    f=$(am__strip_dir) \
282	    echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
283	    $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
284	  else :; fi; \
285	done
286	@$(POST_INSTALL)
287	@list='$(lib_LIBRARIES)'; for p in $$list; do \
288	  if test -f $$p; then \
289	    p=$(am__strip_dir) \
290	    echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
291	    $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
292	  else :; fi; \
293	done
294
295uninstall-libLIBRARIES:
296	@$(NORMAL_UNINSTALL)
297	@list='$(lib_LIBRARIES)'; for p in $$list; do \
298	  p=$(am__strip_dir) \
299	  echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
300	  rm -f "$(DESTDIR)$(libdir)/$$p"; \
301	done
302
303clean-libLIBRARIES:
304	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
305
306clean-noinstLIBRARIES:
307	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
308libasm.a: $(libasm_a_OBJECTS) $(libasm_a_DEPENDENCIES)
309	-rm -f libasm.a
310	$(libasm_a_AR) libasm.a $(libasm_a_OBJECTS) $(libasm_a_LIBADD)
311	$(RANLIB) libasm.a
312libasm_pic.a: $(libasm_pic_a_OBJECTS) $(libasm_pic_a_DEPENDENCIES)
313	-rm -f libasm_pic.a
314	$(libasm_pic_a_AR) libasm_pic.a $(libasm_pic_a_OBJECTS) $(libasm_pic_a_LIBADD)
315	$(RANLIB) libasm_pic.a
316
317clean-noinstPROGRAMS:
318	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
319#libasm.so$(EXEEXT): $(libasm_so_OBJECTS) $(libasm_so_DEPENDENCIES)
320#	@rm -f libasm.so$(EXEEXT)
321#	$(LINK) $(libasm_so_LDFLAGS) $(libasm_so_OBJECTS) $(libasm_so_LDADD) $(LIBS)
322
323mostlyclean-compile:
324	-rm -f *.$(OBJEXT)
325
326distclean-compile:
327	-rm -f *.tab.c
328
329include ./$(DEPDIR)/asm_abort.Po
330include ./$(DEPDIR)/asm_addint16.Po
331include ./$(DEPDIR)/asm_addint32.Po
332include ./$(DEPDIR)/asm_addint64.Po
333include ./$(DEPDIR)/asm_addint8.Po
334include ./$(DEPDIR)/asm_addsleb128.Po
335include ./$(DEPDIR)/asm_addstrz.Po
336include ./$(DEPDIR)/asm_adduint16.Po
337include ./$(DEPDIR)/asm_adduint32.Po
338include ./$(DEPDIR)/asm_adduint64.Po
339include ./$(DEPDIR)/asm_adduint8.Po
340include ./$(DEPDIR)/asm_adduleb128.Po
341include ./$(DEPDIR)/asm_align.Po
342include ./$(DEPDIR)/asm_begin.Po
343include ./$(DEPDIR)/asm_end.Po
344include ./$(DEPDIR)/asm_error.Po
345include ./$(DEPDIR)/asm_fill.Po
346include ./$(DEPDIR)/asm_getelf.Po
347include ./$(DEPDIR)/asm_newabssym.Po
348include ./$(DEPDIR)/asm_newcomsym.Po
349include ./$(DEPDIR)/asm_newscn.Po
350include ./$(DEPDIR)/asm_newscn_ingrp.Po
351include ./$(DEPDIR)/asm_newscngrp.Po
352include ./$(DEPDIR)/asm_newsubscn.Po
353include ./$(DEPDIR)/asm_newsym.Po
354include ./$(DEPDIR)/asm_scngrp_newsignature.Po
355include ./$(DEPDIR)/symbolhash.Po
356
357.c.o:
358	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
359	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
360#	source='$<' object='$@' libtool=no \
361#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
362#	$(COMPILE) -c $<
363
364.c.obj:
365	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
366	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
367#	source='$<' object='$@' libtool=no \
368#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
369#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
370uninstall-info-am:
371install-euincludeHEADERS: $(euinclude_HEADERS)
372	@$(NORMAL_INSTALL)
373	test -z "$(euincludedir)" || $(mkdir_p) "$(DESTDIR)$(euincludedir)"
374	@list='$(euinclude_HEADERS)'; for p in $$list; do \
375	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
376	  f=$(am__strip_dir) \
377	  echo " $(euincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(euincludedir)/$$f'"; \
378	  $(euincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(euincludedir)/$$f"; \
379	done
380
381uninstall-euincludeHEADERS:
382	@$(NORMAL_UNINSTALL)
383	@list='$(euinclude_HEADERS)'; for p in $$list; do \
384	  f=$(am__strip_dir) \
385	  echo " rm -f '$(DESTDIR)$(euincludedir)/$$f'"; \
386	  rm -f "$(DESTDIR)$(euincludedir)/$$f"; \
387	done
388
389ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
390	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
391	unique=`for i in $$list; do \
392	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
393	  done | \
394	  $(AWK) '    { files[$$0] = 1; } \
395	       END { for (i in files) print i; }'`; \
396	mkid -fID $$unique
397tags: TAGS
398
399TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
400		$(TAGS_FILES) $(LISP)
401	tags=; \
402	here=`pwd`; \
403	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
404	unique=`for i in $$list; do \
405	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406	  done | \
407	  $(AWK) '    { files[$$0] = 1; } \
408	       END { for (i in files) print i; }'`; \
409	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
410	  test -n "$$unique" || unique=$$empty_fix; \
411	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
412	    $$tags $$unique; \
413	fi
414ctags: CTAGS
415CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
416		$(TAGS_FILES) $(LISP)
417	tags=; \
418	here=`pwd`; \
419	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
420	unique=`for i in $$list; do \
421	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
422	  done | \
423	  $(AWK) '    { files[$$0] = 1; } \
424	       END { for (i in files) print i; }'`; \
425	test -z "$(CTAGS_ARGS)$$tags$$unique" \
426	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
427	     $$tags $$unique
428
429GTAGS:
430	here=`$(am__cd) $(top_builddir) && pwd` \
431	  && cd $(top_srcdir) \
432	  && gtags -i $(GTAGS_ARGS) $$here
433
434distclean-tags:
435	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
436
437distdir: $(DISTFILES)
438	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
439	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
440	list='$(DISTFILES)'; for file in $$list; do \
441	  case $$file in \
442	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
443	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
444	  esac; \
445	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
446	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
447	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
448	    dir="/$$dir"; \
449	    $(mkdir_p) "$(distdir)$$dir"; \
450	  else \
451	    dir=''; \
452	  fi; \
453	  if test -d $$d/$$file; then \
454	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
455	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
456	    fi; \
457	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
458	  else \
459	    test -f $(distdir)/$$file \
460	    || cp -p $$d/$$file $(distdir)/$$file \
461	    || exit 1; \
462	  fi; \
463	done
464check-am: all-am
465check: check-am
466all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
467installdirs:
468	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(euincludedir)"; do \
469	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
470	done
471#install: install-am
472install-exec: install-exec-am
473install-data: install-data-am
474#uninstall: uninstall-am
475
476install-am: all-am
477	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
478
479installcheck: installcheck-am
480install-strip:
481	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
482	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
483	  `test -z '$(STRIP)' || \
484	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
485mostlyclean-generic:
486
487clean-generic:
488	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
489
490distclean-generic:
491	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
492
493maintainer-clean-generic:
494	@echo "This command is intended for maintainers to use"
495	@echo "it deletes files that may require special tools to rebuild."
496clean: clean-am
497
498clean-am: clean-generic clean-libLIBRARIES clean-noinstLIBRARIES \
499	clean-noinstPROGRAMS mostlyclean-am
500
501distclean: distclean-am
502	-rm -rf ./$(DEPDIR)
503	-rm -f Makefile
504distclean-am: clean-am distclean-compile distclean-generic \
505	distclean-tags
506
507dvi: dvi-am
508
509dvi-am:
510
511html: html-am
512
513info: info-am
514
515info-am:
516
517install-data-am: install-euincludeHEADERS
518
519install-exec-am: install-libLIBRARIES
520
521install-info: install-info-am
522
523install-man:
524
525installcheck-am:
526
527maintainer-clean: maintainer-clean-am
528	-rm -rf ./$(DEPDIR)
529	-rm -f Makefile
530maintainer-clean-am: distclean-am maintainer-clean-generic
531
532mostlyclean: mostlyclean-am
533
534mostlyclean-am: mostlyclean-compile mostlyclean-generic
535
536pdf: pdf-am
537
538pdf-am:
539
540ps: ps-am
541
542ps-am:
543
544uninstall-am: uninstall-euincludeHEADERS uninstall-info-am \
545	uninstall-libLIBRARIES
546
547.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
548	clean-libLIBRARIES clean-noinstLIBRARIES clean-noinstPROGRAMS \
549	ctags distclean distclean-compile distclean-generic \
550	distclean-tags distdir dvi dvi-am html html-am info info-am \
551	install install-am install-data install-data-am \
552	install-euincludeHEADERS install-exec install-exec-am \
553	install-info install-info-am install-libLIBRARIES install-man \
554	install-strip installcheck installcheck-am installdirs \
555	maintainer-clean maintainer-clean-generic mostlyclean \
556	mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
557	tags uninstall uninstall-am uninstall-euincludeHEADERS \
558	uninstall-info-am uninstall-libLIBRARIES
559
560libasm.so: libasm_pic.a libasm.map
561	$(CC) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
562	      -Wl,--version-script,$(srcdir)/libasm.map,--no-undefined \
563	      -Wl,--soname,$@.$(VERSION) \
564	      ../libebl/libebl.a ../libelf/libelf.so
565	ln -fs $@ $@.$(VERSION)
566
567%.os: %.c %.o
568	if $(COMPILE) -c -o $@ -fpic -DPIC -DSHARED -MT $@ -MD -MP \
569	  -MF "$(DEPDIR)/$*.Tpo" `test -f '$<' || echo '$(srcdir)/'`$<; \
570	then cat "$(DEPDIR)/$*.Tpo" >> "$(DEPDIR)/$*.Po"; \
571	     rm -f "$(DEPDIR)/$*.Tpo"; \
572	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
573	fi
574
575install: install-am libasm.so
576	$(mkinstalldirs) $(DESTDIR)$(libdir)
577	$(INSTALL_PROGRAM) libasm.so $(DESTDIR)$(libdir)/libasm-$(PACKAGE_VERSION).so
578	ln -fs libasm-$(PACKAGE_VERSION).so $(DESTDIR)$(libdir)/libasm.so.$(VERSION)
579	ln -fs libasm.so.$(VERSION) $(DESTDIR)$(libdir)/libasm.so
580
581uninstall: uninstall-am
582	rm -f $(DESTDIR)$(libdir)/libasm-$(PACKAGE_VERSION).so
583	rm -f $(DESTDIR)$(libdir)/libasm.so.$(VERSION)
584	rm -f $(DESTDIR)$(libdir)/libasm.so
585	rmdir --ignore-fail-on-non-empty $(DESTDIR)$(includedir)/elfutils
586
587.PSEUDO: lint
588lint:
589	$(LINT) $(DEFS) $(INCLUDES) $(GCC_INCLUDE) -f $(top_srcdir)/splint.rc \
590		$(addprefix $(srcdir)/,$(libelf_la_SOURCES))
591# Tell versions [3.59,3.63) of GNU make to not export all variables.
592# Otherwise a system limit (for SysV at least) may be exceeded.
593.NOEXPORT:
594