~ubuntu-branches/ubuntu/wily/ntop/wily-proposed

« 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): Dennis Schoen
  • Date: 2002-04-12 11:38:47 UTC
  • Revision ID: james.westby@ubuntu.com-20020412113847-4k4yydw0pzybc6g8
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

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