~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to libpng/contrib/pngminim/decoder/makefile.std

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for PngMinus (pngm2pnm)
 
2
# Linux / Unix
 
3
 
 
4
#CC=cc
 
5
CC=gcc
 
6
LD=$(CC)
 
7
 
 
8
RM=rm -f
 
9
 
 
10
CFLAGS=-DPNG_USER_CONFIG -DNO_GZCOMPRESS -DNO_GZIP \
 
11
       -DdeflateParams\(a,b,c\)=Z_OK -I. -O1
 
12
 
 
13
C=.c
 
14
O=.o
 
15
L=.a
 
16
E=
 
17
 
 
18
ZOBJS  = adler32$(O) crc32$(O) gzio$(O) \
 
19
         infback$(O) inffast$(O) inflate$(O) inftrees$(O) \
 
20
         trees$(O) uncompr$(O) zutil$(O)
 
21
 
 
22
OBJS  = pngm2pnm$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \
 
23
        pngpread$(O) pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) \
 
24
        pngset$(O) pngtrans$(O)  $(ZOBJS)
 
25
 
 
26
# implicit make rules -------------------------------------------------------
 
27
 
 
28
.c$(O): png.h pngconf.h pngusr.h zlib.h
 
29
        $(CC) -c $(CFLAGS) $<
 
30
 
 
31
# dependencies
 
32
 
 
33
all: pngm2pnm$(E)
 
34
 
 
35
pngm2pnm$(E): $(OBJS)
 
36
        $(LD) -o pngm2pnm$(E) $(OBJS)
 
37
        strip pngm2pnm$(E)
 
38
 
 
39
clean:
 
40
        $(RM) pngm2pnm$(O)
 
41
        $(RM) pngm2pnm$(E)
 
42
        $(RM) $(OBJS)
 
43
 
 
44
# End of makefile for pngm2pnm