diff options
Diffstat (limited to 'Build/source/libs/libpng/libpng-src/scripts/makefile.hpgcc')
-rw-r--r-- | Build/source/libs/libpng/libpng-src/scripts/makefile.hpgcc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/libs/libpng/libpng-src/scripts/makefile.hpgcc b/Build/source/libs/libpng/libpng-src/scripts/makefile.hpgcc index 3686bd0ae0a..a24fb933986 100644 --- a/Build/source/libs/libpng/libpng-src/scripts/makefile.hpgcc +++ b/Build/source/libs/libpng/libpng-src/scripts/makefile.hpgcc @@ -1,5 +1,5 @@ # makefile for libpng on HP-UX using GCC with the HP ANSI/C linker. -# Copyright (C) 2020-2022 Cosmin Truta +# Copyright (C) 2020-2024 Cosmin Truta # Copyright (C) 2002, 2006-2008, 2010-2014 Glenn Randers-Pehrson # Copyright (C) 2001, Laurent faillie # Copyright (C) 1998, 1999 Greg Roelofs @@ -19,10 +19,9 @@ LIBSOMAJ=$(LIBNAME).sl.$(PNGMAJ) # Utilities: CC=gcc -LD=ld -AR_RC=ar rc +AR=ar RANLIB=ranlib -MKDIR_P=mkdir -p +LD=ld LN_SF=ln -sf CP=cp RM_F=/bin/rm -f @@ -44,6 +43,7 @@ WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \ CPPFLAGS=-I$(ZLIBINC) # -DPNG_DEBUG=5 CFLAGS=-O3 -funroll-loops -Wall -Wextra -Wundef # $(WARNMORE) -g +ARFLAGS=rc #LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng16 -lz -lm # -g LDFLAGS=-L. -L$(ZLIBLIB) -lpng16 -lz -lm # -g @@ -64,7 +64,7 @@ OBJSDLL = $(OBJS:.o=.pic.o) all: libpng.a $(LIBSO) pngtest libpng.a: $(OBJS) - $(AR_RC) $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(RANLIB) $@ $(LIBSO): $(LIBSOMAJ) |