unistr/u8-strstr tests: Avoid test failure with ASAN.
[gnulib.git] / modules / relocatable-prog
blob8e22b20dd072357522c7f0b2a98e433dba9c26ce
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 gl_CONDITIONAL([GL_COND_OBJ_PROGRELOC], [test $RELOCATABLE = yes])
32 AM_COND_IF([GL_COND_OBJ_PROGRELOC], [
33   AC_LIBOBJ([relocatable])
36 Makefile.am:
37 if GL_COND_OBJ_PROGRELOC
38 lib_SOURCES += progreloc.c
39 endif
40 DEFS += -DEXEEXT=\"@EXEEXT@\"
41 if RELOCATABLE_VIA_WRAPPER
42 uninstall-hook: uninstall-relocwrapper
43 uninstall-relocwrapper:
44         if test $(RELOCATABLE) = yes; then \
45           case '$(EXEEXT)' in \
46             .bin*) ;; \
47             *) cd $(top_builddir) && \
48                $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
49                        AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
50                        uninstall ;; \
51           esac; \
52         fi
53 endif
54 ## Automake warns about conditionally added dependencies to unconditionally defined targets.
55 .PHONY: uninstall-relocwrapper
57 Include:
58 "relocatable.h"
59 "progname.h"
61 License:
62 GPL
64 Maintainer:
65 Ben Pfaff