2 Help make programs relocatable, that is, to allow them to function
3 properly when copied to an arbitrary directory.
6 build-aux/config.libpath
7 build-aux/reloc-ldflags
8 build-aux/libtool-reloc
18 relocatable-prog-wrapper
30 gl_RELOCATABLE([$gl_source_base])
31 gl_CONDITIONAL([GL_COND_OBJ_PROGRELOC], [test $RELOCATABLE = yes])
32 AM_COND_IF([GL_COND_OBJ_PROGRELOC], [
33 AC_LIBOBJ([relocatable])
37 if GL_COND_OBJ_PROGRELOC
38 lib_SOURCES += progreloc.c
40 DEFS += -DEXEEXT=\"@EXEEXT@\"
41 if RELOCATABLE_VIA_WRAPPER
42 uninstall-hook: uninstall-relocwrapper
43 uninstall-relocwrapper:
44 if test $(RELOCATABLE) = yes; then \
47 *) cd $(top_builddir) && \
48 $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
49 AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
54 ## Automake warns about conditionally added dependencies to unconditionally defined targets.
55 .PHONY: uninstall-relocwrapper