~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to gdchart0.94c/gd-1.8.3/libpng-1.0.8/scripts/makefile.sunos

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# makefile for libpng
2
 
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
3
 
# For conditions of distribution and use, see copyright notice in png.h
4
 
 
5
 
# where make install puts libpng.a and png.h
6
 
prefix=/usr/local
7
 
 
8
 
# Where the zlib library and include files are located
9
 
#ZLIBLIB=/usr/local/lib
10
 
#ZLIBINC=/usr/local/include
11
 
ZLIBLIB=../zlib
12
 
ZLIBINC=../zlib
13
 
 
14
 
 
15
 
WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow -Wconversion \
16
 
        -Wmissing-declarations -Wtraditional -Wcast-align \
17
 
        -Wstrict-prototypes -Wmissing-prototypes
18
 
CC=gcc
19
 
CFLAGS=-I$(ZLIBINC) -O # $(WARNMORE) -DPNG_DEBUG=5
20
 
LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm
21
 
 
22
 
RANLIB=ranlib
23
 
#RANLIB=echo
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
 
all: libpng.a pngtest
30
 
 
31
 
libpng.a: $(OBJS)
32
 
        ar rc $@  $(OBJS)
33
 
        $(RANLIB) $@
34
 
 
35
 
pngtest: pngtest.o libpng.a
36
 
        $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
37
 
 
38
 
test: pngtest
39
 
        ./pngtest
40
 
 
41
 
install: libpng.a
42
 
        -@mkdir $(prefix)/include
43
 
        -@mkdir $(prefix)/lib
44
 
        cp png.h $(prefix)/include
45
 
        cp pngconf.h $(prefix)/include
46
 
        chmod 644 $(prefix)/include/png.h
47
 
        chmod 644 $(prefix)/include/pngconf.h
48
 
        cp libpng.a $(prefix)/lib
49
 
        chmod 644 $(prefix)/lib/libpng.a
50
 
 
51
 
clean:
52
 
        rm -f *.o libpng.a pngtest pngout.png
53
 
 
54
 
DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
55
 
writelock:
56
 
        chmod a-w *.[ch35] $(DOCS) scripts/*
57
 
 
58
 
# DO NOT DELETE THIS LINE -- make depend depends on it.
59
 
 
60
 
png.o: png.h pngconf.h
61
 
pngerror.o: png.h pngconf.h
62
 
pngrio.o: png.h pngconf.h
63
 
pngwio.o: png.h pngconf.h
64
 
pngmem.o: png.h pngconf.h
65
 
pngset.o: png.h pngconf.h
66
 
pngget.o: png.h pngconf.h
67
 
pngread.o: png.h pngconf.h
68
 
pngrtran.o: png.h pngconf.h
69
 
pngrutil.o: png.h pngconf.h
70
 
pngtest.o: png.h pngconf.h
71
 
pngtrans.o: png.h pngconf.h
72
 
pngwrite.o: png.h pngconf.h
73
 
pngwtran.o: png.h pngconf.h
74
 
pngwutil.o: png.h pngconf.h
75
 
pngpread.o: png.h pngconf.h
76