OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Marc Espie (espiecvs.openbsd.org)
Date: Mon Jul 30 2007 - 04:39:18 CDT


CVSROOT: /cvs
Module name: src
Changes by: espiecvs.openbsd.org 2007/07/30 03:39:18

Modified files:
        usr.bin/make : main.c

Log message:
clean-up. Basically:
- remove globals curdir and objdir, stuff them into a structure, and pass
it around to the relevant functions.
- cut up most of main code into functions:
figure_out_MACHINE/ARCH, figure_out_CURDIR, setup_CURDIR_OBJDIR, setup_VPATH,
no_fd_limits, read_makefile_list, read_all_make_rules...
- simplify the code used to figure out curdir/objdir.

No semantic changes.

okay miod