Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
82200dae
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,发现更多精彩内容 >>
提交
82200dae
编写于
3月 22, 2014
作者:
C
Cosmin Truta
提交者:
Glenn Randers-Pehrson
3月 22, 2014
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] $(CP) is now used alongside $(RM_F). Also, use 'copy' instead
of 'cp' where applicable, and applied other minor makefile changes.
上级
6572c7da
变更
38
隐藏空白更改
内联
并排
Showing
38 changed file
with
88 addition
and
45 deletion
+88
-45
ANNOUNCE
ANNOUNCE
+2
-0
CHANGES
CHANGES
+2
-0
scripts/README.txt
scripts/README.txt
+1
-1
scripts/makefile.atari
scripts/makefile.atari
+1
-1
scripts/makefile.bc32
scripts/makefile.bc32
+3
-2
scripts/makefile.beos
scripts/makefile.beos
+2
-1
scripts/makefile.bor
scripts/makefile.bor
+3
-2
scripts/makefile.darwin
scripts/makefile.darwin
+2
-1
scripts/makefile.dec
scripts/makefile.dec
+3
-2
scripts/makefile.dj2
scripts/makefile.dj2
+5
-2
scripts/makefile.elf
scripts/makefile.elf
+2
-1
scripts/makefile.freebsd
scripts/makefile.freebsd
+2
-2
scripts/makefile.gcc
scripts/makefile.gcc
+2
-1
scripts/makefile.hp64
scripts/makefile.hp64
+2
-1
scripts/makefile.hpgcc
scripts/makefile.hpgcc
+1
-0
scripts/makefile.hpux
scripts/makefile.hpux
+1
-1
scripts/makefile.ibmc
scripts/makefile.ibmc
+2
-1
scripts/makefile.intel
scripts/makefile.intel
+2
-1
scripts/makefile.knr
scripts/makefile.knr
+5
-2
scripts/makefile.linux
scripts/makefile.linux
+2
-1
scripts/makefile.mips
scripts/makefile.mips
+3
-1
scripts/makefile.msc
scripts/makefile.msc
+3
-2
scripts/makefile.msys
scripts/makefile.msys
+2
-1
scripts/makefile.ne12bsd
scripts/makefile.ne12bsd
+1
-1
scripts/makefile.netbsd
scripts/makefile.netbsd
+1
-1
scripts/makefile.openbsd
scripts/makefile.openbsd
+1
-1
scripts/makefile.sco
scripts/makefile.sco
+2
-1
scripts/makefile.sggcc
scripts/makefile.sggcc
+2
-1
scripts/makefile.sgi
scripts/makefile.sgi
+2
-1
scripts/makefile.so9
scripts/makefile.so9
+2
-1
scripts/makefile.solaris
scripts/makefile.solaris
+2
-1
scripts/makefile.solaris-x86
scripts/makefile.solaris-x86
+2
-1
scripts/makefile.std
scripts/makefile.std
+1
-0
scripts/makefile.sunos
scripts/makefile.sunos
+2
-1
scripts/makefile.tc3
scripts/makefile.tc3
+3
-1
scripts/makefile.vcwin32
scripts/makefile.vcwin32
+4
-3
scripts/pnglibconf.h.prebuilt
scripts/pnglibconf.h.prebuilt
+1
-1
scripts/symbols.dfn
scripts/symbols.dfn
+9
-3
未找到文件。
ANNOUNCE
浏览文件 @
82200dae
...
...
@@ -36,6 +36,8 @@ Version 1.6.11beta02 [March 22, 2014]
they were handled improperly by Portland Group's PGI-14.1 - PGI-14.3
when using its "__builtin_pow()" function.
Silence 'unused parameter' build warnings (Cosmin).
$(CP) is now used alongside $(RM_F). Also, use 'copy' instead
of 'cp' where applicable, and applied other minor makefile changes.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
CHANGES
浏览文件 @
82200dae
...
...
@@ -4885,6 +4885,8 @@ Version 1.6.11beta02 [March 22, 2014]
they were handled improperly by Portland Group's PGI-14.1 - PGI-14.3
when using its "__builtin_pow()" function.
Silence 'unused parameter' build warnings (Cosmin).
$(CP) is now used alongside $(RM_F). Also, use 'copy' instead
of 'cp' where applicable, and applied other minor makefile changes.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
scripts/README.txt
浏览文件 @
82200dae
Makefiles for libpng version 1.6.11beta02 - March
17
, 2014
Makefiles for libpng version 1.6.11beta02 - March
22
, 2014
pnglibconf.h.prebuilt => Stores configuration settings
makefile.linux => Linux/ELF makefile
...
...
scripts/makefile.atari
浏览文件 @
82200dae
...
...
@@ -45,7 +45,7 @@ $(LBR): $(OBJS)
$(OBJS)
:
pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt pnglibconf.h
cp
$<
$@
pngtest.ttp
:
pngtest.o $(LBR)
$(CC)
$(CFLAGS)
$(LDFLAGS)
-o
$@
pngtest.o
...
...
scripts/makefile.bc32
浏览文件 @
82200dae
...
...
@@ -11,10 +11,11 @@
## Where zlib.h, zconf.h and zlib.lib are
ZLIB_DIR
=
..
\z
lib
## Compiler, linker
and lib stuff
## Compiler, linker
, librarian and other tools
CC
=
bcc32
LD
=
bcc32
LIB
=
tlib
CP
=
copy
# -3 = 386, -4 = 486, -5 = Pentium etc.
!
ifndef
TARGET_CPU
...
...
@@ -114,7 +115,7 @@ test: pngtest.exe
# see scripts\pnglibconf.mak for how to make this file
# with different options
pnglibconf.h
:
scripts
\p
nglibconf.h.prebuilt
copy scripts
\p
nglibconf.h.prebuilt
$@
$(CP)
$<
$@
png.obj
:
png.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
pngerror.obj
:
pngerror.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
...
...
scripts/makefile.beos
浏览文件 @
82200dae
...
...
@@ -24,6 +24,7 @@ AR_RC=ar rc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
# Where the zlib library and include files are located
...
...
@@ -83,7 +84,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# try include scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.bor
浏览文件 @
82200dae
...
...
@@ -12,10 +12,11 @@
## Where zlib.h, zconf.h and zlib_MODEL.lib are
ZLIB_DIR
=
..
\z
lib
## Compiler, linker
and lib stuff
## Compiler, linker
, librarian and other tools
CC
=
bcc
LD
=
bcc
LIB
=
tlib
CP
=
copy
!
ifndef
MODEL
MODEL
=
l
...
...
@@ -112,7 +113,7 @@ all: libpng pngtest
# try !inlude scripts\pnglibconf.mak for more options
pnglibconf.h
:
scripts
\p
nglibconf.h.prebuilt
copy scripts
\p
nglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng
:
$(LIBNAME)
...
...
scripts/makefile.darwin
浏览文件 @
82200dae
...
...
@@ -34,6 +34,7 @@ AR_RC=ar rc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
ARCH
=
-arch
ppc
-arch
i386
-arch
x86_64
...
...
@@ -80,7 +81,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.dec
浏览文件 @
82200dae
...
...
@@ -22,6 +22,7 @@ CC=cc
MKDIR_P
=
mkdir
LN_SF
=
ln
-f
-s
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
# where make install puts libpng.a and png.h
...
...
@@ -68,7 +69,7 @@ all: $(LIBSO) libpng.a pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
@@ -181,7 +182,7 @@ test-installed:
./pngtesti pngtest.png
clean
:
/bin/rm
-f
*
.o libpng.a pngtest pngtesti pngout.png
\
$(RM_F)
*
.o libpng.a pngtest pngtesti pngout.png
\
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
...
...
scripts/makefile.dj2
浏览文件 @
82200dae
...
...
@@ -19,6 +19,9 @@ LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
RANLIB
=
ranlib
CP
=
cp
RM_F
=
rm
-f
OBJS
=
png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o
\
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o
\
pngmem.o pngerror.o pngpread.o
...
...
@@ -30,7 +33,7 @@ all: libpng.a pngtest
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
ar rc
$@
$(OBJS)
...
...
@@ -43,7 +46,7 @@ pngtest: pngtest.o libpng.a
test
:
pngtest
./pngtest
clean
:
rm
-f
*
.o libpng.a pngtest pngout.png pnglibconf.h
$(RM_F)
*
.o libpng.a pngtest pngout.png pnglibconf.h
# DO NOT DELETE THIS LINE -- make depend depends on it.
...
...
scripts/makefile.elf
浏览文件 @
82200dae
...
...
@@ -30,6 +30,7 @@ CC=gcc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
# where "make install" puts libpng16.a, libpng16.so*,
...
...
@@ -100,7 +101,7 @@ all: libpng.a $(LIBSO) pngtest pngtest-static libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.freebsd
浏览文件 @
82200dae
...
...
@@ -13,7 +13,7 @@ LIB= png
SHLIB_MAJOR
=
${SHLIB_VER}
SHLIB_MINOR
=
0
NO_PROFILE
=
YES
NO_OBJ
=
YES
NO_OBJ
=
YES
# where make install puts libpng.a and png.h
DESTDIR
=
${PREFIX}
...
...
@@ -57,7 +57,7 @@ test: pngtest
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
cp
$<
$@
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
writelock
:
...
...
scripts/makefile.gcc
浏览文件 @
82200dae
...
...
@@ -16,6 +16,7 @@ CC = gcc
LD
=
$(CC)
AR_RC
=
ar rcs
RANLIB
=
ranlib
CP
=
cp
RM_F
=
rm
-f
WARNMORE
=
-Wwrite-strings
-Wpointer-arith
-Wshadow
\
...
...
@@ -39,7 +40,7 @@ all: static
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
.c.o
:
$(CC)
-c
$(CPPFLAGS)
$(CFLAGS)
-o
$@
$<
...
...
scripts/makefile.hp64
浏览文件 @
82200dae
...
...
@@ -34,6 +34,7 @@ CC=cc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
CPPFLAGS
=
-I
$(ZLIBINC)
\
...
...
@@ -85,7 +86,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.hpgcc
浏览文件 @
82200dae
...
...
@@ -25,6 +25,7 @@ AR_RC=ar rc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
# where "make install" puts libpng.a, $(OLDSO)*, png.h, pngconf.h
...
...
scripts/makefile.hpux
浏览文件 @
82200dae
...
...
@@ -84,7 +84,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.ibmc
浏览文件 @
82200dae
...
...
@@ -21,6 +21,7 @@ ZLIBLIB = ../zlib
CC
=
icc
LD
=
ilink
AR
=
ilib
CP
=
copy
RM
=
del
CPPFLAGS
=
-I
$(ZLIBINC)
...
...
@@ -47,7 +48,7 @@ all: libpng$(A) pngtest$(E)
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng$(A)
:
$(OBJS)
$(AR)
-out
:
$@
$(OBJS)
...
...
scripts/makefile.intel
浏览文件 @
82200dae
...
...
@@ -36,6 +36,7 @@ CPPFLAGS=-I$(ZLIBINC)
CFLAGS
=
-O2
-G
$(CPU)$(CALLING)
-Qip
-Qunroll4
-nologo
LD
=
link
LDFLAGS
=
/SUBSYSTEM:CONSOLE /NOLOGO
CP
=
cp
O
=
.obj
...
...
@@ -47,7 +48,7 @@ all: test
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
png$(O)
:
png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
$(CC)
$(CPPFLAGS)
$(CFLAGS)
$*
.c
$(ERRFILE)
...
...
scripts/makefile.knr
浏览文件 @
82200dae
...
...
@@ -36,6 +36,9 @@ ANSI2KNRFLAGS=
RANLIB
=
ranlib
#RANLIB = echo
CP
=
cp
RM_F
=
rm
-f
OBJS
=
png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o
\
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o
\
pngwtran.o pngmem.o pngerror.o pngpread.o
...
...
@@ -44,7 +47,7 @@ all: ansi2knr libpng.a pngtest
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
# general rule to allow ansi2knr to work
.c.o
:
...
...
@@ -83,7 +86,7 @@ install: libpng.a png.h pngconf.h pnglibconf.h
chmod
644
$(DESTDIR)$(LIBPATH)
/libpng.a
clean
:
rm
-f
*
.o libpng.a pngtest pngout.png ansi2knr pnglibconf.h
$(RM_F)
*
.o libpng.a pngtest pngout.png ansi2knr pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
writelock
:
...
...
scripts/makefile.linux
浏览文件 @
82200dae
...
...
@@ -24,6 +24,7 @@ CC=gcc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
# where "make install" puts libpng16.a, libpng16.so*,
...
...
@@ -93,7 +94,7 @@ all: libpng.a $(LIBSO) pngtest pngtest-static libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.mips
浏览文件 @
82200dae
...
...
@@ -30,6 +30,8 @@ LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
#RANLIB=ranlib
RANLIB
=
echo
CP
=
cp
OBJS
=
png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o
\
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o
\
pngwtran.o pngmem.o pngerror.o pngpread.o
...
...
@@ -41,7 +43,7 @@ all: libpng.a pngtest
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
ar rc
$@
$(OBJS)
...
...
scripts/makefile.msc
浏览文件 @
82200dae
...
...
@@ -16,6 +16,7 @@ CFLAGS=-Oait -Gs -nologo -W3 -A$(MODEL)
CC
=
cl
LD
=
link
LDFLAGS
=
/e/st:0x1500/noe
CP
=
copy
O
=
.obj
#uncomment next to put error messages in a file
...
...
@@ -30,10 +31,10 @@ all: libpng.lib
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
png$(O)
:
png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
$(CC)
-c
$(CPPFLAGS)
$(CFLAGS)
$*
.c
$(ERRFILE)
$(CC)
-c
$(CPPFLAGS)
$(CFLAGS)
$*
.c
$(ERRFILE)
pngset$(O)
:
png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
$(CC)
-c
$(CPPFLAGS)
$(CFLAGS)
$*
.c
$(ERRFILE)
...
...
scripts/makefile.msys
浏览文件 @
82200dae
...
...
@@ -37,6 +37,7 @@ CC = gcc
LD
=
$(CC)
AR_RC
=
ar rcs
RANLIB
=
ranlib
CP
=
cp
RM_F
=
rm
-rf
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
...
...
@@ -83,7 +84,7 @@ all: static shared
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
.c.o
:
$(CC)
-c
$(CPPFLAGS)
$(CFLAGS)
$<
...
...
scripts/makefile.ne12bsd
浏览文件 @
82200dae
...
...
@@ -39,7 +39,7 @@ CLEANFILES+=pngtest.o pngtest pnglibconf.h
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
cp
$<
$@
pngtest.o
:
pngtest.c
${CC}
-c
${CPPFLAGS}
${CFLAGS}
${
.ALLSRC
}
-o
${
.TARGET
}
...
...
scripts/makefile.netbsd
浏览文件 @
82200dae
...
...
@@ -39,7 +39,7 @@ CLEANFILES+=pngtest.o pngtest pnglibconf.h
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
cp
$<
$@
pngtest.o
:
pngtest.c
${CC}
-c
${CPPFLAGS}
${CFLAGS}
${
.ALLSRC
}
-o
${
.TARGET
}
...
...
scripts/makefile.openbsd
浏览文件 @
82200dae
...
...
@@ -36,7 +36,7 @@ DOCS= ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO \
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
cp
$<
$@
pngtest.o
:
pngtest.c
${CC}
${CPPFLAGS}
${CFLAGS}
-c
${
.ALLSRC
}
-o
${
.TARGET
}
...
...
scripts/makefile.sco
浏览文件 @
82200dae
...
...
@@ -25,6 +25,7 @@ AR_RC=ar rc
MKDIR_P
=
mkdir
LN_SF
=
ln
-f
-s
RANLIB
=
echo
CP
=
cp
RM_F
=
/bin/rm
-f
# where make install puts libpng.a, $(OLDSO)*, and png.h
...
...
@@ -79,7 +80,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.sggcc
浏览文件 @
82200dae
...
...
@@ -22,6 +22,7 @@ CC=gcc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
echo
CP
=
cp
RM_F
=
/bin/rm
-f
# Where make install puts libpng.a, libpng16.so, and libpng16/png.h
...
...
@@ -82,7 +83,7 @@ all: libpng.a pngtest shared libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.sgi
浏览文件 @
82200dae
...
...
@@ -22,6 +22,7 @@ CC=cc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-sf
RANLIB
=
echo
CP
=
cp
RM_F
=
/bin/rm
-f
# Where make install puts libpng.a, libpng16.so, and libpng16/png.h
...
...
@@ -85,7 +86,7 @@ all: libpng.a pngtest shared libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.so9
浏览文件 @
82200dae
...
...
@@ -26,6 +26,7 @@ AR_RC=ar rc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-f
-s
RANLIB
=
echo
CP
=
cp
RM_F
=
/bin/rm
-f
# Where make install puts libpng.a, $(OLDSO)*, and png.h
...
...
@@ -89,7 +90,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.solaris
浏览文件 @
82200dae
...
...
@@ -24,6 +24,7 @@ CC=gcc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-f
-s
RANLIB
=
echo
CP
=
cp
RM_F
=
/bin/rm
-f
# Where make install puts libpng.a, libpng16.so*, and png.h
...
...
@@ -85,7 +86,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.solaris-x86
浏览文件 @
82200dae
...
...
@@ -24,6 +24,7 @@ CC=gcc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-f
-s
RANLIB
=
echo
CP
=
cp
RM_F
=
/bin/rm
-f
# Where make install puts libpng.a, libpng16.so*, and png.h
...
...
@@ -84,7 +85,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.std
浏览文件 @
82200dae
...
...
@@ -32,6 +32,7 @@ AR_RC = ar rc
MKDIR_P
=
mkdir
LN_SF
=
ln
-sf
RANLIB
=
ranlib
CP
=
cp
RM_F
=
rm
-f
AWK
=
awk
SED
=
sed
...
...
scripts/makefile.sunos
浏览文件 @
82200dae
...
...
@@ -37,6 +37,7 @@ AR_RC=ar rc
MKDIR_P
=
mkdir
-p
LN_SF
=
ln
-f
-s
RANLIB
=
ranlib
CP
=
cp
RM_F
=
/bin/rm
-f
CPPFLAGS
=
-I
$(ZLIBINC)
# -DPNG_DEBUG=5
...
...
@@ -54,7 +55,7 @@ all: libpng.a pngtest
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
libpng.a
:
$(OBJS)
$(AR_RC)
$@
$(OBJS)
...
...
scripts/makefile.tc3
浏览文件 @
82200dae
...
...
@@ -12,6 +12,8 @@ CC=tcc
LD
=
tcc
LIB
=
tlib
LDFLAGS
=
-m
$(MODEL)
-L
..
\z
lib
CP
=
copy
O
=
.obj
E
=
.exe
...
...
@@ -27,7 +29,7 @@ all: libpng$(MODEL).lib pngtest$(E)
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts/pnglibconf.h.prebuilt
cp
scripts/pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
pngtest
:
pngtest$(E)
...
...
scripts/makefile.vcwin32
浏览文件 @
82200dae
...
...
@@ -9,9 +9,9 @@
# Assumes that zlib.lib, zconf.h, and zlib.h have been copied to ..\zlib
# To use, do "nmake /f scripts\makefile.vcwin32"
# -------- Microsoft Visual C++ 2.0 and later
, no assembler code
--------
# -------- Microsoft Visual C++ 2.0 and later --------
# Compiler, linker, librarian
,
and other tools
# Compiler, linker, librarian and other tools
CC
=
cl
LD
=
link
AR
=
lib
...
...
@@ -19,6 +19,7 @@ CPPFLAGS = -I..\zlib
CFLAGS
=
-nologo
-D_CRT_SECURE_NO_DEPRECATE
-MD
-O2
-W3
LDFLAGS
=
-nologo
ARFLAGS
=
-nologo
CP
=
copy
RM
=
del
# File extensions
...
...
@@ -38,7 +39,7 @@ all: libpng.lib
# see scripts/pnglibconf.mak for more options
pnglibconf.h
:
scripts
\p
nglibconf.h.prebuilt
copy
scripts\pnglibconf.h.prebuilt
$@
$(CP)
$<
$@
png$(O)
:
png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
$(CC)
-c
$(CPPFLAGS)
$(CFLAGS)
$*
.c
$(ERRFILE)
...
...
scripts/pnglibconf.h.prebuilt
浏览文件 @
82200dae
...
...
@@ -2,7 +2,7 @@
/* pnglibconf.h - library build configuration */
/* Libpng version 1.6.11beta02 - March
17
, 2014 */
/* Libpng version 1.6.11beta02 - March
22
, 2014 */
/* Copyright (c) 1998-2013 Glenn Randers-Pehrson */
...
...
scripts/symbols.dfn
浏览文件 @
82200dae
...
...
@@ -11,11 +11,17 @@
/* NOTE: making 'symbols.chk' checks both that the exported
* symbols in the library don't change and (implicitly) that
* scripts/pnglibconf.h.prebuilt is as expected.
If scripts/pnglibconf.h.prebuilt
*
is remade using scripts/pnglibconf.dfa then this checks the
* .dfa file too.
* scripts/pnglibconf.h.prebuilt is as expected.
*
If scripts/pnglibconf.h.prebuilt is remade using
*
scripts/pnglibconf.dfa then this checks the
.dfa file too.
*/
#define PNG_EXPORTA(ordinal, type, name, args, attributes)\
PNG_DFN "@" name "@ @@" ordinal "@"
#define PNG_REMOVED(ordinal, type, name, args, attributes)\
PNG_DFN "; @" name "@ @@" ordinal "@"
#define PNG_EXPORT_LAST_ORDINAL(ordinal)\
#define PNG_EXPORTA(ordinal, type, name, args, attributes)\
PNG_DFN "@" name "@ @@" ordinal "@"
#define PNG_REMOVED(ordinal, type, name, args, attributes)\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录