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.
This commit is contained in:
Markus Armbruster 2005-12-20 20:25:35 +00:00
parent cdfb94dc1f
commit a98626df2d
67 changed files with 5052 additions and 2642 deletions

View file

@ -34,21 +34,20 @@
*
*/
#include "gamesdef.h"
#include "misc.h"
char *privname = PRVNAM; /* name of priv user */
char *privlog = PRVLOG; /* logname of priv user */
char *privname = "Deity forgot to edit econfig"; /* name of priv user */
char *privlog = "careless@invalid"; /* logname of priv user */
int WORLD_X = DEF_WORLD_X; /* World size - x */
int WORLD_Y = DEF_WORLD_Y; /* World size - y */
int WORLD_X = 64; /* World size - x */
int WORLD_Y = 32; /* World size - y */
int MARK_DELAY = 7200; /* Seconds to bid on commodities */
int TRADE_DELAY = 7200; /* Seconds to bid on units */
int m_m_p_d = 1440; /* max mins of play per day (per country) */
int s_p_etu = DEF_S_P_ETU; /* seconds per Empire time unit */
int etu_per_update = ETUS; /* # of etu's per update, from misc.h */
int s_p_etu = 10; /* seconds per Empire time unit */
int etu_per_update = 60; /* # of etu's per update */
int adj_update = 0; /* update time adjustment */
int update_window = 0; /* update window adjustment */
int hourslop = 5; /* amount of slop to match update times */