Commit graph

48 commits

Author SHA1 Message Date
Bill Currie
6d5ffa9f8e [build] Move to non-recursive make
There's still some cleanup to do, but everything seems to be working
nicely: `make -j` works, `make distcheck` passes. There is probably
plenty of bitrot in the package directories (RPM, debian), though.

The vc project files have been removed since those versions are way out
of date and quakeforge is pretty much dependent on gcc now anyway.

Most of the old Makefile.am files  are now Makemodule.am.  This should
allow for new Makefile.am files that allow local building (to be added
on an as-needed bases).  The current remaining Makefile.am files are for
standalone sub-projects.a

The installable bins are currently built in the top-level build
directory. This may change if the clutter gets to be too much.

While this does make a noticeable difference in build times, the main
reason for the switch was to take care of the growing dependency issues:
now it's possible to build tools for code generation (eg, using qfcc and
ruamoko programs for code-gen).
2020-06-25 11:35:37 +09:00
Bill Currie
b133e9a092 Remove a stray -e from bootstrap's error report.
Not sure it was there, unless I had intended -n.
2014-01-17 15:47:29 +09:00
Bill Currie
a834bff8a3 Get the Makefile find command right for boostrap clean. 2011-01-04 22:25:26 +09:00
Bill Currie
de8a9cd6cd More debian package build tweaks.
Clean out libtool links from m4/.
Remove redundant dependency on automake1.8.
Add dependencies for libjack-dev and libwildmidi-dev.

More work needs to be done on package contents, but things do build.
2010-12-11 15:35:03 +09:00
Bill Currie
624a1630f3 Make bootstrap clean a little smarter.
It doesn't delete config.h[.in] or Makefile in the directories in which
they are not generated.
2010-11-24 15:47:33 +09:00
Bill Currie
3b26777985 Get qf debian stable compatible again.
Had to backtrack on the libtool version, (and the init line), but I might be
able to make it a little nicer later.
2010-11-16 00:59:58 +09:00
Bill Currie
7dca7e8e2e Doc/boostrap tweaks.
Mention git instead of subversion, add libsamplerate to the requirements
and it turns out autoconf 2.65 is good enough.
2010-10-10 10:05:01 +09:00
Bill Currie
b68d774267 add a file to "bootstrap clean"
yylwrap showed up, so it needs to be nuked with other non-repo files
2010-08-21 13:03:39 +09:00
Bill Currie
669771681a split up and modernize configure.ac
Most of the guts of configure.ac have been moved to config.d and are then
brought in by m4_include. This will make maintaining configure.ac much easier.

Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and
on occasion, PACKAGE_STRING instead, and clean out some old files we no longer
need.
2010-08-19 15:01:43 +09:00
Jeff Teunissen
6a63263c94 Fix up aclocal includes properly, using an include dir. 2010-01-25 03:47:34 +00:00
Bill Currie
bb6619d332 docs and a bit of cleanup
delete core files with boostrap clean
fix the placement of a comment
simple docs for the standard client connection process (no mention of
downloads)
2010-01-13 06:48:54 +00:00
Bill Currie
d4b8097200 patch from shortcircuit to make bootstrap report all missing tools in the one run. 2008-07-19 04:25:38 +00:00
Bill Currie
19c5946be8 zap more files in "bootstrap clean" 2006-05-24 11:15:40 +00:00
Bill Currie
fa20331113 clean up ruamoko stuff for "bootstrap clean" 2005-10-20 02:11:08 +00:00
Bill Currie
1c21708e8c freebsd didn't like \< and it wasn't needed anyway 2005-02-27 07:16:31 +00:00
Bill Currie
54ade1b8a5 fix the libtool version extraction to work on freebsd 2005-02-27 01:46:55 +00:00
Bill Currie
56f293d49c OS-X fixes from nano 2004-02-24 20:38:22 +00:00
Bill Currie
f5462048fe test for darwin explicity rather than using which 2003-08-28 14:54:47 +00:00
Bill Currie
a53dba93b2 hopefully silence some versions of which 2003-02-18 20:09:13 +00:00
Ragnvald Maartmann-Moe IV
218d9382d6 Fix libtoolize test. -z tests for zero string length.
Now bootstrap works on debian again.
2002-12-27 17:24:46 +00:00
Bill Currie
abea6262c1 autodetect glibtoolize vs libtoolize for darwin 2002-12-20 23:39:26 +00:00
Bill Currie
2d450701ae fix libtool version checking for 1.4e thanks to neobird 2002-11-28 20:19:28 +00:00
Jeff Teunissen
86d495491f Make bootstrap deal with automake versions ending in -p[something] 2002-08-04 04:21:52 +00:00
Bill Currie
5c6463a0cc ./bootstrap clean 2002-08-02 02:30:40 +00:00
Bill Currie
99426c36c6 fix a bug with automake detection 2002-08-01 20:23:24 +00:00
Bill Currie
2ce0f2ded2 we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Bill Currie
9175360d53 solaris' test doesn't like -e 2002-04-07 04:16:30 +00:00
Bill Currie
e4b549d11d hopefully fix this sucker 2002-04-07 03:43:33 +00:00
Bill Currie
eaccc6ea8b looks like solaris' test doesn't short circuit 2002-04-07 03:31:20 +00:00
Bill Currie
b26c2b2336 try to fix Damm's bootstrap error (invalid arg to -x) 2002-04-07 03:22:46 +00:00
Bill Currie
c7d1f961c3 INSTALL:
move the bootstrap comment to where people are more likely to notice it
bootstrap:
	hopefully put the auto*/libtool commands in the right order
