2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2003-04-05 14:50:00 +08:00
|
|
|
<!--
|
2002-07-08 04:28:42 +08:00
|
|
|
<para><userinput>CC="gcc $CFLAGS" :</userinput> This makes libpng use
|
|
|
|
CFLAGS when compiling.</para>
|
2003-04-05 14:50:00 +08:00
|
|
|
-->
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
<para><userinput>ZLIBINC=/usr/include ZLIBLIB=/usr/lib
|
|
|
|
:</userinput> This forces libpng to look for the zlib includes and
|
|
|
|
libraries where we have them installed.</para>
|
|
|
|
|
|
|
|
<para><userinput>-f scripts/makefile.linux :</userinput> This points
|
|
|
|
make at the the Linux version of the makefile as libpng doesn't use a
|
|
|
|
autoconf routine instead coming with various makefiles for different
|
|
|
|
platforms.</para>
|
|
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|