~ubuntu-branches/ubuntu/lucid/perl-tk/lucid

« back to all changes in this revision

Viewing changes to PNG/zlib/amiga/Makefile.pup

  • Committer: Bazaar Package Importer
  • Author(s): Colin Tuckley
  • Date: 2008-02-15 13:56:59 UTC
  • mfrom: (1.1.3 upstream) (4.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080215135659-ru2oqlykuju20fav
Tags: 1:804.028-1
* New Upstream Release (Closes: #463080).
* Update to Debhelper v5.
* Build with XFT=1 (Closes: #411129).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# makefile for libpng and SAS C V6.58/7.00 PPC compiler
3
3
# Copyright (C) 1998 by Andreas R. Kleinert
4
4
 
5
 
CC       = scppc
6
 
CFLAGS   = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
7
 
           OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
8
 
LIBNAME  = libzip.a
9
 
AR       = ppc-amigaos-ar
10
 
AR_FLAGS = cr
11
 
RANLIB   = ppc-amigaos-ranlib
12
 
LDFLAGS  = -r -o
13
 
LDLIBS   = LIB:scppc.a
14
 
LN       = ppc-amigaos-ld
15
 
RM       = delete quiet
 
5
LIBNAME = libzip.a
 
6
 
 
7
CC      = scppc
 
8
CFLAGS  = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
 
9
          OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 NOVER
 
10
AR      = ppc-amigaos-ar cr
 
11
RANLIB  = ppc-amigaos-ranlib
 
12
LD      = ppc-amigaos-ld -r
 
13
LDFLAGS = -o
 
14
LDLIBS  = LIB:scppc.a LIB:end.o
 
15
RM      = delete quiet
16
16
 
17
17
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
18
 
       zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
 
18
       zutil.o inflate.o infback.o inftrees.o inffast.o
19
19
 
20
20
TEST_OBJS = example.o minigzip.o
21
21
 
22
22
all: example minigzip
23
23
 
 
24
check: test
24
25
test: all
25
 
        example
26
 
        echo hello world | minigzip | minigzip -d
 
26
        example
 
27
        echo hello world | minigzip | minigzip -d
27
28
 
28
29
$(LIBNAME): $(OBJS)
29
 
            $(AR) $(AR_FLAGS) $@ $(OBJS)
30
 
            $(RANLIB) $@
 
30
        $(AR) $@ $(OBJS)
 
31
        -$(RANLIB) $@
31
32
 
32
33
example: example.o $(LIBNAME)
33
 
        $(LN) $(LDFLAGS) example LIB:c_ppc.o example.o $(LIBNAME) $(LDLIBS) LIB:end.o
 
34
        $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
34
35
 
35
36
minigzip: minigzip.o $(LIBNAME)
36
 
        $(LN) $(LDFLAGS) minigzip LIB:c_ppc.o minigzip.o $(LIBNAME) $(LDLIBS) LIB:end.o
 
37
        $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
37
38
 
 
39
mostlyclean: clean
38
40
clean:
39
 
        $(RM) *.o example minigzip $(LIBNAME) foo.gz
 
41
        $(RM) *.o example minigzip $(LIBNAME) foo.gz
40
42
 
41
43
zip:
42
 
        zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
43
 
          descrip.mms *.[ch]
 
44
        zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
 
45
          descrip.mms *.[ch]
44
46
 
45
47
tgz:
46
 
        cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
47
 
          zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
 
48
        cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
 
49
          zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
48
50
 
49
51
# DO NOT DELETE THIS LINE -- make depend depends on it.
50
52
 
51
 
adler32.o: zutil.h zlib.h zconf.h
 
53
adler32.o: zlib.h zconf.h
52
54
compress.o: zlib.h zconf.h
53
 
crc32.o: zutil.h zlib.h zconf.h
 
55
crc32.o: crc32.h zlib.h zconf.h
54
56
deflate.o: deflate.h zutil.h zlib.h zconf.h
55
57
example.o: zlib.h zconf.h
56
58
gzio.o: zutil.h zlib.h zconf.h
57
 
infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
58
 
infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
59
 
inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
60
 
inflate.o: zutil.h zlib.h zconf.h infblock.h
 
59
inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
 
60
inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
 
61
infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
61
62
inftrees.o: zutil.h zlib.h zconf.h inftrees.h
62
 
infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h
63
63
minigzip.o: zlib.h zconf.h
64
 
trees.o: deflate.h zutil.h zlib.h zconf.h
 
64
trees.o: deflate.h zutil.h zlib.h zconf.h trees.h
65
65
uncompr.o: zlib.h zconf.h
66
66
zutil.o: zutil.h zlib.h zconf.h