summaryrefslogtreecommitdiff
path: root/gnulib/modules/relocatable-prog
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/relocatable-prog')
m---------gnulib0
-rw-r--r--gnulib/modules/relocatable-prog60
2 files changed, 60 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/relocatable-prog b/gnulib/modules/relocatable-prog
new file mode 100644
index 0000000..72bc253
--- /dev/null
+++ b/gnulib/modules/relocatable-prog
@@ -0,0 +1,60 @@
+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])
+if test $RELOCATABLE = yes; then
+ AC_LIBOBJ([progreloc])
+ AC_LIBOBJ([relocatable])
+fi
+
+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
+