0264-0265.html

来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 317 行

HTML
317
字号
<HTML>



<HEAD>

<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>

</HEAD>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311046 //-->

<!-- TITLE=Linux Complete Command Reference//-->

<!-- AUTHOR=Red Hat//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=01 //-->

<!-- PAGES=0001-0736 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->



<P><CENTER>

<a href="0261-0263.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0266-0268.html">Next</A></CENTER></P>







<A NAME="PAGENUM-264"><P>Page 264</P></A>





<P>Amiga Extra Halfbrite (EHB)

</P>



<P>Amiga HAM with 3_16 planes

</P>



<P>24-bit

</P>



<P>Multiplatte (normal or HAM) pictures

</P>



<P>Colormap (BMHD and CMAP chunk only, nPlanes = 0)

</P>



<P>Unofficial direct color; 1_16 planes for each color component.

</P>



<TABLE>



<TR><TD>

Chunks used:

</TD><TD>

BMHD, CMAP, CAMG (only HAM and EHB flags used),

PCHG, BODY unofficial DCOL chunk to identify direct color ILBM

</TD></TR><TR><TD>

Chunks ignored:

</TD><TD>

GRAB, DEST, SPRT, CRNG,

CCRT, CLUT, DPPV, DRNG, EPSF

</TD></TR><TR><TD>

</TD><TD>

Other chunks (ignored but

displayed in verbose mode):

NAME, AUTH, (d),

ANNO, DPI

</TD><TR><TR><TD>

</TD><TD>

Unknown chunks are skipped.

</TD></TR></TABLE>



<P><B>

OPTIONS

</B></P>



<TABLE>



<TR><TD>

-verbose

</TD><TD>

Give some information about the ILBM file.

</TD></TR><TR><TD>

-ignore &lt;chunkID&gt;

</TD><TD>

Skip a chunk.

&lt;chunkID&gt; is the 4-letter IFF chunk identifier of the chunk to be skipped.

</TD></TR><TR><TD>

-isham | -isehb

</TD><TD>

Treat the input file as a

HAM or Extra Halfbrite picture, even if these flags or not set in the

CAMG chunk (or if there is no CAMG chunk).

</TD></TR><TR><TD>

-adjustcolors

</TD><TD>

If all colors in the CMAP have a value of less then 16,

ilbmtoppm assumes a 4-bit colormap and gives a warning. With this option, the colormap is scaled to 8 bits.

</TD></TR></TABLE>



<P><B>

BUGS

</B></P>



<P>The multipalette PCHG BigLineChanges and Huffman decompression code are untested.

</P>



<P><B>

REFERENCES

</B></P>



<P>Amiga ROM Kernel Reference Manual&#151;Devices (3rd Ed.). Addison Wesley, ISBN 0-201-56775-X.

</P>



<P><B>

SEE ALSO

</B></P>



<P>ppm(5), ppmtoilbm(1)

</P>



<P><B>

AUTHORS

</B></P>



<P>Copyright&quot; 1989 by Jef Poskanzer.

</P>



<P>Modified October 1993 by Ingo Wilken

(Ingo.Wilken@informatik.uni-oldenburg.de)

</P>



<P>

 4 October 1993

</P>



<H3><A NAME="ch01_ 119">

imake

</A></H3>



<P>imake&#151;C preprocessor interface to the make utility

</P>



<P><B>

SYNOPSIS

</B></P>



<!-- CODE SNIP //-->

<PRE>

imake [ _Ddefine ][_Idir ][_Ttemplate ][_f filename ][_C filename ][_s filename ]

[_e ][_v ]

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION

</B></P>



<P>imake is used to generate MakeFILES from a template, a set of

cpp macro functions, and a per-directory input file called

an Imakefile. This allows machine dependencies (such as compiler OPTIONS, alternate command names, and special

make rules) to be kept separate from the DESCRIPTIONs of the various items to be built.

</P>



<A NAME="PAGENUM-265"><P>Page 265</P></A>







<P><B>

OPTIONS

</B></P>



