URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [tcl/] [mac/] [MW_TclHeader.pch] - Blame information for rev 1774
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
/*
|
2 |
|
|
* MW_TclHeader.pch --
|
3 |
|
|
*
|
4 |
|
|
* This file is the source for a pre-compilied header that gets used
|
5 |
|
|
* for all files in the Tcl projects. This make compilies go a bit
|
6 |
|
|
* faster. This file is only intended to be used in the MetroWerks
|
7 |
|
|
* CodeWarrior environment. It essentially acts as a place to set
|
8 |
|
|
* compiler flags. See MetroWerks documention for more details.
|
9 |
|
|
*
|
10 |
|
|
* Copyright (c) 1995-1997 Sun Microsystems, Inc.
|
11 |
|
|
*
|
12 |
|
|
* See the file "license.terms" for information on usage and redistribution
|
13 |
|
|
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
14 |
|
|
*
|
15 |
|
|
* RCS: @(#) $Id: MW_TclHeader.pch,v 1.1.1.1 2002-01-16 10:25:30 markom Exp $
|
16 |
|
|
*/
|
17 |
|
|
|
18 |
|
|
/*
|
19 |
|
|
* To use the compilied header you need to set the "Prefix file" in
|
20 |
|
|
* the "C/C++ Language" preference panel to point to the created
|
21 |
|
|
* compilied header. The name of the header depends on the
|
22 |
|
|
* architecture we are compiling for (see the code below). For
|
23 |
|
|
* example, for a 68k app the prefix file should be: MW_TclHeader68K.
|
24 |
|
|
*/
|
25 |
|
|
#if __POWERPC__
|
26 |
|
|
#pragma precompile_target "MW_TclHeaderPPC"
|
27 |
|
|
#elif __CFM68K__
|
28 |
|
|
#pragma precompile_target "MW_TclHeaderCFM68K"
|
29 |
|
|
#else
|
30 |
|
|
#pragma precompile_target "MW_TclHeader68K"
|
31 |
|
|
#endif
|
32 |
|
|
|
33 |
|
|
#include "tclMacCommonPch.h"
|
34 |
|
|
|
35 |
|
|
/*
|
36 |
|
|
* Place any includes below that will are needed by the majority of the
|
37 |
|
|
* and is OK to be in any file in the system. The pragma's are used
|
38 |
|
|
* to control what functions are exported in the Tcl shared library.
|
39 |
|
|
*/
|
40 |
|
|
|
41 |
|
|
#pragma export on
|
42 |
|
|
#include "tcl.h"
|
43 |
|
|
#include "tclMac.h"
|
44 |
|
|
#include "tclInt.h"
|
45 |
|
|
|
46 |
|
|
#pragma export reset
|
47 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.