Commit graph

71 commits

Author SHA1 Message Date
baf7df56be *** empty log message *** 2006-03-08 20:10:43 +00:00
8ef5b87d90 Not used in the new build process; remove. 2006-01-15 20:11:04 +00:00
1991652cfd (dist): Implement. The client tarball doesn't work yet.
(TARNAME, VERSION, tarball, acdist, src_distgen, bld_distgen)
(dist-source, dist-client, dist-info, check-version): New.
2006-01-15 20:10:27 +00:00
a98626df2d Replace the build process. The new one requires GNU Make, Autoconf
and Autoconf macros that come with Automake.  It supports multiple
separate builds of the same source tree, and updates dependencies
automatically.  Targets info, html, install, install-html, uninstall
and dist are not yet implemented.

System configuration is now automatic.  Previously, you had to choose
one of several canned system configurations, defined in Make.sysdefs.
Currently, system configuration always uses UCONTEXT for LWP, and
chooses LWP only if its requirements are met.

Feature configuration changed: instead of editing build.conf (further
processed by doconfig), you pass arguments to configure.  Note that
build.conf settings that can be overridden in econfig have no
configure equivalent; just edit econfig instead.

Because generated headers complicate makefiles, fold gamesdef.h into
its users: path.c and ipglob.c become path.c.in and ipglob.c.in,
constants.c, vers.c, options.h simply hardcode defaults (most of them
are run-time configurable).

Call the client empire instead of emp_client.  This matches what the
old standalone build did.
2005-12-20 20:25:35 +00:00
Marc Olzheim
079c231c7e Update patch for src/lib/commands/mfir.c:1.26,src/server/main.c :1.79,include/prototypes.h:1.98 2005-11-14 16:35:33 +00:00
Marc Olzheim
6b525c1841 Update for src/lib/commands/new.c:1.24 and include/prototypes.h:1.92 2005-10-24 15:35:35 +00:00
Marc Olzheim
51fed96269 Update for include/prototypes.h:1.90 src/lib/subs/attsub.c:1.28 src/lib/subs/shpsub.c:1.22 src/lib/update/human.c:1.16 2005-10-04 15:02:16 +00:00
Marc Olzheim
76fb0253d6 Update for src/lib/subs/attsub.c:1.28 and src/lib/update/revolt.c:1.16 2005-08-11 09:29:10 +00:00
Marc Olzheim
ea056014a5 Update for src/lib/subs/pr.c:1.27 2005-08-11 09:28:20 +00:00
Marc Olzheim
c6262a209c Update for src/lib/subs/pr.c:1.25 2005-07-06 09:14:20 +00:00
Marc Olzheim
e6a7d4a694 Update for src/util/fairland.c:1.25 and include/prototypes.h:1.84 2005-06-15 12:55:21 +00:00
Marc Olzheim
e1ecf7bd86 Update patch for pr.c:1.22 2005-06-15 12:47:51 +00:00
Marc Olzheim
d405e17c42 Update for src/util/fairland.c:1.23 and src/server/main.c:1.62 2005-05-31 09:02:33 +00:00
Marc Olzheim
1e02375f7b Update patch for some minor offset changes. 2005-05-28 08:44:57 +00:00
Marc Olzheim
b3dc1375ba Update patch for pr.c:1.12 2005-05-28 08:44:09 +00:00
Marc Olzheim
320db9df30 Update for Make.sysdefs:1.9: Get rid of -DPOSIXSIGNALS. 2005-05-16 23:45:39 +00:00
56c4551f8b Get version from version.h. 2005-03-17 19:33:50 +00:00
Marc Olzheim
e60594ac89 Update patch to contain proper headers of file versions. 2005-03-17 10:11:11 +00:00
Marc Olzheim
061e269d37 Add a pre_update_hook default in src/lib/global/constants.c, so that
we won't have to patch the econfig file later on.
2005-03-15 19:58:41 +00:00
Marc Olzheim
3ce3380829 Note that patches could influence each other. 2005-03-15 19:49:07 +00:00
Marc Olzheim
d8938a1605 Don't try running 'cvs co' more than 5 times, since it might be a local
problem as well.  Document NIGHTLY_SKIP_STEP=PATCH.  Update to the currently
running script.
2005-03-15 18:05:16 +00:00
Marc Olzheim
c890dd759c Update for markus's prng patches. 2005-03-15 17:58:33 +00:00
8ba9ca5869 Remove qsort_func_t, belatedly. 2005-03-11 07:36:13 +00:00
9be3aa7739 Tell indent about i_packing and i_type, belatedly. 2005-02-23 15:55:58 +00:00
Marc Olzheim
d0295935a4 Update patch for include/prototypes.h:1.66
src/lib/commands/mfir.c:1.21 src/lib/commands/sabo.c:1.10
 src/lib/update/human.c:1.15  No functional changes.
