aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/ebuild/utils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '0.8.0/ebuild/utils/Makefile.am')
-rw-r--r--0.8.0/ebuild/utils/Makefile.am111
1 files changed, 111 insertions, 0 deletions
diff --git a/0.8.0/ebuild/utils/Makefile.am b/0.8.0/ebuild/utils/Makefile.am
new file mode 100644
index 000000000..1fde88507
--- /dev/null
+++ b/0.8.0/ebuild/utils/Makefile.am
@@ -0,0 +1,111 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+libexecprogdir = $(libexecdir)/paludis/utils
+
+if NEED_SED_WRAPPER
+libexecprog_SCRIPTS_extra = sed
+endif
+
+libexecprog_SCRIPTS = \
+ canonicalise \
+ dobin \
+ doconfd \
+ dodir \
+ dodoc \
+ doenvd \
+ doexe \
+ dohard \
+ dohtml \
+ doinfo \
+ doinitd \
+ doins \
+ dolib \
+ dolib.a \
+ dolib.so \
+ doman \
+ domo \
+ donewins \
+ dosbin \
+ dosed \
+ dosym \
+ dounpack \
+ emake \
+ fowners \
+ fperms \
+ getmtime \
+ newbin \
+ newconfd \
+ newdoc \
+ newenvd \
+ newexe \
+ newinitd \
+ newins \
+ newlib.a \
+ newlib.so \
+ newman \
+ newsbin \
+ prepall \
+ prepallstrip \
+ prepstrip \
+ prepallman \
+ prepman \
+ prepallinfo \
+ prepinfo \
+ prepdocs \
+ prepalldocs \
+ $(libexecprog_SCRIPTS_extra)
+
+libexecprog_PROGRAMS = merge unmerge
+AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@
+
+merge_SOURCES = merge.cc merge_common.cc merge_common.hh
+merge_LDADD = \
+ $(top_builddir)/paludis/util/libpaludisutil.la \
+ $(top_builddir)/paludis/digests/libpaludisdigests.la \
+ $(top_builddir)/paludis/selinux/libpaludisselinux.la \
+ $(DYNAMIC_LD_LIBS)
+
+unmerge_SOURCES = unmerge.cc merge_common.cc merge_common.hh
+unmerge_LDADD = \
+ $(top_builddir)/paludis/util/libpaludisutil.la \
+ $(top_builddir)/paludis/digests/libpaludisdigests.la
+
+TESTS_ENVIRONMENT = env \
+ PALUDIS_EBUILD_DIR="`$(top_srcdir)/ebuild/utils/canonicalise $(top_srcdir)/ebuild/`" \
+ TOP_BUILD_DIR="`$(top_srcdir)/ebuild/utils/canonicalise $(top_builddir)/`" \
+ PALUDIS_EBUILD_LOG_LEVEL="silent" \
+ TEST_SCRIPT_DIR="$(srcdir)/" \
+ bash $(top_srcdir)/ebuild/utils/run_test.bash
+
+TESTS = merge_TEST.bash dobin_TEST.bash unmerge_TEST.bash
+check_SCRIPTS = $(TESTS) \
+ merge_TEST_setup.sh merge_TEST_cleanup.sh \
+ unmerge_TEST_setup.sh unmerge_TEST_cleanup.sh
+
+prep_scripts = prepall prepallstrip prepallman prepallinfo prepstrip prepman prepinfo prepdocs prepalldocs
+
+EXTRA_DIST = $(libexecprog_SCRIPTS) $(check_SCRIPTS) run_test.bash \
+ newlib.so.in newlib.a.in dolib.so.in dolib.a.in prep.in
+
+CLEANFILES = *~ newlib.so newlib.a dolib.so dolib.a sed $(prep_scripts)
+
+newlib.a : newlib.a.in
+ cat $< > $@
+
+newlib.so : newlib.so.in
+ cat $< > $@
+
+dolib.so : dolib.so.in
+ cat $< > $@
+
+dolib.a : dolib.a.in
+ cat $< > $@
+
+sed : sed.in
+ cat $< > $@
+
+$(prep_scripts) : prep.in
+ cat $< > $@
+
+check_PROGRAMS =
+