~ubuntu-branches/ubuntu/raring/wxwidgets2.8/raring

« back to all changes in this revision

Viewing changes to src/png/scripts/smakefile.ppc

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-01-07 13:59:25 UTC
  • mfrom: (1.1.9) (5.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120107135925-2601miy9ullcon9j
Tags: 2.8.12.1-6ubuntu1
* Resync from Debian, changes that were kept:
  - debian/rules: re-enable mediactrl. This allows libwx_gtk2u_media-2.8 to be
    built, as this is required by some applications (LP: #632984)
  - debian/control: Build-dep on libxt-dev for mediactrl.
  - Patches
    + fix-bashism-in-example
* Add conflict on python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) to python-wxversion
  to guarantee upgrade ordering when moving from pycentral to dh_python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
4
 
# For conditions of distribution and use, see copyright notice in png.h
5
 
 
6
 
CC       = scppc
7
 
CFLAGS   = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
8
 
           OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
9
 
LIBNAME  = libpng.a
10
 
AR       = ppc-amigaos-ar
11
 
AR_FLAGS = cr
12
 
RANLIB   = ppc-amigaos-ranlib
13
 
LDFLAGS  = -r -o
14
 
LDLIBS   =  ../zlib/libzip.a LIB:scppc.a
15
 
LN       = ppc-amigaos-ld
16
 
RM       = delete quiet
17
 
MKDIR    = makedir
18
 
 
19
 
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
20
 
pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
21
 
 
22
 
all: $(LIBNAME) pngtest
23
 
 
24
 
$(LIBNAME): $(OBJS)
25
 
            $(AR) $(AR_FLAGS) $@ $(OBJS)
26
 
            $(RANLIB) $@
27
 
 
28
 
pngtest: pngtest.o $(LIBNAME)
29
 
        $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \
30
 
LIB:end.o