summaryrefslogtreecommitdiffstats
path: root/dhash/Makefile.am
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-09-21 14:33:25 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-22 14:48:28 -0400
commit43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3 (patch)
tree6b5f236c9960863645603ae1321e8c2da2248d27 /dhash/Makefile.am
parent67c9f9b4a1db45159e710c152deb3d12319bea35 (diff)
downloadding-libs-43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3.tar.gz
ding-libs-43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3.tar.xz
ding-libs-43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3.zip
Build all of the ding-libs from the root
This changes our approach from having independent tarballs to having a single, monolithic tarball for all of the libraries
Diffstat (limited to 'dhash/Makefile.am')
-rw-r--r--dhash/Makefile.am62
1 files changed, 0 insertions, 62 deletions
diff --git a/dhash/Makefile.am b/dhash/Makefile.am
deleted file mode 100644
index cf73d80..0000000
--- a/dhash/Makefile.am
+++ /dev/null
@@ -1,62 +0,0 @@
-AM_CFLAGS =
-if HAVE_GCC
- AM_CFLAGS += \
- -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
- -Wcast-align -Wwrite-strings
-endif
-
-ACLOCAL_AMFLAGS = -I m4
-
-pkgconfigdir = $(libdir)/pkgconfig
-dist_pkgconfig_DATA = dhash.pc
-
-dist_noinst_DATA = m4 contrib/libdhash.spec.in
-
-dist_include_HEADERS = dhash.h
-
-lib_LTLIBRARIES = libdhash.la
-libdhash_la_SOURCES = dhash.c
-libdhash_la_LDFLAGS = \
- -version-info 1:0:0
-
-check_PROGRAMS = dhash_test dhash_example
-TESTS = $(check_PROGRAMS)
-
-dhash_test_SOURCES = examples/dhash_test.c
-dhash_test_LDADD = dhash.o
-
-dhash_example_SOURCES = examples/dhash_example.c
-dhash_example_LDADD = dhash.o
-
-examplesdir = $(docdir)/examples
-dist_examples_DATA = examples/dhash_test.c examples/dhash_example.c
-dist_doc_DATA = README
-
-tests: all $(check_PROGRAMS)
-
-builddir ?= .
-RPMBUILD ?= $(PWD)/rpmbuild
-
-rpmroot:
- mkdir -p $(RPMBUILD)/BUILD
- mkdir -p $(RPMBUILD)/RPMS
- mkdir -p $(RPMBUILD)/SOURCES
- mkdir -p $(RPMBUILD)/SPECS
- mkdir -p $(RPMBUILD)/SRPMS
-
-rpms: dist-gzip rpmroot
- cp $(builddir)/contrib/libdhash.spec $(RPMBUILD)/SPECS
- cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
- cd $(RPMBUILD); \
- rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/libdhash.spec
-
-# make srpms will use the old digest algorithm to be compatible
-# with RHEL5
-srpm: dist-gzip rpmroot
- cp $(builddir)/contrib/libdhash.spec $(RPMBUILD)/SPECS
- cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
- cd $(RPMBUILD); \
- rpmbuild --define "_topdir $(RPMBUILD)" \
- --define _source_filedigest_algorithm=1 \
- -bs SPECS/libdhash.spec
-