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
19 relocatable-prog-wrapper
31 gl_RELOCATABLE([$gl_source_base])
32 gl_CONDITIONAL([GL_COND_OBJ_PROGRELOC], [test $RELOCATABLE = yes])
33 AM_COND_IF([GL_COND_OBJ_PROGRELOC], [
34 AC_LIBOBJ([relocatable])
38 if GL_COND_OBJ_PROGRELOC
39 lib_SOURCES += progreloc.c
41 DEFS += -DEXEEXT=\"@EXEEXT@\"
42 if RELOCATABLE_VIA_WRAPPER
43 uninstall-hook: uninstall-relocwrapper
44 uninstall-relocwrapper:
45 if test $(RELOCATABLE) = yes; then \
48 *) cd $(top_builddir) && \
49 $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
50 AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
55 ## Automake warns about conditionally added dependencies to unconditionally defined targets.
56 .PHONY: uninstall-relocwrapper