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

« back to all changes in this revision

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

  • 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
 
# Makefile for libpng (static)
2
 
# IBM C version 3.x for Win32 and OS/2
3
 
# Copyright (C) 2000 Cosmin Truta
4
 
# For conditions of distribution and use, see copyright notice in png.h
5
 
# Notes:
6
 
#   Derived from makefile.std
7
 
#   All modules are compiled in C mode
8
 
#   Tested under Win32, expected to work under OS/2
9
 
#   Can be easily adapted for IBM VisualAge/C++ for AIX
10
 
 
11
 
# Location of the zlib library and include files
12
 
ZLIBINC = ../zlib
13
 
ZLIBLIB = ../zlib
14
 
 
15
 
# Compiler, linker, lib and other tools
16
 
CC = icc
17
 
LD = ilink
18
 
AR = ilib
19
 
RM = del
20
 
 
21
 
CFLAGS = -I$(ZLIBINC) -Mc -O2 -W3
22
 
LDFLAGS =
23
 
 
24
 
# File extensions
25
 
O=.obj
26
 
A=.lib
27
 
E=.exe
28
 
 
29
 
# Variables
30
 
OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \
31
 
        pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \
32
 
        pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O)
33
 
 
34
 
LIBS = libpng$(A) $(ZLIBLIB)/zlib$(A)
35
 
 
36
 
# Targets
37
 
all: libpng$(A) pngtest$(E)
38
 
 
39
 
libpng$(A): $(OBJS)
40
 
        $(AR) -out:$@ $(OBJS)
41
 
 
42
 
test: pngtest$(E)
43
 
        pngtest$(E)
44
 
 
45
 
pngtest: pngtest$(E)
46
 
 
47
 
pngtest$(E): pngtest$(O) libpng$(A)
48
 
        $(LD) $(LDFLAGS) pngtest$(O) $(LIBS)
49
 
 
50
 
clean:
51
 
        $(RM) *$(O)
52
 
        $(RM) libpng$(A)
53
 
        $(RM) pngtest$(E)
54
 
        $(RM) pngout.png
55
 
 
56
 
png$(O): png.h pngconf.h
57
 
pngerror$(O): png.h pngconf.h
58
 
pngget$(O): png.h pngconf.h
59
 
pngmem$(O): png.h pngconf.h
60
 
pngpread$(O): png.h pngconf.h
61
 
pngread$(O): png.h pngconf.h
62
 
pngrio$(O): png.h pngconf.h
63
 
pngrtran$(O): png.h pngconf.h
64
 
pngrutil$(O): png.h pngconf.h
65
 
pngset$(O): png.h pngconf.h
66
 
pngtest$(O): png.h pngconf.h
67
 
pngtrans$(O): png.h pngconf.h
68
 
pngwio$(O): png.h pngconf.h
69
 
pngwrite$(O): png.h pngconf.h
70
 
pngwtran$(O): png.h pngconf.h
71
 
pngwutil$(O): png.h pngconf.h