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

« back to all changes in this revision

Viewing changes to PNG/libpng/scripts/makefile.bc32

  • 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:
17
17
LD=bcc32
18
18
LIB=tlib
19
19
 
20
 
#TARGET_CPU=6
21
 
# 3 = 386, 4 = 486, 5 = Pentium etc.
 
20
# -3 = 386, -4 = 486, -5 = Pentium etc.
22
21
!ifndef TARGET_CPU
23
 
TARGET_CPU=5
 
22
#TARGET_CPU=-6
24
23
!endif
25
24
 
26
25
# Use this if you don't want Borland's fancy exception handling
27
 
NOEHLIB=noeh32.lib
 
26
# (Caution: doesn't work with CBuilderX)
 
27
#NOEHLIB=noeh32.lib
28
28
 
29
29
!ifdef DEBUG
30
30
CDEBUG=-v
40
40
LDEBUG=$(LDEBUG) -N
41
41
!endif
42
42
 
43
 
# -X- turn on dependency generation in the object file
44
 
# -w  set all warnings on
45
43
# -O2 optimize for speed
46
 
# -Z  global optimization
47
 
CFLAGS=-O2 -Z -X- -w -I$(ZLIB_DIR) -$(TARGET_CPU) $(CDEBUG)
 
44
# -d  merge duplicate strings
 
45
# -k- turn off standard stack frame
 
46
# -w  display all warnings
 
47
CFLAGS=-I$(ZLIB_DIR) -O2 -d -k- -w $(TARGET_CPU) $(CDEBUG)
48
48
 
49
49
# -M  generate map file
50
 
LDFLAGS=-M -L$(ZLIB_DIR) $(LDEBUG)
 
50
LDFLAGS=-L$(ZLIB_DIR) -M $(LDEBUG)
51
51
 
52
52
 
53
53
## Variables
138
138
|
139
139
 
140
140
 
141
 
# Clean up anything else you want
 
141
# Cleanup
142
142
clean:
143
143
        -del *.obj
144
 
        -del *.exe
145
 
        -del *.lib
 
144
        -del $(LIBNAME)
 
145
        -del pngtest.exe
146
146
        -del *.lst
147
147
        -del *.map
148
148
        -del *.tds
 
149
        -del pngout.png
149
150
 
150
151
 
151
152
# End of makefile for libpng