configure.ac:
	make enable/disable help messages less confusing
2001-10-08 03:41:23 +00:00
Bill Currie
7813b9c1b7 fix for woody systems from _Muz_ with a tweek to make the libtoolize version
check more general.
2001-10-05 21:34:12 +00:00
Bill Currie
27d302f9c9 bootstrap:
make it so bootstrap can be run out of dir (like configure)
configure.ac:
	evil hack to get $AR working with older libtool (1.3)
2001-10-01 20:49:38 +00:00
Bill Currie
97db77c104 run aclocal before automake for automake 1.5 2001-10-01 17:18:00 +00:00
Jeff Teunissen
d63243380f Aaaaaaand, it's done!
Special note: I hope to never do this again. :)
2001-09-28 10:31:20 +00:00
Bill Currie
e935351cd1 nuke the i flag from sed. it's no longer needed and breaks on bsd 2001-08-23 05:52:51 +00:00
Jeff Teunissen
a88db4b88c dammit. 2001-08-20 16:38:05 +00:00
Jeff Teunissen
b1af752cf3 Fix up bootstrap for autoconf 2.52c (by yanking the c) 2001-08-20 16:36:48 +00:00
Bill Currie
6b93ec0076 check for sid's autoconf2.50 as the wrapper always reports 2.13
don't rely on the wording of the version string
make the cross compile message always print for ac < 2.50
delete configure.in for ac >= 2.50
2001-08-15 15:31:02 +00:00
Jeff Teunissen
888e7e1f4f Try to automatically cope with autoconf pre-2.50. 2001-08-15 01:17:56 +00:00
Bill Currie
0f56fea4e3 well, now that we're stuck with autoconf 2.50, we don't need those lines any
more
2001-08-04 06:00:23 +00:00
Bill Currie
ac07971e79 remove the location 2001-06-08 22:57:51 +00:00
Bill Currie
f7e66878d1 put the warning /first/ 2001-06-08 22:55:51 +00:00
Joseph Carter
c6098531b5 Added a comment to output about the cross-compile warnings for newbies 2001-06-08 22:52:50 +00:00
Bill Currie
6bf80a0100 ltconfig workaround no longer needed (if you get errors, make sure you have
the latest automake)
2001-05-22 02:15:25 +00:00
Bill Currie
040f256d54 work around the libtool 1.4 problem with the obsoleted ltconf that automake
hasn't learned about yet
2001-05-17 16:30:44 +00:00
Jeff Teunissen
277c17cfd8 Shared library support. The util and gamecode libraries are now shared,
and this clears the way for an external API for utilities and
such. And yes, this means libtool is now used.
2001-03-29 09:07:44 +00:00
Zephaniah E. Hull
75618f96c9 Working on one common configure which lets nq and qw compile.
There, needs a little clean up though.
2001-02-20 03:10:06 +00:00