diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-21 14:33:25 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-22 14:48:28 -0400 |
commit | 43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3 (patch) | |
tree | 6b5f236c9960863645603ae1321e8c2da2248d27 /refarray/Makefile.am | |
parent | 67c9f9b4a1db45159e710c152deb3d12319bea35 (diff) | |
download | ding-libs2-43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3.tar.gz ding-libs2-43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3.tar.xz ding-libs2-43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3.zip |
Build all of the ding-libs from the rootding_libs-0_1_0
This changes our approach from having independent tarballs to
having a single, monolithic tarball for all of the libraries
Diffstat (limited to 'refarray/Makefile.am')
-rw-r--r-- | refarray/Makefile.am | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/refarray/Makefile.am b/refarray/Makefile.am deleted file mode 100644 index 2c43eae..0000000 --- a/refarray/Makefile.am +++ /dev/null @@ -1,82 +0,0 @@ -TRACE_LEVEL=@TRACE_VAR@ - -topdir=$(srcdir)/.. - -AM_CFLAGS = - -if HAVE_GCC - AM_CFLAGS += \ - -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ - -Wcast-align -Wwrite-strings -endif - -AM_CPPFLAGS = $(TRACE_LEVEL) - -ACLOCAL_AMFLAGS = -I m4 - -# Set up the pkg-config file -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = ref_array.pc - -dist_noinst_DATA = m4 contrib/libref_array.spec.in - -dist_include_HEADERS = ref_array.h - -# Build library -lib_LTLIBRARIES = libref_array.la -libref_array_la_SOURCES = \ - ref_array.c \ - trace.h -libref_array_la_LDFLAGS = \ - -version-info 1:0:0 - -# Build unit test -check_PROGRAMS = ref_array_ut -ref_array_ut_SOURCES = ref_array_ut.c -ref_array_ut_LDADD = libref_array.la - -if HAVE_DOXYGEN -docs: -# A temp way of building docs until we hook into the package build - rm -fR doc - mkdir -p doc - $(DOXYGEN) ref_array.cfg.doxy -else -docs: - @echo "Doxygen not installed, cannot generate documentation" - @exit 1 -endif - - -TESTS = ref_array_ut - -tests: all $(check_PROGRAMS) - -clean-local: - rm -Rf doc - -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/libref_array.spec $(RPMBUILD)/SPECS - cp $(distdir).tar.gz $(RPMBUILD)/SOURCES - cd $(RPMBUILD); \ - rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/libref_array.spec - -# make srpms will use the old digest algorithm to be compatible -# with RHEL5 -srpm: dist-gzip rpmroot - cp $(builddir)/contrib/libref_array.spec $(RPMBUILD)/SPECS - cp $(distdir).tar.gz $(RPMBUILD)/SOURCES - cd $(RPMBUILD); \ - rpmbuild --define "_topdir $(RPMBUILD)" \ - --define _source_filedigest_algorithm=1 \ - -bs SPECS/libref_array.spec |