mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
build: Update and rename makefile.acorn to makefile.riscos
Co-authored-by: Cosmin Truta <ctruta@gmail.com> Reviewed-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
This commit is contained in:
parent
9138be341b
commit
ab6d97b7c8
@ -1,14 +1,12 @@
|
|||||||
# Project: libpng
|
# Project: libpng
|
||||||
|
|
||||||
|
# Copyright (C) 2020 Cameron Cawley
|
||||||
|
# Copyright (C) 1997 Tom Tanner
|
||||||
|
|
||||||
# Toolflags:
|
# Toolflags:
|
||||||
CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
|
CCflags = -c -depend !Depend -IC:,C:zlib -g -throwback -DRISCOS -fnah -wz
|
||||||
C++flags = -c -depend !Depend -IC: -throwback
|
Linkflags = -aif -o $@
|
||||||
Linkflags = -aif -c++ -o $@
|
|
||||||
ObjAsmflags = -throwback -NoCache -depend !Depend
|
|
||||||
CMHGflags =
|
|
||||||
LibFileflags = -c -l -o $@
|
LibFileflags = -c -l -o $@
|
||||||
Squeezeflags = -o $@
|
|
||||||
|
|
||||||
# Final targets:
|
# Final targets:
|
||||||
@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
||||||
@ -27,14 +25,13 @@ Squeezeflags = -o $@
|
|||||||
|
|
||||||
|
|
||||||
# User-editable dependencies:
|
# User-editable dependencies:
|
||||||
# (C) Copyright 1997 Tom Tanner
|
|
||||||
Test: @.pngtest
|
Test: @.pngtest
|
||||||
<Prefix$Dir>.pngtest
|
Run @.pngtest
|
||||||
@remove <Prefix$Dir>.pngtest
|
@Remove @.pngtest
|
||||||
|
|
||||||
#It would be nice if you could stop "make" listing from here on!
|
#It would be nice if you could stop "make" listing from here on!
|
||||||
@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs C:zlib.o.zlib
|
||||||
Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs C:zlib.o.zlib
|
||||||
|
|
||||||
.SUFFIXES: .o .mm .c
|
.SUFFIXES: .o .mm .c
|
||||||
|
|
||||||
@ -43,15 +40,15 @@ Test: @.pngtest
|
|||||||
.c.o:
|
.c.o:
|
||||||
cc $(ccflags) -o $@ $<
|
cc $(ccflags) -o $@ $<
|
||||||
|
|
||||||
# See scripts.mak.libpngconf for how to generate this:
|
# See scripts.pnglibconf/mak for how to generate this:
|
||||||
@.h.libpngconf: @.scripts.h.libpngconf
|
@.h.pnglibconf: @.scripts.pnglibconf/h/prebuilt
|
||||||
copy @.scripts.h.libpngconf $@
|
Copy @.scripts.pnglibconf/h/prebuilt $@ ~CF~V
|
||||||
|
|
||||||
# Static dependencies:
|
# Static dependencies:
|
||||||
@.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
@.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
||||||
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
|
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
|
||||||
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil \
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil \
|
||||||
@.o.pngtest: @.h.libpngconf
|
@.o.pngtest: @.h.pnglibconf
|
||||||
|
|
||||||
|
|
||||||
# Dynamic dependencies:
|
# Dynamic dependencies:
|
Loading…
x
Reference in New Issue
Block a user