~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.atari

  • 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
 
# modified for LC56/ATARI assumes libz.lib is in same dir and uses default
5
 
# rules for library management
6
 
#
7
 
CFLAGS=-I..\zlib -O
8
 
LBR = png.lib
9
 
LDFLAGS=-lpng -lz -lm
10
 
 
11
 
# where make install puts libpng.a and png.h
12
 
prefix=/usr/local
13
 
 
14
 
OBJS = $(LBR)(png.o) $(LBR)(pngset.o) $(LBR)(pngget.o) $(LBR)(pngrutil.o)\
15
 
        $(LBR)(pngtrans.o) $(LBR)(pngwutil.o)\
16
 
        $(LBR)(pngread.o) $(LBR)(pngerror.o) $(LBR)(pngwrite.o)\
17
 
        $(LBR)(pngrtran.o) $(LBR)(pngwtran.o)\
18
 
        $(LBR)(pngmem.o) $(LBR)(pngrio.o) $(LBR)(pngwio.o) $(LBR)(pngpread.o)
19
 
 
20
 
all: $(LBR) pngtest.ttp
21
 
 
22
 
$(LBR): $(OBJS)
23
 
 
24
 
pngtest.ttp: pngtest.o $(LBR)
25
 
        $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o
26
 
 
27
 
install: libpng.a
28
 
        -@mkdir $(prefix)/include
29
 
        -@mkdir $(prefix)/lib
30
 
        cp png.h $(prefix)/include
31
 
        cp pngconf.h $(prefix)/include
32
 
        chmod 644 $(prefix)/include/png.h
33
 
        chmod 644 $(prefix)/include/pngconf.h