diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
commit | 26303241febadd20aea77fc8a1d48f05823170af (patch) | |
tree | 4ba1d92050fa6cc33feab6a38bc9778f71bbb146 /config/Makefile.am.blank | |
parent | 9f17319144fca94a852fd500487b0e4ae48e0997 (diff) | |
download | hdf5-26303241febadd20aea77fc8a1d48f05823170af.zip hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.gz hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.bz2 |
[svn-r9902] Purpose:
Configuration feature
Description:
HDF5 now uses automake to generate Makefiles
Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh
Platforms tested:
Many
Diffstat (limited to 'config/Makefile.am.blank')
-rwxr-xr-x | config/Makefile.am.blank | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/config/Makefile.am.blank b/config/Makefile.am.blank new file mode 100755 index 0000000..64d8cb0 --- /dev/null +++ b/config/Makefile.am.blank @@ -0,0 +1,66 @@ +# +# Copyright by the Board of Trustees of the University of Illinois. +# All rights reserved. +# +# This file is part of HDF5. The full HDF5 copyright notice, including +# terms governing use, modification, and redistribution, is contained in +# the files COPYING and Copyright.html. COPYING can be found at the root +# of the source code distribution tree; Copyright.html can be found at the +# root level of an installed copy of the electronic HDF5 document set and +# is linked from the top-level documents page. It can also be found at +# http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have +# access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. +## +## Makefile.am +## Run automake to generate a Makefile.in from this file. +# +# HDF5 Library Makefile(.in) +# + +## Makefile.am template +## When automake is run, it scans configure.in to find all Makefiles used by +## the build that come from Makefile.in files. If there are Makefile.am's +## in any of those locations, it parses the Makefile.am's to produce Makefile.in's, +## which configure uses to create Makefiles. +## +## Comments in the Makefile.am with two pound signs will be stripped by automake, +## comments with one pound sign will be passed through to the Makefile.in. +## +## Almost all Makefile.am's in hdf5 include commence.am and conclude.am; these +## files are treated as if they were included textually in the Makefile.am when +## automake processes it. Commence.am also includes a (mostly) comprehensive +## list of make targets. +## + +include $(top_srcdir)/config/commence.am + +# Add include directories to the C preprocessor flags +#AM_CFLAGS=-I$(top_srcdir)/src + +# Our main targets, the library foo.la and the programs bar and baz +#lib_LTLIBRARIES=foo.la +#bin_PROGRAMS=bar baz + +# Helper programs and test programs +noinst_PROGRAMS=helper +check_PROGRAMS=test1 test2 +check_SCRIPTS=runtest + +# Remove files generated by tests during 'make mostlyclean' +MOSTLYCLEAN=test1.h5 test2.h5 + +# library sources +foo_la_SOURCES= source1.c source2.c anothersource.c \ + sourceonanotherline.c + +# program sources +bar_SOURCES= bar.c barsource.c +test2_SOURCES= asdf.c jkl.c + +# Link with the main HDF5 library when building foo.la +foo_la_LIBADD=$(LIBHDF5) + +# Link with the main HDF5 library and foo.la when building other targets +LDADD=$(LIBHDF5) foo.la + +include $(top_srcdir)/config/conclude.am |