<P>The following command-line OPTIONS may be passed to

imake:

</P>



<TABLE>



<TR><TD>

_Ddefine

</TD><TD>

This option is passed directly to

cpp. It is typically used to set directory-specific variables. For example,

the X Window System uses this flag to set TOPDIR to the name of the directory containing the top of the

core distribution and CURDIR to the name of the current directory, relative to the top.

</TD></TR><TR><TD>

_Idirectory

</TD><TD>

This option is passed directly to

cpp. It is typically used to indicate the directory in which the

imake template and configuration FILES may be found.

</TD></TR><TR><TD>

_Ttemplate

</TD><TD>

This option specifies the name of the master template file (which is usually located in the

directory specified with _I) used by cpp. The default is

Imake.tmpl.

</TD></TR><TR><TD>

_f filename

</TD><TD>

This option specifies the name of the per-directory input file. The default is

Imakefile.

</TD></TR><TR><TD>

_C filename

</TD><TD>

This option specifies the name of the

.c file that is constructed in the current directory. The default

is Imakefile.c.

</TD></TR><TR><TD>

_s filename

</TD><TD>

This option specifies the name of the

make DESCRIPTION file to be generated but make should not be

invoked. If the filename is a hyphen (_), the output is written to

stdout. The default is to generate, but not

execute, a Makefile.

</TD></TR><TR><TD>

_e

</TD><TD>

This option indicates the imake should execute the generated

Makefile. The default is to leave this to the user.

</TD></TR><TR><TD>

_v

</TD><TD>

This option indicates that imake should print the

cpp command line that it is using to generate the

Makefile.

</TD></TR></TABLE>



<P><B>

HOW IT WORKS

</B></P>



<P>Imake invokes cpp with any _I or _D flags passed on the command line and passes the name of a file containing the

following three lines:

</P>



<!-- CODE SNIP //-->

<PRE>

#define IMAKE_TEMPLATE &quot;Imake.tmpl&quot;

#define INCLUDE_IMAKEFILE &lt;Imakefile&gt;

#include IMAKE_TEMPLATE

</PRE>

<!-- END CODE SNIP //-->



<P>where Imake.tmpl and Imakefile may be overridden by the

_T and _f command OPTIONS, respectively.

</P>



<P>The IMAKE_TEMPLATE typically reads in a file containing machine-dependent parameters (specified as

cpp symbols), a site-specific parameters file, a file defining variables, a file containing

cpp macro functions for generating make rules, and

finally the Imakefile (specified by

INCLUDE_IMAKEFILE) in the current directory. The

Imakefile uses the macro functions to indicate what targets should be built;

imake takes care of generating the appropriate rules.

</P>



<P>Imake configuration FILES contain two types of variables,

imake variables and make variables. The imake variables are

interpreted by cpp when imake is run. By convention they are mixed case. The make variables are written into the

Makefile for later interpretation by make. By convention

make variables are uppercase.

</P>



<P>The rules file (usually named Imake.rules in the configuration directory) contains a variety of

cpp macro functions that are configured according to the current platform.

Imake replaces any occurrences of the string @@ with a newline to allow

macros that generate more than one line of make rules. For example, when called with

program_target(foo, foo1.o foo2.o), the macro:

</P>



<!-- CODE SNIP //-->

<PRE>

#define program_target(program, objlist) @@\

program: objlist @@\

$(CC) _o $@ objlist $(LDFLAGS)

</PRE>

<!-- END CODE SNIP //-->



<P>will expand to

</P>



<!-- CODE SNIP //-->

<PRE>

foo: foo1.o foo2.o

$(CC) _o $@ foo1.o foo2.o $(LDFLAGS)

</PRE>

<!-- END CODE SNIP //-->



<P>imake also replaces any occurrences of the word

XCOMM with the character # to permit placing comments in the

Makefile without causing invalid directive errors from the preprocessor.

</P>







<P><CENTER>

<a href="0261-0263.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0266-0268.html">Next</A></CENTER></P>







</td>
</tr>
</table>

<!-- begin footer information -->







</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?