URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [tcl/] [mac/] [MW_TclAppleScriptHeader.pch] - Blame information for rev 1767
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
/*
|
2 |
|
|
* MW_TclAppleScriptHeader.pch --
|
3 |
|
|
*
|
4 |
|
|
* This file is the source for a pre-compilied header that gets used
|
5 |
|
|
* for TclAppleScript. 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_TclAppleScriptHeader.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 |
|
|
|
26 |
|
|
#if __POWERPC__
|
27 |
|
|
#pragma precompile_target "MW_TclAppleScriptHeaderPPC"
|
28 |
|
|
#include "MW_TclHeaderPPC"
|
29 |
|
|
#elif __CFM68K__
|
30 |
|
|
#pragma precompile_target "MW_TclAppleScriptHeaderCFM68K"
|
31 |
|
|
#include "MW_TclHeaderCFM68K"
|
32 |
|
|
#else
|
33 |
|
|
#pragma precompile_target "MW_TclAppleScriptHeader68K"
|
34 |
|
|
#include "MW_TclHeader68K"
|
35 |
|
|
#endif
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
#define TCL_REGISTER_LIBRARY 1
|
39 |
|
|
/*
|
40 |
|
|
* Place any includes below that will are needed by the majority of the
|
41 |
|
|
* and is OK to be in any file in the system. The pragma's are used
|
42 |
|
|
* to control what functions are exported in the Tcl shared library.
|
43 |
|
|
*/
|
44 |
|
|
|
45 |
|
|
#pragma export on
|
46 |
|
|
#pragma export off
|
47 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.