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

« back to all changes in this revision

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

  • 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 on OS/2 with gcc
2
 
# For conditions of distribution and use, see copyright notice in png.h
3
 
 
4
 
# Related files: pngos2.def
5
 
 
6
 
CC=gcc -Zomf -s
7
 
 
8
 
# Where the zlib library and include files are located
9
 
ZLIBLIB=../zlib
10
 
ZLIBINC=../zlib
11
 
 
12
 
WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \
13
 
        -Wmissing-declarations -Wtraditional -Wcast-align \
14
 
        -Wstrict-prototypes -Wmissing-prototypes #-Wconversion
15
 
CFLAGS=-I$(ZLIBINC) -Wall -O6 -funroll-loops -malign-loops=2 \
16
 
        -malign-functions=2 #$(WARNMORE) -g -DPNG_DEBUG=5
17
 
LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lzdll -Zcrtdll
18
 
AR=emxomfar
19
 
 
20
 
PNGLIB=png.lib
21
 
IMPLIB=emximp
22
 
SHAREDLIB=png.dll
23
 
SHAREDLIBIMP=pngdll.lib
24
 
 
25
 
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
26
 
        pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
27
 
        pngwtran.o pngmem.o pngerror.o pngpread.o
28
 
 
29
 
.SUFFIXES:      .c .o
30
 
 
31
 
all: $(PNGLIB) $(SHAREDLIB) $(SHAREDLIBIMP)
32
 
 
33
 
$(PNGLIB): $(OBJS)
34
 
        $(AR) rc $@ $(OBJS)
35
 
 
36
 
$(SHAREDLIB): $(OBJS) pngos2.def
37
 
        $(CC) $(LDFLAGS) -Zdll -o $@ $^
38
 
 
39
 
$(SHAREDLIBIMP): pngos2.def
40
 
        $(IMPLIB) -o $@ $^
41
 
 
42
 
pngtest.exe: pngtest.o png.dll pngdll.lib
43
 
        $(CC) -o $@ $(CFLAGS) $< $(LDFLAGS)
44
 
 
45
 
test: pngtest.exe
46
 
        ./pngtest.exe
47
 
 
48
 
clean:
49
 
        rm -f *.o $(PNGLIB) png.dll pngdll.lib pngtest.exe pngout.png
50
 
 
51
 
# DO NOT DELETE THIS LINE -- make depend depends on it.
52
 
 
53
 
png.o png.pic.o: png.h pngconf.h
54
 
pngerror.o pngerror.pic.o: png.h pngconf.h
55
 
pngrio.o pngrio.pic.o: png.h pngconf.h
56
 
pngwio.o pngwio.pic.o: png.h pngconf.h
57
 
pngmem.o pngmem.pic.o: png.h pngconf.h
58
 
pngset.o pngset.pic.o: png.h pngconf.h
59
 
pngget.o pngget.pic.o: png.h pngconf.h
60
 
pngread.o pngread.pic.o: png.h pngconf.h
61
 
pngrtran.o pngrtran.pic.o: png.h pngconf.h
62
 
pngrutil.o pngrutil.pic.o: png.h pngconf.h
63
 
pngtrans.o pngtrans.pic.o: png.h pngconf.h
64
 
pngwrite.o pngwrite.pic.o: png.h pngconf.h
65
 
pngwtran.o pngwtran.pic.o: png.h pngconf.h
66
 
pngwutil.o pngwutil.pic.o: png.h pngconf.h
67
 
pngpread.o pngpread.pic.o: png.h pngconf.h
68
 
 
69
 
pngtest.o: png.h pngconf.h