Skip to content

Commit

Permalink
Merge pull request #25 from adammoody/master
Browse files Browse the repository at this point in the history
support make dist
  • Loading branch information
adammoody committed Sep 18, 2014
2 parents f8714e6 + 2fd2572 commit e400567
Show file tree
Hide file tree
Showing 9 changed files with 2,585 additions and 3,593 deletions.
24 changes: 19 additions & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,27 @@ lib_LTLIBRARIES = libcircle.la

libcircle_la_LIBADD = $(MPI_CLDFLAGS)
libcircle_la_LDFLAGS = -version-info $(LIBCIRCLE_SO_VERSION)
libcircle_la_SOURCES = libcircle/lib.c \
libcircle/queue.c \
libcircle/worker.c \
libcircle/token.c
libcircle_la_SOURCES = \
libcircle/lib.c \
libcircle/queue.c \
libcircle/token.c \
libcircle/worker.c

libcircle_includedir = $(includedir)/
nobase_libcircle_include_HEADERS = libcircle.h
#nobase_libcircle_include_HEADERS = libcircle.h

# headers to be installed in /include
include_HEADERS = \
libcircle/libcircle.h

# headers that should be part of distribution
# but not installed in /include
noinst_HEADERS = \
libcircle/log.h \
libcircle/lib.h \
libcircle/queue.h \
libcircle/token.h \
libcircle/worker.h

AM_CFLAGS += $(MPI_CFLAGS)

