~ubuntu-branches/ubuntu/quantal/unzip/quantal

« back to all changes in this revision

Viewing changes to atari/Makefile.old

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2009-05-08 20:02:40 UTC
  • mfrom: (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090508200240-rk23wg0jdoyc6caj
Tags: 6.0-1
* New upstream release. Closes: #496989.
* Enabled new Unicode support. Closes: #197427. This may or may not work
  for your already created zipfiles, but it's not a bug unless they were
  created using the Unicode feature present in zip 3.0.
* Built using DATE_FORMAT=DF_YMD so that unzip -l show dates in ISO format,
  as that's the only available one which makes sense. Closes: #312886.
* Enabled new bzip2 support. Closes: #426798.
* Exit code for zipgrep should now be the right one. Closes: #441997.
* The reason why a file may not be created is now shown. Closes: #478791.
* Summary of changes in this version not being the debian/* files:
- Manpages in section 1, not 1L.
- Branding patch. UnZip by Debian. Original by Info-ZIP.
- Always #include <unistd.h>. Debian GNU/kFreeBSD needs it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#==============================================================================
2
 
# Makefile for UnZip, UnZipSFX & fUnZip:  Atari ST               Chris Herborth
3
 
# Version:  UnZip 5.20+, MiNT, GNU C                           13 February 2001
 
2
# Makefile for UnZip, UnZipSFX and fUnZip:  Atari ST             Chris Herborth
 
3
# Version:  UnZip 5.20+, MiNT, GNU C                           25 December 2006
4
4
#==============================================================================
5
5
 
6
6
# Based on the original unix Makefile and modified by Chris Herborth
49
49
SHELL = /bin/sh
50
50
 
51
51
# object files
52
 
OBJS1 = unzip$O crc32$O crctab$O crypt$O envargs$O explode$O
 
52
OBJS1 = unzip$O crc32$O crypt$O envargs$O explode$O
53
53
OBJS2 = extract$O fileio$O globals$O inflate$O list$O match$O
54
 
OBJS3 = process$O ttyio$O unreduce$O unshrink$O zipinfo$O
 
54
OBJS3 = process$O ttyio$O ubz2err$O unreduce$O unshrink$O zipinfo$O
55
55
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $M$O
56
56
LOBJS = $(OBJS)
57
 
OBJX = unzipsfx$O crc32$O crctab_$O crypt_$O extract_$O fileio_$O \
58
 
        globals_$O inflate_$O match_$O process_$O ttyio_$O $M_$O
 
57
OBJX = unzipsfx$O crc32$O crypt_$O extract_$O fileio_$O \
 
58
        globals_$O inflate_$O match_$O process_$O ttyio_$O ubz2err_$O $M_$O
59
59
OBJF = funzip$O crc32$O cryptf$O globalsf$O inflatef$O ttyiof$O
60
60
 
61
61
UNZIP_H = unzip.h unzpriv.h globals.h
126
126
        $(LN) unzip$E zipinfo$E
127
127
 
128
128
 
129
 
crc32$O:        crc32.c $(UNZIP_H) zip.h
130
 
crctab$O:       crctab.c $(UNZIP_H) zip.h
131
 
crypt$O:        crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h
 
129
crc32$O:        crc32.c $(UNZIP_H) zip.h crc32.h
 
130
crypt$O:        crypt.c $(UNZIP_H) zip.h crypt.h crc32.h ttyio.h
132
131
envargs$O:      envargs.c $(UNZIP_H)
133
132
explode$O:      explode.c $(UNZIP_H)
134
 
extract$O:      extract.c $(UNZIP_H) crypt.h
135
 
fileio$O:       fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.h
136
 
funzip$O:       funzip.c $(UNZIP_H) crypt.h ttyio.h tables.h
 
133
extract$O:      extract.c $(UNZIP_H) crc32.h crypt.h
 
134
fileio$O:       fileio.c $(UNZIP_H) crc32.h crypt.h ttyio.h ebcdic.h
 
135
funzip$O:       funzip.c $(UNZIP_H) crc32.h crypt.h ttyio.h
137
136
globals$O:      globals.c $(UNZIP_H)
138
137
inflate$O:      inflate.c inflate.h $(UNZIP_H)
139
138
list$O:         list.c $(UNZIP_H)
140
139
match$O:        match.c $(UNZIP_H)
141
 
process$O:      process.c $(UNZIP_H)
 
140
process$O:      process.c $(UNZIP_H) crc32.h
142
141
ttyio$O:        ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h
 
142
ubz2err$O:      ubz2err.c $(UNZIP_H)
143
143
unreduce$O:     unreduce.c $(UNZIP_H)
144
144
unshrink$O:     unshrink.c $(UNZIP_H)
145
145
unzip$O:        unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h
146
146
zipinfo$O:      zipinfo.c $(UNZIP_H)
147
147
 
148
 
crctab_$O:      crctab.c $(UNZIP_H) zip.h
149
 
        $(CP) crctab.c crctab_.c
150
 
        $(CC) -c $(CF) $(XC) crctab_.c
151
 
        $(RM) crctab_.c
152
 
 
153
 
crypt_$O:       crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h        # unzipsfx only
 
148
# unzipsfx only
 
149
crypt_$O:       crypt.c $(UNZIP_H) zip.h crypt.h crc32.h ttyio.h
154
150
        $(CP) crypt.c crypt_.c
155
151
        $(CC) -c $(CF) $(XC) crypt_.c
156
152
        $(RM) crypt_.c
157
153
 
158
 
extract_$O:     extract.c $(UNZIP_H) crypt.h                    # unzipsfx only
 
154
extract_$O:     extract.c $(UNZIP_H) crc32.h crypt.h
159
155
        $(CP) extract.c extract_.c
160
156
        $(CC) -c $(CF) $(XC) extract_.c
161
157
        $(RM) extract_.c
162
158
 
163
 
fileio_$O:      fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.h
 
159
fileio_$O:      fileio.c $(UNZIP_H) crc32.h crypt.h ttyio.h ebcdic.h
164
160
        $(CP) fileio.c fileio_.c
165
161
        $(CC) -c $(CF) $(XC) fileio_.c
166
162
        $(RM) fileio_.c
170
166
        $(CC) -c $(CF) $(XC) globals_.c
171
167
        $(RM) globals_.c
172
168
 
173
 
inflate_$O:     inflate.c inflate.h $(UNZIP_H) crypt.h          # unzipsfx only
 
169
inflate_$O:     inflate.c inflate.h $(UNZIP_H) crypt.h
174
170
        $(CP) inflate.c inflate_.c
175
171
        $(CC) -c $(CF) $(XC) inflate_.c
176
172
        $(RM) inflate_.c
180
176
        $(CC) -c $(CF) $(XC) match_.c
181
177
        $(RM) match_.c
182
178
 
183
 
process_$O:     process.c $(UNZIP_H)                            # unzipsfx only
 
179
process_$O:     process.c $(UNZIP_H) crc32.h
184
180
        $(CP) process.c process_.c
185
181
        $(CC) -c $(CF) $(XC) process_.c
186
182
        $(RM) process_.c
187
183
 
188
 
ttyio_$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h        # unzipsfx only
 
184
ttyio_$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h
189
185
        $(CP) ttyio.c ttyio_.c
190
186
        $(CC) -c $(CF) $(XC) ttyio_.c
191
187
        $(RM) ttyio_.c
192
188
 
193
 
unzipsfx$O:     unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h   # unzipsfx only
 
189
ubz2err_$O:     ubz2err.c $(UNZIP_H)
 
190
        $(CP) ubz2err.c ubz2err_.c
 
191
        $(CC) -c $(CF) $(XC) ubz2err_.c
 
192
        $(RM) ubz2err_.c
 
193
 
 
194
unzipsfx$O:     unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h
194
195
        $(CP) unzip.c unzip_.c
195
196
        $(CC) -c $(CF) $(XC) unzip_.c
196
197
        $(RM) unzip_.c
197
198
 
198
199
 
199
 
cryptf$O:       crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h        # funzip only
 
200
# funzip only
 
201
cryptf$O:       crypt.c $(UNZIP_H) zip.h crypt.h crc32.h ttyio.h
200
202
        $(CP) crypt.c cryptf.c
201
203
        $(CC) -c $(CF) $(FC) cryptf.c
202
204
        $(RM) cryptf.c
203
205
 
204
 
globalsf$O:     globals.c $(UNZIP_H)                            # funzip only
 
206
globalsf$O:     globals.c $(UNZIP_H)
205
207
        $(CP) globals.c globalsf.c
206
208
        $(CC) -c $(CF) $(FC) globalsf.c
207
209
        $(RM) globalsf.c
208
210
 
209
 
inflatef$O:     inflate.c inflate.h $(UNZIP_H) crypt.h          # funzip only
 
211
inflatef$O:     inflate.c inflate.h $(UNZIP_H) crypt.h
210
212
        $(CP) inflate.c inflatef.c
211
213
        $(CC) -c $(CF) $(FC) inflatef.c
212
214
        $(RM) inflatef.c
213
215
 
214
 
ttyiof$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h        # funzip only
 
216
ttyiof$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h
215
217
        $(CP) ttyio.c ttyiof.c
216
218
        $(CC) -c $(CF) $(FC) ttyiof.c
217
219
        $(RM) ttyiof.c
218
220
 
219
 
# atari$O:      atari/atari.c $(UNZIP_H)                # Atari only
220
 
#       $(CC) -c $(CF) atari/atari.c
221
 
 
222
 
atari$O:        atari.c $(UNZIP_H)
223
 
 
224
 
atari_$O:       atari.c $(UNZIP_H)                      # unzipsfx only
225
 
        $(CP) atari.c atari_.c
 
221
 
 
222
# system-specific code
 
223
atari$O:        atari/atari.c $(UNZIP_H)                # Atari only
 
224
        $(CC) -c $(CF) atari/atari.c
 
225
 
 
226
atari_$O:       atari/atari.c $(UNZIP_H)                # unzipsfx only
 
227
        $(CP) atari/atari.c atari_.c
226
228
        $(CC) -c $(CF) $(XC) atari_.c
227
229
        $(RM) atari_.c