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

« back to all changes in this revision

Viewing changes to src/png/scripts/makefile.amiga

  • 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
 
# Commodore Amiga Makefile
2
 
# makefile for libpng and SAS C V6.5x compiler
3
 
# Copyright (C) 1995-2000 Wolf Faust
4
 
# For conditions of distribution and use, see copyright notice in png.h
5
 
#
6
 
# Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.h
7
 
#
8
 
# Location/path of zlib include files
9
 
ZLIB=/zlib
10
 
#compiler
11
 
CC=sc
12
 
#compiler flags
13
 
# WARNING: a bug in V6.51 causes bad code with OPTGO
14
 
#          So use V6.55 or set NOOPTGO!!!!!!!!!
15
 
CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\
16
 
        OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \
17
 
        DEFINE=PNG_INTERNAL
18
 
#linker flags
19
 
LDFLAGS= SD ND BATCH
20
 
#link libs
21
 
LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
22
 
# linker
23
 
LN= slink
24
 
# file deletion command
25
 
RM= delete quiet
26
 
# library (.lib) file creation command
27
 
AR= oml
28
 
# make directory command
29
 
MKDIR= makedir
30
 
 
31
 
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
32
 
        pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
33
 
        pngwtran.o pngmem.o pngerror.o pngpread.o
34
 
 
35
 
all: libpng.lib pngtest
36
 
 
37
 
libpng.lib: $(OBJS)
38
 
-$(RM) libpng.lib
39
 
$(AR) libpng.lib r $(OBJS)
40
 
 
41
 
pngtest: pngtest.o libpng.lib
42
 
$(LN) <WITH <
43
 
$(LDFLAGS)
44
 
TO pngtest
45
 
FROM LIB:c.o pngtest.o
46
 
LIB $(LDLIBS)
47
 
<
48