2005-02-21 17:17:16 +00:00
Marc Olzheim
796ed1d06f Update patch for src/lib/commands/news.c:1.8 No functional changes. 2005-01-07 10:25:11 +00:00
Marc Olzheim
76e639fa86 Use _l_rand48(). in src/util/fairland.c 2005-01-03 19:59:31 +00:00
Marc Olzheim
7cf3f0f6ca Fix the previous patch by using emp_{s,}random() instead if {s,}rand48()
in src/lib/commands/{new,mfir}.c
2005-01-03 18:31:31 +00:00
Marc Olzheim
de5ad66f07 Update patch for src/util/fairland.c:1.16 src/lib/commands/new.c:1.19
src/lib/commands/mfir.c:1.20 src/server/main.c:1.35.
No functional changes.
2005-01-03 17:31:54 +00:00
d2ae708dea Update for 4.2.19. 2004-12-23 20:42:39 +00:00
Marc Olzheim
c705b7a674 Update patch for src/server/main.c:1.29,include/prototypes.h:1.61 and
src/lib/commands/laun.c:1.9.  No functional changes.
2004-12-21 13:19:29 +00:00
Marc Olzheim
d818036c0f Update patches for #include cleanup, changing offsets. No functional changes. 2004-12-13 17:01:07 +00:00
Marc Olzheim
36441bbee8 Update patch for src/server/main.c:1.23. No functional changes. 2004-12-13 10:33:16 +00:00
Marc Olzheim
6af5e314a7 Update offset for src/server/main.c:1.21 2004-12-08 18:00:51 +00:00
Marc Olzheim
233f93303c Don't run the test script on the 64bit Solaris build, since it hangs the emp_server. 2004-11-30 18:21:57 +00:00
Marc Olzheim
2b45b8ff8d Add some more elaborate tests for player 1 2004-11-29 21:28:51 +00:00
Marc Olzheim
06f23dab0b Update patch offsets. No functional changes. 2004-11-26 09:52:25 +00:00
0f7097c319 Update for 4.2.18. 2004-09-07 14:16:24 +00:00
dcfd251f95 caddr_t is obsolete. Replace by void *, except for struct empfile
member cache, which becomes char * to keep pointer arithmetic simple.
2004-08-23 18:29:44 +00:00
98a7936c08 Update for 4.2.17. 2004-08-14 20:03:08 +00:00
003e068615 Making directories worked only when CVS was the first sub-directory
found by find.
2004-08-14 08:23:37 +00:00
Marc Olzheim
153595a253 Now that src/scripts/nightly/patches/All/prng.patch:1.5 makes sure that
all randomness is predictable and repeatable, we're ready for some
real scripts.
2004-06-20 17:58:10 +00:00
Marc Olzheim
b464a4876e Four calls to random() fixed that escaped my previous patch to
emp_random().
2004-06-20 17:42:51 +00:00
Marc Olzheim
99187cd5fd Always seed with '1' instead of the supplied value of emp_srandom()
fot the nightly build.
2004-06-20 17:14:56 +00:00
Marc Olzheim
7877507f25 Make it possible to skip steps of the build by specifying so in the
environment variable "NIGHTLY_SKIP_STEP", making it easier to debug
problems in the build.
2004-06-20 16:36:51 +00:00
Marc Olzheim
58c93d2557 Instead of patching Make.sysdefs, introduce emp_{,s}random() and patch
all files to use it.  Output from the nightly build machines should
now be the same for the different platforms.
2004-06-20 15:30:41 +00:00
Marc Olzheim
788bae6c01 Use non-standard port for the nightly servers, so that the servers
do not conflict with other possible test servers.
2004-06-20 14:08:42 +00:00
Marc Olzheim
6e63f30d9f Make emp_client shut up about TERM variable. 2004-06-20 14:01:20 +00:00
Marc Olzheim
d35f51be90 Actually use the RANDOM defines and define NIGHTLY. Code is patched
into src/lib/gen/chance.c
2004-06-20 14:00:31 +00:00
Marc Olzheim
17c4546ec6 Make sure that the same prng is used on all systems, namely *rand48().
For now, only fairland.c is "fixed".  We'll have to patch the random
calls in the server to use the RANDOM and SRANDOM macros to make
things completely reproducible.
2004-06-19 13:54:49 +00:00