~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/libs/libpng/libpng-1.2.40/scripts/makefile.dj2

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DJGPP (DOS gcc) makefile for libpng
 
2
# Copyright (C) 2002, 2006, 2009 Glenn Randers-Pehrson
 
3
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
 
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
 
8
 
 
9
# where make install will put libpng.a and png.h
 
10
#prefix=/usr/local
 
11
prefix=.
 
12
INCPATH=$(prefix)/include
 
13
LIBPATH=$(prefix)/lib
 
14
 
 
15
CC=gcc
 
16
CFLAGS=-I../zlib -O
 
17
LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
 
18
 
 
19
RANLIB=ranlib
 
20
 
 
21
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
 
22
        pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \
 
23
        pngmem.o pngerror.o pngpread.o
 
24
 
 
25
all: libpng.a pngtest
 
26
 
 
27
libpng.a: $(OBJS)
 
28
        ar rc $@  $(OBJS)
 
29
        $(RANLIB) $@
 
30
 
 
31
pngtest: pngtest.o libpng.a
 
32
        $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
 
33
        coff2exe pngtest
 
34
 
 
35
test: pngtest
 
36
        ./pngtest
 
37
clean:
 
38
        rm -f *.o libpng.a pngtest pngout.png
 
39
 
 
40
# DO NOT DELETE THIS LINE -- make depend depends on it.
 
41
 
 
42
png.o: png.h pngconf.h
 
43
pngerror.o: png.h pngconf.h
 
44
pngrio.o: png.h pngconf.h
 
45
pngwio.o: png.h pngconf.h
 
46
pngmem.o: png.h pngconf.h
 
47
pngset.o: png.h pngconf.h
 
48
pngget.o: png.h pngconf.h
 
49
pngread.o: png.h pngconf.h
 
50
pngpread.o: png.h pngconf.h
 
51
pngrtran.o: png.h pngconf.h
 
52
pngrutil.o: png.h pngconf.h
 
53
pngtrans.o: png.h pngconf.h
 
54
pngwrite.o: png.h pngconf.h
 
55
pngwtran.o: png.h pngconf.h
 
56
pngwutil.o: png.h pngconf.h
 
57
 
 
58
pngtest.o: png.h pngconf.h