diff options
Diffstat (limited to 'scripts/makefile.sunos')
-rw-r--r-- | scripts/makefile.sunos | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/scripts/makefile.sunos b/scripts/makefile.sunos index 392878efc..13450ec97 100644 --- a/scripts/makefile.sunos +++ b/scripts/makefile.sunos @@ -1,5 +1,5 @@ # makefile for libpng -# Copyright (C) 2020 Cosmin Truta +# Copyright (C) 2020-2022 Cosmin Truta # Copyright (C) 2002, 2006, 2014 Glenn Randers-Pehrson # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. # @@ -28,21 +28,16 @@ DESTDIR= ZLIBLIB=../zlib ZLIBINC=../zlib - -WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow -Wconversion \ - -Wmissing-declarations -Wtraditional -Wcast-align \ - -Wstrict-prototypes -Wmissing-prototypes - CC=gcc AR_RC=ar rc +RANLIB=ranlib MKDIR_P=mkdir -p LN_SF=ln -f -s -RANLIB=ranlib CP=cp RM_F=/bin/rm -f CPPFLAGS=-I$(ZLIBINC) # -DPNG_DEBUG=5 -CFLAGS=-O # $(WARNMORE) +CFLAGS=-O LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm # Pre-built configuration @@ -62,7 +57,7 @@ pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) $(CP) $(PNGLIBCONF_H_PREBUILT) $@ libpng.a: $(OBJS) - $(AR_RC) $@ $(OBJS) + $(AR_RC) $@ $(OBJS) $(RANLIB) $@ pngtest: pngtest.o libpng.a |