summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Parallelize doxygen buildsto-be-rebased-a-lot/nonrecursive-build-with-libtoolHans Ulrich Niedermann2011-03-071-12/+16
| | | | | | To force a rebuild of the docs, run $ make -C manuals_and_examples clean all
* qlparser+rasdl special cases (flex+bison)Hans Ulrich Niedermann2011-03-072-70/+204
|
* nonrecbuild: Main work for buildingHans Ulrich Niedermann2011-03-0727-288/+673
| | | | | | | | Renames a few programs which are called the same as a directory. We need to change the directories later, and rename them back. Lacks qlparser and rasdl stuff, as those use flex and bison and thus need special handling.
* remove @EMBEDDEDSQLEXT@ etc substitutionsHans Ulrich Niedermann2011-03-072-10/+3
| | | | These prevented Automake from creating the correct build rules.
* AM_PROG_LEX is supposed to be better than AC_PROG_LEXHans Ulrich Niedermann2011-03-071-1/+1
|
* nonrecbuild: Make BUILT_SOURCES stage buildHans Ulrich Niedermann2011-03-077-35/+58
|
* nonrecbuild: Fix rpcif* generation rulesHans Ulrich Niedermann2011-03-072-37/+44
|
* nonrecbuild: Make "autoreconf" and "configure" runHans Ulrich Niedermann2011-03-0736-177/+166
| | | | | We still need to adapt the actual make rules and vars so that an actual build might work.
* nonrec-build: Rename Makefile.am to Makefile-filesHans Ulrich Niedermann2011-03-0735-35/+3
| | | | | | | | We will keep only three Makefile.am: * $(top_srcdir) * manuals_and_examples/ (needs code to be generated first) * systemtest/ (needs everything to be built)
* build: Use libtool for building all librariesHans Ulrich Niedermann2011-03-0729-128/+149
|
* doc: Document doxygen usage/non-usagerebase-expected/build-cleanupHans Ulrich Niedermann2011-03-071-0/+17
|
* doc: Mention DISTCHECK_CONFIGURE_FLAGS usageHans Ulrich Niedermann2011-03-071-0/+5
|
* build/install: Clean up manual build and installHans Ulrich Niedermann2011-03-076-31/+104
| | | | | | | | | | | | Clean up the building of the doxygen docs for VPATH builds and "make distcheck". This shifts the doxygen run from "make install" time to "make all" time. Fix a number of permissions in the docs we "cp -R" to install them, and create the target dir before copying manual files. Have doxygen ignore subdirs like .git.
* dist: Reorganize rpcif* build to avoid shippingHans Ulrich Niedermann2011-03-072-14/+29
| | | | | | | | | | | | | | Reorganize the building of the rpcif* files such that we do not ship these files in the dist tarball. These generated files should not be in the dist tarball, as * they can be regenerated easily * they disturb our wildcard emulation based on the dist-hook generating a list of files in a separate *.mk file. At a later time, the rpcif stuff should be moved to a place where both clientcomm/ and servercomm/ can equally trigger a rebuild.
* dist: Add manuals to distHans Ulrich Niedermann2011-03-071-0/+2
|
* dist: Do not generate unshipped MakefilesHans Ulrich Niedermann2011-03-071-2/+5
| | | | | | Do not generate java/Makefile and petascope/Makefile. Those appear to be unused and thus not shipped in the dist tarball.
* dist: Switch to .tar.xzHans Ulrich Niedermann2011-03-071-1/+6
| | | | | | This requires newer automake versions, and xz being installed. However, with those HUGE dist tarballs of 5+MB gzipped, this makes a lot of sense.
* build: Support (srcdir != builddir) VDIR buildsHans Ulrich Niedermann2011-03-0716-48/+53
| | | | | | | Support (srcdir != builddir) VDIR builds. This will also help a lot with preparing for a working "make distcheck".
* build: Change dubious wildcard stuff to use +=Hans Ulrich Niedermann2011-03-074-6/+298
| | | | | Also make sure that the list of files is updated on "make dist".
* build: Move automake option to configure.acHans Ulrich Niedermann2011-03-072-2/+1
| | | | | Move automake option "--foreign" from Makefile.am to configure.ac.
* build: Require automake >= 1.10Hans Ulrich Niedermann2011-03-071-1/+1
| | | | | | | | | automake 1.10 was released around the time autoconf 2.61 (which we already require) was released in late 2006, so that should not present a real obstacle to people. However, it at least avoids compatibility issues with even more ancient versions.
* build: Free up CPPFLAGS & Co. for usersHans Ulrich Niedermann2011-03-0721-76/+107
| | | | | | | | | | | | | | | | | | The CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS vars should be free for use by the person who does the build, so rasdaman itself should put all its internally needed flags to AM_CPPFLAGS, AM_CFLAGS, AM_CXXFLAGS, *_LIBS instead. We do just that, and also put all the C preprocessor defines in _CPPFLAGS so they are used for compiling both C and C++ source files. This redistributes some responsibilities from the _CFLAGS and _CXXFLAGS vars. Also use _LDADD _LIBS where appropriate. As a result, the user can now properly set CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS at configure or make time and have these values used in the build.
* build: Add AM_MAKEFLAGS to MAKE commandsHans Ulrich Niedermann2011-03-071-3/+3
| | | | Also make sure the "cd" succeeds before trying to run make.
* gitignore: Ignore log files created by "make check"Hans Ulrich Niedermann2011-03-071-0/+4
|
* build: Remove GNU make-ism $(shell ...)Hans Ulrich Niedermann2011-03-071-3/+5
| | | | | | Those shell globs are only used in shell globs anyway, so defining the make var to contain the actual file names actually makes no difference, and having the make var contain only the globs works just as well.
* install: Use custom subdir for libs, data, headersHans Ulrich Niedermann2011-03-0728-32/+55
| | | | | | | | | | | | | | Redefine $(pkgdatadir), $(pkgincludedir) and $(pkglibdir) in order to make the subdir component configurable with the RDM_SUBDIR variable. Then install all libraries and include files to the package specific subdirectories, as their names are far too generic to allow general system wide installation, such as e.g. "bool.h" or "libnetwork.a". Move some very custom and non-general scripts (some with generic names) to a new $(pkglibdir)/bin/ subdir.
* install: Remove special case hack defining $(logdir)Hans Ulrich Niedermann2011-03-071-3/+1
| | | | | | | Place $(logdir) in $(localstatedir)/log/$(PACKAGE) by default. $(prefix)/log is not used by anybody, and special-casing a prefix of "/usr/local" for a logdir of "/var/log" without "local" makes no sense.
* install: Stop installing rasmgr.conf to $(bindir)Hans Ulrich Niedermann2011-03-071-1/+1
| | | | | | The rasmgr.conf file is already installed into (and used in) $(sysconfdir) aka -DCONFDIR="...", so there is no need to install it to $(bindir).
* gitignore: ignore manual files generated by "make install"Hans Ulrich Niedermann2011-03-071-0/+4
|
* source: Make CNode typedef actually be a typedefHans Ulrich Niedermann2011-03-071-1/+1
| | | | | This silences a g++ warning, probably without endangering an actual code change.
* docs: Update INSTALL: How to run autoreconfHans Ulrich Niedermann2011-03-071-1/+7
| | | | | Update INSTALL file with instructions on initializing the build system, i.e. on how to run autoreconf.
* eclipse: Ignore build system generated filesHans Ulrich Niedermann2011-03-071-0/+47
| | | | | Showing build system generated files in the "Project Explorer" makes no sense.
* gitignore: Ignore dirs for test builds and installsHans Ulrich Niedermann2011-03-071-0/+6
|
* gitignore: Ignore/remove autoreconf generated filesHans Ulrich Niedermann2011-03-078-13679/+10
|
* gitignore: Ignore and remove generated Makefile.in filesHans Ulrich Niedermann2011-03-0737-19906/+37
|
* build: Fix typo for test port definitionobvious-build-fixesHans Ulrich Niedermann2011-03-071-1/+1
| | | | | Fix typo for test port definition: The defined variable is called RASMGR_PORT, not RASMGRPORT.
* build: Remove unused var definition CHECKLIMITSHans Ulrich Niedermann2011-03-071-2/+0
| | | | CHECKLIMITS is never defined, and never used, so remove it.
* build: Remove redundant variable definitionsHans Ulrich Niedermann2011-03-072-6/+0
| | | | | | RMANBASE is defined in configure.ac to be ${abs_top_srcdir} already, and BASEDB(CXX|LD)FLAGS and RASMGR_PORT are also AC_SUBSTed.
* install: Create $(logdir) without empty file hacksHans Ulrich Niedermann2011-03-072-2/+2
|
* source: #endif has no arguments: comment it outHans Ulrich Niedermann2011-03-073-5/+5
|
* source: Replace #ifdef with working #if defined()Hans Ulrich Niedermann2011-03-071-1/+1
| | | | | | | The #ifdef preprocessor directive only accepts a macro name, not a complete expression. For expressions, use "#if defined(foo) || defined(bar)".
* source: Fix type: Should be QtONCStream*Hans Ulrich Niedermann2011-03-071-1/+1
| | | | | | | The function's return value type should be QtONCStream* instead of QtONCStream::QtONCStream*. This makes g++ actually compile qtdelete.cc.
* source/build: Fix rpcgen generated .h file #ifndefHans Ulrich Niedermann2011-03-071-4/+5
| | | | | | The C preprocessor cannot properly handle the dot in the "#define _RPCIF.H_H_RPCGEN" macro rpcgen creates, so we change that to "#define _RPCIF_H_H_RPCGEN" instead.
* build: Use dnl to comment out AC_PROG_YACCHans Ulrich Niedermann2011-03-071-1/+1
| | | | "dnl" is the safer bet for comments in configure.ac.
* build: Use clean-local for local cleaningHans Ulrich Niedermann2011-03-071-2/+2
| | | | | Defining "clean" target in an Automake build system is wrong. Use "clean-local" instead.
* build: Avoid unnecessary use of PATHHans Ulrich Niedermann2011-03-071-2/+2
|
* build: Fix definition of JARTOOLHans Ulrich Niedermann2011-03-071-2/+2
| | | | Properly quote m4 args, and avoid confusing it with bison.
* build: Use proper quoting for sh vars with spacesHans Ulrich Niedermann2011-03-071-5/+5
| | | | Use proper quoting for shell variables with spaces in their values.
* doc: Add "tips and tricks" section to INSTALLHans Ulrich Niedermann2011-03-071-1/+14
| | | | Document the "git clean" trick (for now, more to follow).
* gitignore: Ignore dirs for test builds and installsHans Ulrich Niedermann2011-03-071-0/+6
|