Expand Down
90 changes: 50 additions & 40 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
DIST_COMMON = $(am__configure_deps) $(dist_noinst_SCRIPTS) \
$(nobase_libcircle_include_HEADERS) $(srcdir)/Makefile.am \
$(include_HEADERS) $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/libcircle.pc.in $(top_srcdir)/common.mk \
$(top_srcdir)/configure AUTHORS COPYING auxdir/compile \
Expand Down Expand Up @@ -84,13 +84,13 @@ am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \
"$(DESTDIR)$(libcircle_includedir)"
"$(DESTDIR)$(includedir)"
LTLIBRARIES = $(lib_LTLIBRARIES)
am__DEPENDENCIES_1 =
libcircle_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
am__dirstamp = $(am__leading_dot)dirstamp
am_libcircle_la_OBJECTS = libcircle/lib.lo libcircle/queue.lo \
libcircle/worker.lo libcircle/token.lo
libcircle/token.lo libcircle/worker.lo
libcircle_la_OBJECTS = $(am_libcircle_la_OBJECTS)
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
Expand Down Expand Up @@ -135,7 +135,7 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
DATA = $(pkgconfig_DATA)
HEADERS = $(nobase_libcircle_include_HEADERS)
HEADERS = $(include_HEADERS) $(noinst_HEADERS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
Expand Down Expand Up @@ -240,6 +240,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
Expand Down Expand Up @@ -315,13 +316,29 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
lib_LTLIBRARIES = libcircle.la
libcircle_la_LIBADD = $(MPI_CLDFLAGS)
libcircle_la_LDFLAGS = -version-info $(LIBCIRCLE_SO_VERSION)
libcircle_la_SOURCES = libcircle/lib.c \
libcircle/queue.c \
libcircle/worker.c \
libcircle/token.c
libcircle_la_SOURCES = \
libcircle/lib.c \
libcircle/queue.c \
libcircle/token.c \
libcircle/worker.c

libcircle_includedir = $(includedir)/
nobase_libcircle_include_HEADERS = libcircle.h
#nobase_libcircle_include_HEADERS = libcircle.h

# headers to be installed in /include
include_HEADERS = \
libcircle/libcircle.h


# headers that should be part of distribution
# but not installed in /include
noinst_HEADERS = \
libcircle/log.h \
libcircle/lib.h \
libcircle/queue.h \
libcircle/token.h \
libcircle/worker.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcircle.pc
dist_noinst_SCRIPTS = autogen.sh
Expand Down Expand Up @@ -430,10 +447,10 @@ libcircle/lib.lo: libcircle/$(am__dirstamp) \
libcircle/$(DEPDIR)/$(am__dirstamp)
libcircle/queue.lo: libcircle/$(am__dirstamp) \
libcircle/$(DEPDIR)/$(am__dirstamp)
libcircle/worker.lo: libcircle/$(am__dirstamp) \
libcircle/$(DEPDIR)/$(am__dirstamp)
libcircle/token.lo: libcircle/$(am__dirstamp) \
libcircle/$(DEPDIR)/$(am__dirstamp)
libcircle/worker.lo: libcircle/$(am__dirstamp) \
libcircle/$(DEPDIR)/$(am__dirstamp)
libcircle.la: $(libcircle_la_OBJECTS) $(libcircle_la_DEPENDENCIES)
$(AM_V_CCLD)$(libcircle_la_LINK) -rpath $(libdir) $(libcircle_la_OBJECTS) $(libcircle_la_LIBADD) $(LIBS)

Expand Down Expand Up @@ -512,29 +529,26 @@ uninstall-pkgconfigDATA:
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
install-nobase_libcircle_includeHEADERS: $(nobase_libcircle_include_HEADERS)
install-includeHEADERS: $(include_HEADERS)
@$(NORMAL_INSTALL)
test -z "$(libcircle_includedir)" || $(MKDIR_P) "$(DESTDIR)$(libcircle_includedir)"
@list='$(nobase_libcircle_include_HEADERS)'; test -n "$(libcircle_includedir)" || list=; \
$(am__nobase_list) | while read dir files; do \
xfiles=; for file in $$files; do \
if test -f "$$file"; then xfiles="$$xfiles $$file"; \
else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
test -z "$$xfiles" || { \
test "x$$dir" = x. || { \
echo "$(MKDIR_P) '$(DESTDIR)$(libcircle_includedir)/$$dir'"; \
$(MKDIR_P) "$(DESTDIR)$(libcircle_includedir)/$$dir"; }; \
echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(libcircle_includedir)/$$dir'"; \
$(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(libcircle_includedir)/$$dir" || exit $$?; }; \
test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
$(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
done

uninstall-nobase_libcircle_includeHEADERS:
uninstall-includeHEADERS:
@$(NORMAL_UNINSTALL)
@list='$(nobase_libcircle_include_HEADERS)'; test -n "$(libcircle_includedir)" || list=; \
$(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(libcircle_includedir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(libcircle_includedir)" && rm -f $$files
echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(includedir)" && rm -f $$files

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
Expand Down Expand Up @@ -851,7 +865,7 @@ check: check-recursive
all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) $(HEADERS) config.h
installdirs: installdirs-recursive
installdirs-am:
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libcircle_includedir)"; do \
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-recursive
Expand Down Expand Up @@ -906,8 +920,7 @@ info: info-recursive

info-am:

install-data-am: install-nobase_libcircle_includeHEADERS \
install-pkgconfigDATA
install-data-am: install-includeHEADERS install-pkgconfigDATA

install-dvi: install-dvi-recursive

Expand Down Expand Up @@ -955,8 +968,7 @@ ps: ps-recursive

ps-am:

uninstall-am: uninstall-libLTLIBRARIES \
uninstall-nobase_libcircle_includeHEADERS \
uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
uninstall-pkgconfigDATA

.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
Expand All @@ -972,17 +984,15 @@ uninstall-am: uninstall-libLTLIBRARIES \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am \
install-libLTLIBRARIES install-man \
install-nobase_libcircle_includeHEADERS install-pdf \
install-html-am install-includeHEADERS install-info \
install-info-am install-libLTLIBRARIES install-man install-pdf \
install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
uninstall uninstall-am uninstall-libLTLIBRARIES \
uninstall-nobase_libcircle_includeHEADERS \
uninstall-pkgconfigDATA
uninstall uninstall-am uninstall-includeHEADERS \
uninstall-libLTLIBRARIES uninstall-pkgconfigDATA


distclean-local:
Expand Down
4 changes: 2 additions & 2 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
[m4_warning([this file was generated for autoconf 2.63.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
[m4_warning([this file was generated for autoconf 2.69.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
Expand Down
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the home page for this package. */
#undef PACKAGE_URL

/* Define to the version of this package. */
#undef PACKAGE_VERSION

Expand Down
Loading

0 comments on commit e400567

Please sign in to comment.