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

« back to all changes in this revision

Viewing changes to libpng/scripts/makefile.nommx

  • 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:
7
7
# Library name:
8
8
LIBNAME = libpng12
9
9
PNGMAJ = 0
10
 
PNGMIN = 1.2.18
 
10
PNGMIN = 1.2.22
11
11
PNGVER = $(PNGMAJ).$(PNGMIN)
12
12
 
13
13
# Shared library names:
48
48
 
49
49
# for pgcc version 2.95.1, -O3 is buggy; don't use it.
50
50
 
51
 
CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops \
52
 
        -DPNG_NO_MMX_CODE \
 
51
CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE \
53
52
        $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
54
53
 
55
54
LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm
93
92
        $(RANLIB) $@
94
93
 
95
94
libpng.pc:
96
 
        cat scripts/libpng.pc.in | sed -e s!@PREFIX@!$(prefix)! \
97
 
        | sed -e "s!Cflags: !Cflags: -DPNG_NO_MMX_CODE !"> libpng.pc
 
95
        cat scripts/libpng.pc.in | sed -e s!@prefix@!$(prefix)! \
 
96
        -e s!@exec_prefix@!$(exec_prefix)! \
 
97
        -e s!@libdir@!$(LIBPATH)! \
 
98
        -e s!@includedir@!$(INCPATH)! \
 
99
        -e s!@includedir@!$(INCPATH)! \
 
100
        -e s!-lpng12!-lpng12\ -lz\ -lm! \
 
101
        -e s!Cflags: !Cflags:\ -DPNG_NO_MMX_CODE!> libpng.pc
98
102
 
99
103
libpng-config:
100
104
        ( cat scripts/libpng-config-head.in; \