]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/smakefile.ppc
Don't auto-link with 3rd party libraries in DLL build using MSVC.
[wxWidgets.git] / src / png / scripts / smakefile.ppc
CommitLineData
0272a10d
VZ
1# Amiga powerUP (TM) Makefile
2# makefile for libpng and SAS C V6.58/7.00 PPC compiler
3# Copyright (C) 1998 by Andreas R. Kleinert
b61cc19c
PC
4#
5# This code is released under the libpng license.
6# For conditions of distribution and use, see the disclaimer
7# and license in png.h
0272a10d
VZ
8
9CC = scppc
10CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
11 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
12LIBNAME = libpng.a
13AR = ppc-amigaos-ar
14AR_FLAGS = cr
15RANLIB = ppc-amigaos-ranlib
16LDFLAGS = -r -o
17LDLIBS = ../zlib/libzip.a LIB:scppc.a
18LN = ppc-amigaos-ld
19RM = delete quiet
20MKDIR = makedir
21
22OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
9c0d9ce3
DS
23 pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o \
24 pngwio.o pngmem.o
0272a10d
VZ
25
26all: $(LIBNAME) pngtest
27
28$(LIBNAME): $(OBJS)
29 $(AR) $(AR_FLAGS) $@ $(OBJS)
30 $(RANLIB) $@
31
32pngtest: pngtest.o $(LIBNAME)
33 $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \
34LIB:end.o