1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/relocatable-prog
Bruno Haible cc0adb3926 relocatable-prog-wrapper: Separate from relocatable-prog.
* modules/relocatable-prog (Makefile.am): Define uninstall-hook and
uninstall-relocwrapper rule here.
* modules/relocatable-prog-wrapper (Makefile.am): ... not here.
Reported by Ian Beckwith <ianb@erislabs.net>.
2010-12-19 11:59:10 +01:00

57 lines
1002 B
Plaintext

Description:
Help make programs relocatable, that is, to allow them to function
properly when copied to an arbitrary directory.
Files:
build-aux/config.libpath
build-aux/reloc-ldflags
doc/relocatable.texi
lib/relocatable.h
lib/relocatable.c
lib/progreloc.c
m4/relocatable.m4
m4/relocatable-lib.m4
m4/lib-ld.m4
Depends-on:
relocatable-prog-wrapper
progname
canonicalize-lgpl
xalloc
xreadlink
stdbool
unistd
memcmp
strdup
configure.ac:
gl_RELOCATABLE([$gl_source_base])
Makefile.am:
DEFS += -DEXEEXT=\"@EXEEXT@\"
if RELOCATABLE_VIA_WRAPPER
uninstall-hook: uninstall-relocwrapper
uninstall-relocwrapper:
if test $(RELOCATABLE) = yes; then \
case '$(EXEEXT)' in \
.bin*) ;; \
*) cd $(top_builddir) && \
$(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
uninstall ;; \
esac; \
fi
.PHONY: uninstall-relocwrapper
endif
Include:
"relocatable.h"
"progname.h"
License:
GPL
Maintainer:
Bruno Haible, Ben Pfaff