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