verify: new macro 'assume'
[gnulib.git] / modules / relocatable-prog
1 Description:
2 Help make programs relocatable, that is, to allow them to function
3 properly when copied to an arbitrary directory.
4
5 Files:
6 build-aux/config.libpath
7 build-aux/reloc-ldflags
8 doc/relocatable.texi
9 lib/relocatable.h
10 lib/relocatable.c
11 lib/progreloc.c
12 m4/relocatable.m4
13 m4/relocatable-lib.m4
14 m4/lib-ld.m4
15
16 Depends-on:
17 relocatable-prog-wrapper
18 progname
19 canonicalize-lgpl
20 xalloc
21 xreadlink
22 stdbool
23 unistd
24 memcmp
25 strdup
26
27 configure.ac:
28 gl_RELOCATABLE([$gl_source_base])
29 if test $RELOCATABLE = yes; then
30   AC_LIBOBJ([progreloc])
31   AC_LIBOBJ([relocatable])
32 fi
33
34 Makefile.am:
35 DEFS += -DEXEEXT=\"@EXEEXT@\"
36 if RELOCATABLE_VIA_WRAPPER
37 uninstall-hook: uninstall-relocwrapper
38 uninstall-relocwrapper:
39         if test $(RELOCATABLE) = yes; then \
40           case '$(EXEEXT)' in \
41             .bin*) ;; \
42             *) cd $(top_builddir) && \
43                $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
44                        AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
45                        uninstall ;; \
46           esac; \
47         fi
48 .PHONY: uninstall-relocwrapper
49 endif
50
51 Include:
52 "relocatable.h"
53 "progname.h"
54
55 License:
56 GPL
57
58 Maintainer:
59 Bruno Haible, Ben Pfaff
60