update dev300-m58
[ooovba.git] / dmake / mac / main.c
blob72f023d1bf4b3da9eb7911279876791615dfb3a3
1 /* RCS $Id: main.c,v 1.3 2003-03-25 14:02:21 hr Exp $
2 --
3 -- SYNOPSIS
4 -- The real main function
5 --
6 -- DESCRIPTION
7 -- In order to get the third argument to main(), which is a list of
8 -- environmental variables, we have #defined main to dmakemain,
9 -- and put the real main here.
11 -- The environmental variables are placed in the environ global variable
12 -- and set up for processing by dmake in make_env().
14 -- AUTHOR
15 -- Dennis Vadura, dvadura@dmake.wticorp.com
18 -- WWW
19 -- http://dmake.wticorp.com/
21 -- COPYRIGHT
22 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
23 --
24 -- This program is NOT free software; you can redistribute it and/or
25 -- modify it under the terms of the Software License Agreement Provided
26 -- in the file <distribution-root>/readme/license.txt.
28 -- LOG
29 -- Use cvs log to obtain detailed change logs.
32 #include "extern.h"
37 * Put envp in environ and call dmake's main().
39 #undef main
40 void main(int argc, char **argv, char **envp) {
41 environ = envp;
42 dmakemain (argc, argv);
43 } /* void main () */