closein: correct comments
[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 fi
32
33 Makefile.am:
34 DEFS += -DEXEEXT=\"@EXEEXT@\"
35 if RELOCATABLE_VIA_WRAPPER
36 uninstall-hook: uninstall-relocwrapper
37 uninstall-relocwrapper:
38         if test $(RELOCATABLE) = yes; then \
39           case '$(EXEEXT)' in \
40             .bin*) ;; \
41             *) cd $(top_builddir) && \
42                $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
43                        AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
44                        uninstall ;; \
45           esac; \
46         fi
47 .PHONY: uninstall-relocwrapper
48 endif
49
50 Include:
51 "relocatable.h"
52 "progname.h"
53
54 License:
55 GPL
56
57 Maintainer:
58 Bruno Haible, Ben Pfaff
59