Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
ec6d6fa5
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ec6d6fa5
编写于
12月 03, 2011
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Put CRLF line endings in the owatcom project files.
上级
1f0eaa04
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
1268 addition
and
1266 deletion
+1268
-1266
ANNOUNCE
ANNOUNCE
+3
-2
CHANGES
CHANGES
+2
-1
projects/owatcom/libpng.tgt
projects/owatcom/libpng.tgt
+383
-383
projects/owatcom/libpng.wpj
projects/owatcom/libpng.wpj
+112
-112
projects/owatcom/pngconfig.mak
projects/owatcom/pngconfig.mak
+160
-160
projects/owatcom/pngstest.tgt
projects/owatcom/pngstest.tgt
+219
-219
projects/owatcom/pngtest.tgt
projects/owatcom/pngtest.tgt
+179
-179
projects/owatcom/pngvalid.tgt
projects/owatcom/pngvalid.tgt
+210
-210
未找到文件。
ANNOUNCE
浏览文件 @
ec6d6fa5
Libpng 1.6.0alpha01 - December
2
, 2011
Libpng 1.6.0alpha01 - December
4
, 2011
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
...
...
@@ -107,7 +107,7 @@ Version 1.5.7beta05 [(PENDING RELEASE)]
Added MINGW support to CMakeLists.txt
Reject invalid compression flag or method when reading the iTXt chunk.
Version 1.6.0alpha01 [December
2
, 2011]
Version 1.6.0alpha01 [December
4
, 2011]
Removed machine-generated configure files from the GIT repository (they will
continue to appear in the tarball distributions).
Restored the new 'simplified' API, which was deleted from libpng-1.5.7.
...
...
@@ -133,6 +133,7 @@ Version 1.6.0alpha01 [December 2, 2011]
New tools directory containing tools used to generate libpng code.
Revised pngconf.h to use " __declspec(restrict)" only when MSC_VER >= 1400,
as in libpng-1.5.4.
Put CRLF line endings in the owatcom project files.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
...
...
CHANGES
浏览文件 @
ec6d6fa5
...
...
@@ -3752,7 +3752,7 @@ Version 1.5.7beta05 [(PENDING RELEASE)]
Added MINGW support to CMakeLists.txt
Reject invalid compression flag or method when reading the iTXt chunk.
Version 1.6.0alpha01 [December
2
, 2011]
Version 1.6.0alpha01 [December
4
, 2011]
Removed machine-generated configure files from the GIT repository (they will
continue to appear in the tarball distributions).
Restored the new 'simplified' API, which was deleted from libpng-1.5.7.
...
...
@@ -3778,6 +3778,7 @@ Version 1.6.0alpha01 [December 2, 2011]
New tools directory containing tools used to generate libpng code.
Revised pngconf.h to use " __declspec(restrict)" only when MSC_VER >= 1400,
as in libpng-1.5.4.
Put CRLF line endings in the owatcom project files.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
projects/owatcom/libpng.tgt
浏览文件 @
ec6d6fa5
40
targetIdent
0
MProject
1
MComponent
0
2
WString
3
LIB
3
WString
5
n_2sn
1
0
0
4
MCommand
0
5
MCommand
0
6
MItem
10
libpng.lib
7
WString
3
LIB
8
WVList
0
9
WVList
1
10
ActionStates
11
WString
5
&Make
12
WVList
0
-1
1
1
0
13
WPickList
16
14
MItem
3
*.c
15
WString
4
COBJ
16
WVList
2
17
MVState
18
WString
3
WCC
19
WString
25
n????Include directories:
1
20
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
21
MVState
22
WString
3
WCC
23
WString
25
n????Include directories:
0
24
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
25
WVList
1
26
ActionStates
27
WString
5
&Make
28
WVList
0
-1
1
1
0
29
MItem
11
..\..\png.c
30
WString
4
COBJ
31
WVList
0
32
WVList
0
14
1
1
0
33
MItem
16
..\..\pngerror.c
34
WString
4
COBJ
35
WVList
0
36
WVList
0
14
1
1
0
37
MItem
14
..\..\pngget.c
38
WString
4
COBJ
39
WVList
0
40
WVList
0
14
1
1
0
41
MItem
14
..\..\pngmem.c
42
WString
4
COBJ
43
WVList
0
44
WVList
0
14
1
1
0
45
MItem
16
..\..\pngpread.c
46
WString
4
COBJ
47
WVList
0
48
WVList
0
14
1
1
0
49
MItem
15
..\..\pngread.c
50
WString
4
COBJ
51
WVList
0
52
WVList
0
14
1
1
0
53
MItem
14
..\..\pngrio.c
54
WString
4
COBJ
55
WVList
0
56
WVList
0
14
1
1
0
57
MItem
16
..\..\pngrtran.c
58
WString
4
COBJ
59
WVList
0
60
WVList
0
14
1
1
0
61
MItem
16
..\..\pngrutil.c
62
WString
4
COBJ
63
WVList
0
64
WVList
0
14
1
1
0
65
MItem
14
..\..\pngset.c
66
WString
4
COBJ
67
WVList
0
68
WVList
0
14
1
1
0
69
MItem
16
..\..\pngtrans.c
70
WString
4
COBJ
71
WVList
0
72
WVList
0
14
1
1
0
73
MItem
14
..\..\pngwio.c
74
WString
4
COBJ
75
WVList
0
76
WVList
0
14
1
1
0
77
MItem
16
..\..\pngwrite.c
78
WString
4
COBJ
79
WVList
0
80
WVList
0
14
1
1
0
81
MItem
16
..\..\pngwtran.c
82
WString
4
COBJ
83
WVList
0
84
WVList
0
14
1
1
0
85
MItem
16
..\..\pngwutil.c
86
WString
4
COBJ
87
WVList
0
88
WVList
0
14
1
1
0
40
targetIdent
0
MProject
1
MComponent
0
2
WString
3
LIB
3
WString
5
n_2sn
1
0
0
4
MCommand
0
5
MCommand
0
6
MItem
10
libpng.lib
7
WString
3
LIB
8
WVList
0
9
WVList
1
10
ActionStates
11
WString
5
&Make
12
WVList
0
-1
1
1
0
13
WPickList
16
14
MItem
3
*.c
15
WString
4
COBJ
16
WVList
2
17
MVState
18
WString
3
WCC
19
WString
25
n????Include directories:
1
20
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
21
MVState
22
WString
3
WCC
23
WString
25
n????Include directories:
0
24
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
25
WVList
1
26
ActionStates
27
WString
5
&Make
28
WVList
0
-1
1
1
0
29
MItem
11
..\..\png.c
30
WString
4
COBJ
31
WVList
0
32
WVList
0
14
1
1
0
33
MItem
16
..\..\pngerror.c
34
WString
4
COBJ
35
WVList
0
36
WVList
0
14
1
1
0
37
MItem
14
..\..\pngget.c
38
WString
4
COBJ
39
WVList
0
40
WVList
0
14
1
1
0
41
MItem
14
..\..\pngmem.c
42
WString
4
COBJ
43
WVList
0
44
WVList
0
14
1
1
0
45
MItem
16
..\..\pngpread.c
46
WString
4
COBJ
47
WVList
0
48
WVList
0
14
1
1
0
49
MItem
15
..\..\pngread.c
50
WString
4
COBJ
51
WVList
0
52
WVList
0
14
1
1
0
53
MItem
14
..\..\pngrio.c
54
WString
4
COBJ
55
WVList
0
56
WVList
0
14
1
1
0
57
MItem
16
..\..\pngrtran.c
58
WString
4
COBJ
59
WVList
0
60
WVList
0
14
1
1
0
61
MItem
16
..\..\pngrutil.c
62
WString
4
COBJ
63
WVList
0
64
WVList
0
14
1
1
0
65
MItem
14
..\..\pngset.c
66
WString
4
COBJ
67
WVList
0
68
WVList
0
14
1
1
0
69
MItem
16
..\..\pngtrans.c
70
WString
4
COBJ
71
WVList
0
72
WVList
0
14
1
1
0
73
MItem
14
..\..\pngwio.c
74
WString
4
COBJ
75
WVList
0
76
WVList
0
14
1
1
0
77
MItem
16
..\..\pngwrite.c
78
WString
4
COBJ
79
WVList
0
80
WVList
0
14
1
1
0
81
MItem
16
..\..\pngwtran.c
82
WString
4
COBJ
83
WVList
0
84
WVList
0
14
1
1
0
85
MItem
16
..\..\pngwutil.c
86
WString
4
COBJ
87
WVList
0
88
WVList
0
14
1
1
0
projects/owatcom/libpng.wpj
浏览文件 @
ec6d6fa5
40
projectIdent
0
VpeMain
1
WRect
256
0
8960
9294
2
MProject
3
MCommand
322
# Locations of zlib and (if required) awk (change as required:)
set zlib=..\..\..\zlib
set awk=
#
@if not exist pngconfig.dfa $(MAKE) $(__MAKEOPTS__) -f pngconfig.mak defaults
@if exist config.inf type config.inf
@echo Checking for the libpng configuration file pnglibconf.h
$(MAKE) $(__MAKEOPTS__) -f pngconfig.mak
4
MCommand
19
@type pngconfig.inf
4
5
WFileName
10
libpng.tgt
6
WFileName
11
pngtest.tgt
7
WFileName
12
pngvalid.tgt
8
WFileName
12
pngstest.tgt
9
WVList
4
10
VComponent
11
WRect
0
0
5638
4174
0
0
12
WFileName
10
libpng.tgt
0
0
13
VComponent
14
WRect
1280
1550
5638
4174
0
0
15
WFileName
11
pngtest.tgt
0
1
16
VComponent
17
WRect
524
497
5638
4174
0
0
18
WFileName
12
pngvalid.tgt
0
1
19
VComponent
20
WRect
2054
2701
5674
4232
0
0
21
WFileName
12
pngstest.tgt
0
1
19
40
projectIdent
0
VpeMain
1
WRect
256
0
8960
9294
2
MProject
3
MCommand
322
# Locations of zlib and (if required) awk (change as required:)
set zlib=..\..\..\zlib
set awk=
#
@if not exist pngconfig.dfa $(MAKE) $(__MAKEOPTS__) -f pngconfig.mak defaults
@if exist config.inf type config.inf
@echo Checking for the libpng configuration file pnglibconf.h
$(MAKE) $(__MAKEOPTS__) -f pngconfig.mak
4
MCommand
19
@type pngconfig.inf
4
5
WFileName
10
libpng.tgt
6
WFileName
11
pngtest.tgt
7
WFileName
12
pngvalid.tgt
8
WFileName
12
pngstest.tgt
9
WVList
4
10
VComponent
11
WRect
0
0
5638
4174
0
0
12
WFileName
10
libpng.tgt
0
0
13
VComponent
14
WRect
1280
1550
5638
4174
0
0
15
WFileName
11
pngtest.tgt
0
1
16
VComponent
17
WRect
524
497
5638
4174
0
0
18
WFileName
12
pngvalid.tgt
0
1
19
VComponent
20
WRect
2054
2701
5674
4232
0
0
21
WFileName
12
pngstest.tgt
0
1
19
projects/owatcom/pngconfig.mak
浏览文件 @
ec6d6fa5
# This is an OpenWatcom make file which builds pnglibconf.h - the libpng
# configuration header. You can ignore this file if you don't need to
# configure libpng; a default configuration will be built.
#
# For more information build libpng.wpj under the IDE and then read the
# generated files:
#
# config.inf: Basic configuration information for a standard build.
# pngconfig.dfa: Advanced configuration for non-standard libpng builds.
#
DELETE
=
rm
-f
ECHO
=
echo
COPY
=
copy
#
# If your configuration needs to test compiler flags when building
# pnglibconf.h you may need to override the following on the wmake command
# line:
CFLAGS
=
CC
=
wcl386
CPP
=
$(CC)
-pw0
#
# Read awk from the environment if set, else it can be set on the command
# line (the default approach is to set the %awk% environment variable in the
# IDE libpng.wpj 'before' rule - this setting is local.)
!
ifdef
%awk
AWK
=
$
(
%awk
)
!
endif
#
# pnglibconf.h must exist in the source directory, this is the final rule
# which copies the local built version (and this is the default target for
# this makefile.)
..\..\pnglibconf.h
:
pnglibconf.h
$(COPY)
pnglibconf.h
$@
!
ifdef
AWK
# CPPFLAGS should contain the options to control the result,
# but DEFS and CFLAGS are also supported here, override
# as appropriate
DFNFLAGS
=
$(DEFS)
$(CPPFLAGS)
$(CFLAGS)
pnglibconf.h
:
pnglibconf.dfn
$(DELETE)
$@
dfn.c
dfn1.out
dfn2.out
$(ECHO)
$
#include "pnglibconf.dfn" >dfn.c
$(CPP)
$(DFNFLAGS)
dfn.c
>dfn1.out
$(AWK)
-f
<<
dfn1.out
>dfn2.out
/^.*PNG_DEFN_MAGIC-.*-PNG_DEFN_END.*$$/{
sub(/^.*PNG_DEFN_MAGIC-/,
""
)
sub(/
*-PNG_DEFN_END.*$$/,
""
)
gsub(/
*@@@
*/,
""
)
print
}
<<
$(COPY)
dfn2.out
$@
@type
<<
>pngconfig.inf
This
is
a
locally
configurable
build
of
libpng.lib;
for
configuration
instructions
consult
and
edit
projects/openwatcom/pngconfig.dfa
<<
$(DELETE)
dfn.c
dfn1.out
dfn2.out
pnglibconf.dfn
:
..
\.
.
\s
cripts
\p
nglibconf.dfa ..
\.
.
\s
cripts
\o
ptions.awk pngconfig.dfa ..
\.
.
\p
ngconf.h
$(DELETE)
$@
dfn1.out
dfn2.out
$(AWK)
-f
..\..\scripts\options.awk
out
=
dfn1.out
version
=
search ..
\.
.
\p
ngconf.h ..
\.
.
\s
cripts
\p
nglibconf.dfa pngconfig.dfa
$(DFA_XTRA)
1>&2
$(AWK)
-f
..\..\scripts\options.awk
out
=
dfn2.out dfn1.out 1>&2
$(COPY)
dfn2.out
$@
$(DELETE)
dfn1.out
dfn2.out
!
else
# The following lines are used to copy scripts\pnglibconf.h.prebuilt and make
# the required change to the calling convention.
#
# By default libpng is built to use the __cdecl calling convention on
# Windows. This gives compatibility with MSVC and GCC. Unfortunately it
# does not work with OpenWatcom because OpenWatcom implements longjmp using
# the __watcall convention (compared with both MSVC and GCC which use __cdecl
# for library functions.)
#
# Thus the default must be changed to build on OpenWatcom and, once changed,
# the result will not be compatible with applications built using other
# compilers (in fact attempts to build will fail at compile time.)
#
pnglibconf.h
:
..
\.
.
\s
cripts
\p
nglibconf.h.prebuilt .existsonly
@$(ECHO)
.
@$(ECHO)
.
@$(ECHO) $$(AWK) NOT AVAILABLE
:
COPYING scripts
\p
nglibconf.h.prebuilt
@$(ECHO)
.
@$(ECHO)
.
vi -q -k "
:
1
,
$$s/PNG_API_RULE 0$$/PNG_API_RULE 2/
\n
:w! $@
\n
:q!
\n
" ..
\.
.
\s
cripts
\p
nglibconf.h.prebuilt
@$(ECHO)
.
@$(ECHO)
.
@$(ECHO)
YOU
HAVE
A
DEFAULT
CONFIGURATION
BECAUSE
YOU
DO
NOT
HAVE
AWK!
@$(ECHO)
.
@$(ECHO)
.
@type
<<
>pngconfig.inf
This
is
the
default
configuration
of
libpng.lib,
if
you
wish
to
change
the
configuration
please
consult
the
instructions
in
projects/owatcom/pngconfig.dfa.
<<
!
endif
# Make the default files
defaults
:
.symbolic
@$(COPY)
<<
config.inf
$
# The libpng project is incompletely configured. To complete configuration
$# please complete the following steps
:
$
#
$
# 1) Edit the 'before' rule of libpng.wpj (from the IDE) to define the
$
# locations of the zlib include file zlib.h and the built zlib library,
$
# zlib.lib.
$
#
$
# 2) If you want to change libpng to a non-standard configuration also
$
# change the definition of 'awk' in the before rule to the name of your
$
# awk command. For more instructions on configuration read
$
# pngconfig.dfa.
$
#
$
# 3) Delete this file (config.inf).
<<
@$(COPY)
<<
pngconfig.dfa
$# pngconfig.dfa
:
this file contains configuration options for libpng.
$
# If emtpy the standard configuration will be built. For this file to be
$
# used a working version of the program 'awk' is required and the program
$
# must be identified in the 'before' rule of the project.
$
#
$
# If you don't already have 'awk', or the version of awk you have seems not
$
# to work, download Brian Kernighan's awk (Brian Kernighan is the author of
$
# awk.) You can find source code and a built executable (called awk95.exe)
$# here
:
$
#
$# http
:
//www.cs.princeton.edu/~bwk/btl.mirror/
$
#
$
# The executable works just fine.
$
#
$
# If build issues errors after a change to pngconfig.dfa you have entered
$
# inconsistent feature requests, or even malformed requests, in
$
# pngconfig.dfa. The error messages from awk should be comprehensible, but
$
# if not simply go back to the start (nothing but comments in this file) and
$
# enter configuration lines one by one until one produces an error. (Or, of
$
# course, do the standard binary chop.)
$
#
$
# You need to rebuild everything after a change to pnglibconf.dfa - i.e. you
$
# must do Actions/Mark All Targets for Remake. This is because the compiler
$
# generated dependency information (as of OpenWatcom 1.9) does not record the
$
# dependency on pnglibconf.h correctly.
$
#
$
# If awk isn't set then this file is bypassed. If you just want the standard
$
# configuration it is automatically produced from the distributed version
$
# (scripts\pnglibconf.h.prebuilt) by editting PNG_API_RULE to 2 (to force use
$
# of the OpenWatcom library calling convention.)
$
#
<<
clean
::
.symbolic
$(DELETE)
..\..\pnglibconf.h
pnglibconf.*
dfn.c
*.out
pngconfig.inf
$(DELETE)
*.obj
*.mbr
*.sym
*.err
*.pch
libpng.mk
$(DELETE)
libpng.lib
libpng.lbr
libpng.lb1
libpng.cbr
libpng.mk1
$(DELETE)
pngtest.exe
pngtest.map
pngtest.lk1
pngtest.mk1
$(DELETE)
pngvalid.exe
pngvalid.map
pngvalid.lk1
pngvalid.mk1
distclean
::
clean .symbolic
$(DELETE)
zlib.inf
awk.inf
config.inf
pngconfig.dfa
# This is an OpenWatcom make file which builds pnglibconf.h - the libpng
# configuration header. You can ignore this file if you don't need to
# configure libpng; a default configuration will be built.
#
# For more information build libpng.wpj under the IDE and then read the
# generated files:
#
# config.inf: Basic configuration information for a standard build.
# pngconfig.dfa: Advanced configuration for non-standard libpng builds.
#
DELETE
=
rm
-f
ECHO
=
echo
COPY
=
copy
#
# If your configuration needs to test compiler flags when building
# pnglibconf.h you may need to override the following on the wmake command
# line:
CFLAGS
=
CC
=
wcl386
CPP
=
$(CC)
-pw0
#
# Read awk from the environment if set, else it can be set on the command
# line (the default approach is to set the %awk% environment variable in the
# IDE libpng.wpj 'before' rule - this setting is local.)
!
ifdef
%awk
AWK
=
$
(
%awk
)
!endif
#
# pnglibconf.h must exist in the source directory, this is the final rule
# which copies the local built version (and this is the default target for
# this makefile.)
..\..\pnglibconf.h
:
pnglibconf.h
$(COPY)
pnglibconf.h
$@
!
ifdef
AWK
# CPPFLAGS should contain the options to control the result,
# but DEFS and CFLAGS are also supported here, override
# as appropriate
DFNFLAGS
=
$(DEFS)
$(CPPFLAGS)
$(CFLAGS)
pnglibconf.h
:
pnglibconf.dfn
$(DELETE)
$@
dfn.c
dfn1.out
dfn2.out
$(ECHO)
$
#include "pnglibconf.dfn" >dfn.c
$(CPP)
$(DFNFLAGS)
dfn.c
>dfn1.out
$(AWK)
-f
<<
dfn1.out
>dfn2.out
/^.*PNG_DEFN_MAGIC-.*-PNG_DEFN_END.*$$/{
sub(/^.*PNG_DEFN_MAGIC-/,
""
)
sub(/
*-PNG_DEFN_END.*$$/,
""
)
gsub(/
*@@@
*/,
""
)
print
}
<<
$(COPY)
dfn2.out
$@
@type
<<
>pngconfig.inf
This
is
a
locally
configurable
build
of
libpng.lib;
for
configuration
instructions
consult
and
edit
projects/openwatcom/pngconfig.dfa
<<
$(DELETE)
dfn.c
dfn1.out
dfn2.out
pnglibconf.dfn
:
..
\.
.
\s
cripts
\p
nglibconf.dfa ..
\.
.
\s
cripts
\o
ptions.awk pngconfig.dfa ..
\.
.
\p
ngconf.h
$(DELETE)
$@
dfn1.out
dfn2.out
$(AWK)
-f
..\..\scripts\options.awk
out
=
dfn1.out
version
=
search ..
\.
.
\p
ngconf.h ..
\.
.
\s
cripts
\p
nglibconf.dfa pngconfig.dfa
$(DFA_XTRA)
1>&2
$(AWK)
-f
..\..\scripts\options.awk
out
=
dfn2.out dfn1.out 1>&2
$(COPY)
dfn2.out
$@
$(DELETE)
dfn1.out
dfn2.out
!else
# The following lines are used to copy scripts\pnglibconf.h.prebuilt and make
# the required change to the calling convention.
#
# By default libpng is built to use the __cdecl calling convention on
# Windows. This gives compatibility with MSVC and GCC. Unfortunately it
# does not work with OpenWatcom because OpenWatcom implements longjmp using
# the __watcall convention (compared with both MSVC and GCC which use __cdecl
# for library functions.)
#
# Thus the default must be changed to build on OpenWatcom and, once changed,
# the result will not be compatible with applications built using other
# compilers (in fact attempts to build will fail at compile time.)
#
pnglibconf.h
:
..
\.
.
\s
cripts
\p
nglibconf.h.prebuilt .existsonly
@$(ECHO)
.
@$(ECHO)
.
@$(ECHO) $$(AWK) NOT AVAILABLE
:
COPYING scripts
\p
nglibconf.h.prebuilt
@$(ECHO)
.
@$(ECHO)
.
vi -q -k "
:
1
,
$$s/PNG_API_RULE 0$$/PNG_API_RULE 2/
\n
:w! $@
\n
:q!
\n
" ..
\.
.
\s
cripts
\p
nglibconf.h.prebuilt
@$(ECHO)
.
@$(ECHO)
.
@$(ECHO)
YOU
HAVE
A
DEFAULT
CONFIGURATION
BECAUSE
YOU
DO
NOT
HAVE
AWK!
@$(ECHO)
.
@$(ECHO)
.
@type
<<
>pngconfig.inf
This
is
the
default
configuration
of
libpng.lib,
if
you
wish
to
change
the
configuration
please
consult
the
instructions
in
projects/owatcom/pngconfig.dfa.
<<
!endif
# Make the default files
defaults
:
.symbolic
@$(COPY)
<<
config.inf
$
# The libpng project is incompletely configured. To complete configuration
$# please complete the following steps
:
$
#
$
# 1) Edit the 'before' rule of libpng.wpj (from the IDE) to define the
$
# locations of the zlib include file zlib.h and the built zlib library,
$
# zlib.lib.
$
#
$
# 2) If you want to change libpng to a non-standard configuration also
$
# change the definition of 'awk' in the before rule to the name of your
$
# awk command. For more instructions on configuration read
$
# pngconfig.dfa.
$
#
$
# 3) Delete this file (config.inf).
<<
@$(COPY)
<<
pngconfig.dfa
$# pngconfig.dfa
:
this file contains configuration options for libpng.
$
# If emtpy the standard configuration will be built. For this file to be
$
# used a working version of the program 'awk' is required and the program
$
# must be identified in the 'before' rule of the project.
$
#
$
# If you don't already have 'awk', or the version of awk you have seems not
$
# to work, download Brian Kernighan's awk (Brian Kernighan is the author of
$
# awk.) You can find source code and a built executable (called awk95.exe)
$# here
:
$
#
$# http
:
//www.cs.princeton.edu/~bwk/btl.mirror/
$
#
$
# The executable works just fine.
$
#
$
# If build issues errors after a change to pngconfig.dfa you have entered
$
# inconsistent feature requests, or even malformed requests, in
$
# pngconfig.dfa. The error messages from awk should be comprehensible, but
$
# if not simply go back to the start (nothing but comments in this file) and
$
# enter configuration lines one by one until one produces an error. (Or, of
$
# course, do the standard binary chop.)
$
#
$
# You need to rebuild everything after a change to pnglibconf.dfa - i.e. you
$
# must do Actions/Mark All Targets for Remake. This is because the compiler
$
# generated dependency information (as of OpenWatcom 1.9) does not record the
$
# dependency on pnglibconf.h correctly.
$
#
$
# If awk isn't set then this file is bypassed. If you just want the standard
$
# configuration it is automatically produced from the distributed version
$
# (scripts\pnglibconf.h.prebuilt) by editting PNG_API_RULE to 2 (to force use
$
# of the OpenWatcom library calling convention.)
$
#
<<
clean
::
.symbolic
$(DELETE)
..\..\pnglibconf.h
pnglibconf.*
dfn.c
*.out
pngconfig.inf
$(DELETE)
*.obj
*.mbr
*.sym
*.err
*.pch
libpng.mk
$(DELETE)
libpng.lib
libpng.lbr
libpng.lb1
libpng.cbr
libpng.mk1
$(DELETE)
pngtest.exe
pngtest.map
pngtest.lk1
pngtest.mk1
$(DELETE)
pngvalid.exe
pngvalid.map
pngvalid.lk1
pngvalid.mk1
distclean
::
clean .symbolic
$(DELETE)
zlib.inf
awk.inf
config.inf
pngconfig.dfa
projects/owatcom/pngstest.tgt
浏览文件 @
ec6d6fa5
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
NEXE
3
WString
5
nc2en
1
0
0
4
MCommand
0
5
MCommand
1035
pngstest --log ../../contrib/pngsuite/basn0g01.png ../../contrib/pngsuite/basn0g02.png ../../contrib/pngsuite/basn0g04.png ../../contrib/pngsuite/basn0g08.png ../../contrib/pngsuite/basn0g16.png ../../contrib/pngsuite/basn2c08.png ../../contrib/pngsuite/basn2c16.png ../../contrib/pngsuite/basn3p01.png ../../contrib/pngsuite/basn3p02.png ../../contrib/pngsuite/basn3p04.png ../../contrib/pngsuite/basn3p08.png ../../contrib/pngsuite/basn4a08.png ../../contrib/pngsuite/basn4a16.png ../../contrib/pngsuite/basn6a08.png ../../contrib/pngsuite/basn6a16.png ../../contrib/pngsuite/ftbbn1g04.png ../../contrib/pngsuite/ftbbn2c16.png ../../contrib/pngsuite/ftbbn3p08.png ../../contrib/pngsuite/ftbgn2c16.png ../../contrib/pngsuite/ftbgn3p08.png ../../contrib/pngsuite/ftbrn2c08.png ../../contrib/pngsuite/ftbwn1g16.png ../../contrib/pngsuite/ftbwn3p08.png ../../contrib/pngsuite/ftbyn3p08.png ../../contrib/pngsuite/ftp0n1g08.png ../../contrib/pngsuite/ftp0n2c08.png ../../contrib/pngsuite/ftp0n3p08.png ../../contrib/pngsuite/ftp1n3p08.png
6
MItem
12
pngstest.exe
7
WString
4
NEXE
8
WVList
6
9
MVState
10
WString
7
WINLINK
11
WString
11
?????Stack:
1
12
WString
4
768k
0
13
MVState
14
WString
7
WINLINK
15
WString
28
?????Library directories(;):
1
16
WString
8
$(%zlib)
0
17
MVState
18
WString
7
WINLINK
19
WString
18
?????Libraries(,):
1
20
WString
19
libpng.lib zlib.lib
0
21
MVState
22
WString
7
WINLINK
23
WString
11
?????Stack:
0
24
WString
4
768k
0
25
MVState
26
WString
7
WINLINK
27
WString
28
?????Library directories(;):
0
28
WString
8
$(%zlib)
0
29
MVState
30
WString
7
WINLINK
31
WString
18
?????Libraries(,):
0
32
WString
19
libpng.lib zlib.lib
0
33
WVList
1
34
ActionStates
35
WString
4
&Run
36
WVList
0
-1
1
1
0
37
WPickList
2
38
MItem
3
*.c
39
WString
4
COBJ
40
WVList
2
41
MVState
42
WString
3
WCC
43
WString
25
n????Include directories:
1
44
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
45
MVState
46
WString
3
WCC
47
WString
25
n????Include directories:
0
48
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
49
WVList
0
-1
1
1
0
50
MItem
33
..\..\contrib\libtests\pngstest.c
51
WString
4
COBJ
52
WVList
0
53
WVList
0
38
1
1
0
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
NEXE
3
WString
5
nc2en
1
0
0
4
MCommand
0
5
MCommand
1035
pngstest --log ../../contrib/pngsuite/basn0g01.png ../../contrib/pngsuite/basn0g02.png ../../contrib/pngsuite/basn0g04.png ../../contrib/pngsuite/basn0g08.png ../../contrib/pngsuite/basn0g16.png ../../contrib/pngsuite/basn2c08.png ../../contrib/pngsuite/basn2c16.png ../../contrib/pngsuite/basn3p01.png ../../contrib/pngsuite/basn3p02.png ../../contrib/pngsuite/basn3p04.png ../../contrib/pngsuite/basn3p08.png ../../contrib/pngsuite/basn4a08.png ../../contrib/pngsuite/basn4a16.png ../../contrib/pngsuite/basn6a08.png ../../contrib/pngsuite/basn6a16.png ../../contrib/pngsuite/ftbbn1g04.png ../../contrib/pngsuite/ftbbn2c16.png ../../contrib/pngsuite/ftbbn3p08.png ../../contrib/pngsuite/ftbgn2c16.png ../../contrib/pngsuite/ftbgn3p08.png ../../contrib/pngsuite/ftbrn2c08.png ../../contrib/pngsuite/ftbwn1g16.png ../../contrib/pngsuite/ftbwn3p08.png ../../contrib/pngsuite/ftbyn3p08.png ../../contrib/pngsuite/ftp0n1g08.png ../../contrib/pngsuite/ftp0n2c08.png ../../contrib/pngsuite/ftp0n3p08.png ../../contrib/pngsuite/ftp1n3p08.png
6
MItem
12
pngstest.exe
7
WString
4
NEXE
8
WVList
6
9
MVState
10
WString
7
WINLINK
11
WString
11
?????Stack:
1
12
WString
4
768k
0
13
MVState
14
WString
7
WINLINK
15
WString
28
?????Library directories(;):
1
16
WString
8
$(%zlib)
0
17
MVState
18
WString
7
WINLINK
19
WString
18
?????Libraries(,):
1
20
WString
19
libpng.lib zlib.lib
0
21
MVState
22
WString
7
WINLINK
23
WString
11
?????Stack:
0
24
WString
4
768k
0
25
MVState
26
WString
7
WINLINK
27
WString
28
?????Library directories(;):
0
28
WString
8
$(%zlib)
0
29
MVState
30
WString
7
WINLINK
31
WString
18
?????Libraries(,):
0
32
WString
19
libpng.lib zlib.lib
0
33
WVList
1
34
ActionStates
35
WString
4
&Run
36
WVList
0
-1
1
1
0
37
WPickList
2
38
MItem
3
*.c
39
WString
4
COBJ
40
WVList
2
41
MVState
42
WString
3
WCC
43
WString
25
n????Include directories:
1
44
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
45
MVState
46
WString
3
WCC
47
WString
25
n????Include directories:
0
48
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
49
WVList
0
-1
1
1
0
50
MItem
33
..\..\contrib\libtests\pngstest.c
51
WString
4
COBJ
52
WVList
0
53
WVList
0
38
1
1
0
projects/owatcom/pngtest.tgt
浏览文件 @
ec6d6fa5
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
NEXE
3
WString
5
nc2en
1
0
0
4
MCommand
0
5
MCommand
34
cd ..\..
projects\owatcom\pngtest
6
MItem
11
pngtest.exe
7
WString
4
NEXE
8
WVList
4
9
MVState
10
WString
7
WINLINK
11
WString
28
?????Library directories(;):
1
12
WString
8
$(%zlib)
0
13
MVState
14
WString
7
WINLINK
15
WString
18
?????Libraries(,):
1
16
WString
19
libpng.lib zlib.lib
0
17
MVState
18
WString
7
WINLINK
19
WString
28
?????Library directories(;):
0
20
WString
8
$(%zlib)
0
21
MVState
22
WString
7
WINLINK
23
WString
18
?????Libraries(,):
0
24
WString
19
libpng.lib zlib.lib
0
25
WVList
0
-1
1
1
0
26
WPickList
2
27
MItem
3
*.c
28
WString
4
COBJ
29
WVList
2
30
MVState
31
WString
3
WCC
32
WString
25
n????Include directories:
1
33
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
34
MVState
35
WString
3
WCC
36
WString
25
n????Include directories:
0
37
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
38
WVList
0
-1
1
1
0
39
MItem
15
..\..\pngtest.c
40
WString
4
COBJ
41
WVList
0
42
WVList
0
27
1
1
0
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
NEXE
3
WString
5
nc2en
1
0
0
4
MCommand
0
5
MCommand
34
cd ..\..
projects\owatcom\pngtest
6
MItem
11
pngtest.exe
7
WString
4
NEXE
8
WVList
4
9
MVState
10
WString
7
WINLINK
11
WString
28
?????Library directories(;):
1
12
WString
8
$(%zlib)
0
13
MVState
14
WString
7
WINLINK
15
WString
18
?????Libraries(,):
1
16
WString
19
libpng.lib zlib.lib
0
17
MVState
18
WString
7
WINLINK
19
WString
28
?????Library directories(;):
0
20
WString
8
$(%zlib)
0
21
MVState
22
WString
7
WINLINK
23
WString
18
?????Libraries(,):
0
24
WString
19
libpng.lib zlib.lib
0
25
WVList
0
-1
1
1
0
26
WPickList
2
27
MItem
3
*.c
28
WString
4
COBJ
29
WVList
2
30
MVState
31
WString
3
WCC
32
WString
25
n????Include directories:
1
33
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
34
MVState
35
WString
3
WCC
36
WString
25
n????Include directories:
0
37
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
38
WVList
0
-1
1
1
0
39
MItem
15
..\..\pngtest.c
40
WString
4
COBJ
41
WVList
0
42
WVList
0
27
1
1
0
projects/owatcom/pngvalid.tgt
浏览文件 @
ec6d6fa5
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
NEXE
3
WString
5
nc2en
1
0
0
4
MCommand
0
5
MCommand
8
pngvalid
6
MItem
12
pngvalid.exe
7
WString
4
NEXE
8
WVList
6
9
MVState
10
WString
7
WINLINK
11
WString
11
?????Stack:
1
12
WString
4
768k
0
13
MVState
14
WString
7
WINLINK
15
WString
28
?????Library directories(;):
1
16
WString
8
$(%zlib)
0
17
MVState
18
WString
7
WINLINK
19
WString
18
?????Libraries(,):
1
20
WString
19
libpng.lib zlib.lib
0
21
MVState
22
WString
7
WINLINK
23
WString
11
?????Stack:
0
24
WString
4
768k
0
25
MVState
26
WString
7
WINLINK
27
WString
28
?????Library directories(;):
0
28
WString
8
$(%zlib)
0
29
MVState
30
WString
7
WINLINK
31
WString
18
?????Libraries(,):
0
32
WString
19
libpng.lib zlib.lib
0
33
WVList
0
-1
1
1
0
34
WPickList
2
35
MItem
3
*.c
36
WString
4
COBJ
37
WVList
2
38
MVState
39
WString
3
WCC
40
WString
25
n????Include directories:
1
41
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
42
MVState
43
WString
3
WCC
44
WString
25
n????Include directories:
0
45
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
46
WVList
0
-1
1
1
0
47
MItem
33
..\..\contrib\libtests\pngvalid.c
48
WString
4
COBJ
49
WVList
0
50
WVList
0
35
1
1
0
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
NEXE
3
WString
5
nc2en
1
0
0
4
MCommand
0
5
MCommand
8
pngvalid
6
MItem
12
pngvalid.exe
7
WString
4
NEXE
8
WVList
6
9
MVState
10
WString
7
WINLINK
11
WString
11
?????Stack:
1
12
WString
4
768k
0
13
MVState
14
WString
7
WINLINK
15
WString
28
?????Library directories(;):
1
16
WString
8
$(%zlib)
0
17
MVState
18
WString
7
WINLINK
19
WString
18
?????Libraries(,):
1
20
WString
19
libpng.lib zlib.lib
0
21
MVState
22
WString
7
WINLINK
23
WString
11
?????Stack:
0
24
WString
4
768k
0
25
MVState
26
WString
7
WINLINK
27
WString
28
?????Library directories(;):
0
28
WString
8
$(%zlib)
0
29
MVState
30
WString
7
WINLINK
31
WString
18
?????Libraries(,):
0
32
WString
19
libpng.lib zlib.lib
0
33
WVList
0
-1
1
1
0
34
WPickList
2
35
MItem
3
*.c
36
WString
4
COBJ
37
WVList
2
38
MVState
39
WString
3
WCC
40
WString
25
n????Include directories:
1
41
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
42
MVState
43
WString
3
WCC
44
WString
25
n????Include directories:
0
45
WString
39
"$(%zlib);$(%watcom)/h;$(%watcom)/h/nt"
0
46
WVList
0
-1
1
1
0
47
MItem
33
..\..\contrib\libtests\pngvalid.c
48
WString
4
COBJ
49
WVList
0
50
WVList
0
35
1
1
0
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录