~ubuntu-branches/ubuntu/karmic/unzip/karmic

« back to all changes in this revision

Viewing changes to atari/Makefile

  • 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
2
# Makefile for UnZip, UnZipSFX and fUnZip:  Atari           ("real" makes only)
3
 
# Version:  5.5                                                13 February 2001
 
3
# Version:  5.53                                               25 December 2006
4
4
#==============================================================================
5
5
 
6
6
 
54
54
SHELL = /bin/sh
55
55
 
56
56
# object files
57
 
OBJS1 = unzip$O crc32$O crctab$O crypt$O envargs$O explode$O
 
57
OBJS1 = unzip$O crc32$O crypt$O envargs$O explode$O
58
58
OBJS2 = extract$O fileio$O globals$O inflate$O list$O match$O
59
 
OBJS3 = process$O ttyio$O unreduce$O unshrink$O zipinfo$O
 
59
OBJS3 = process$O ttyio$O ubz2err$O unreduce$O unshrink$O zipinfo$O
60
60
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $M$O
61
61
LOBJS = $(OBJS)
62
62
OBJSDLL = $(OBJS) api$O
63
 
OBJX = unzipsfx$O crc32$O crctab_$O crypt_$O extract_$O fileio_$O \
64
 
        globals_$O inflate_$O match_$O process_$O ttyio_$O $M_$O
 
63
OBJX = unzipsfx$O crc32$O crypt_$O extract_$O fileio_$O \
 
64
        globals_$O inflate_$O match_$O process_$O ttyio_$O ubz2err_$O $M_$O
65
65
LOBJX = $(OBJX)
66
66
OBJF = funzip$O crc32$O cryptf$O globalsf$O inflatef$O ttyiof$O
67
67
#OBJS_OS2 = $(OBJS1:.o=.obj) $(OBJS2:.o=.obj) os2.obj
125
125
        $(LD) $(FL) $(OBJF) $(FL2)
126
126
 
127
127
 
128
 
crc32$O:        crc32.c $(UNZIP_H) zip.h
129
 
crctab$O:       crctab.c $(UNZIP_H) zip.h
130
 
crypt$O:        crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h
 
128
crc32$O:        crc32.c $(UNZIP_H) zip.h crc32.h
 
129
crypt$O:        crypt.c $(UNZIP_H) zip.h crypt.h crc32.h ttyio.h
131
130
envargs$O:      envargs.c $(UNZIP_H)
132
131
explode$O:      explode.c $(UNZIP_H)
133
 
extract$O:      extract.c $(UNZIP_H) crypt.h
134
 
fileio$O:       fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.h
135
 
funzip$O:       funzip.c $(UNZIP_H) crypt.h ttyio.h tables.h
 
132
extract$O:      extract.c $(UNZIP_H) crc32.h crypt.h
 
133
fileio$O:       fileio.c $(UNZIP_H) crc32.h crypt.h ttyio.h ebcdic.h
 
134
funzip$O:       funzip.c $(UNZIP_H) crc32.h crypt.h ttyio.h
136
135
globals$O:      globals.c $(UNZIP_H)
137
136
inflate$O:      inflate.c inflate.h $(UNZIP_H)
138
137
list$O:         list.c $(UNZIP_H)
139
138
match$O:        match.c $(UNZIP_H)
140
 
process$O:      process.c $(UNZIP_H)
 
139
process$O:      process.c $(UNZIP_H) crc32.h
141
140
ttyio$O:        ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h
 
141
ubz2err$O:      ubz2err.c $(UNZIP_H)
142
142
unreduce$O:     unreduce.c $(UNZIP_H)
143
143
unshrink$O:     unshrink.c $(UNZIP_H)
144
144
unzip$O:        unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h
145
145
zipinfo$O:      zipinfo.c $(UNZIP_H)
146
146
 
147
 
crctab_$O:      crctab.c $(UNZIP_H) zip.h                       # unzipsfx only
148
 
        $(CP) crctab.c crctab_.c
149
 
        $(CC) -c $(CF) -DSFX crctab_.c
150
 
        $(RM) crctab_.c
151
 
 
152
 
crypt_$O:       crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h        # unzipsfx only
 
147
# unzipsfx only
 
148
crypt_$O:       crypt.c $(UNZIP_H) zip.h crypt.h crc32.h ttyio.h
153
149
        $(CP) crypt.c crypt_.c
154
150
        $(CC) -c $(CF) -DSFX crypt_.c
155
151
        $(RM) crypt_.c
156
152
 
157
 
extract_$O:     extract.c $(UNZIP_H) crypt.h                    # unzipsfx only
 
153
extract_$O:     extract.c $(UNZIP_H) crc32.h crypt.h
158
154
        $(CP) extract.c extract_.c
159
155
        $(CC) -c $(CF) -DSFX extract_.c
160
156
        $(RM) extract_.c
161
157
 
162
 
fileio_$O:      fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.h    # unzipsfx only
 
158
fileio_$O:      fileio.c $(UNZIP_H) crc32.h crypt.h ttyio.h ebcdic.h
163
159
        $(CP) fileio.c fileio_.c
164
160
        $(CC) -c $(CF) -DSFX fileio_.c
165
161
        $(RM) fileio_.c
166
162
 
167
 
globals_$O:     globals.c $(UNZIP_H)                            # unzipsfx only
 
163
globals_$O:     globals.c $(UNZIP_H)
168
164
        $(CP) globals.c globals_.c
169
165
        $(CC) -c $(CF) -DSFX globals_.c
170
166
        $(RM) globals_.c
171
167
 
172
 
inflate_$O:     inflate.c inflate.h $(UNZIP_H) crypt.h          # unzipsfx only
 
168
inflate_$O:     inflate.c inflate.h $(UNZIP_H) crypt.h
173
169
        $(CP) inflate.c inflate_.c
174
170
        $(CC) -c $(CF) -DSFX inflate_.c
175
171
        $(RM) inflate_.c
176
172
 
177
 
process_$O:     process.c $(UNZIP_H)                            # unzipsfx only
 
173
match_$O:       match.c $(UNZIP_H)
 
174
        $(CP) match.c match_.c
 
175
        $(CC) -c $(CF) -DSFX match_.c
 
176
        $(RM) match_.c
 
177
 
 
178
process_$O:     process.c $(UNZIP_H) crc32.h
178
179
        $(CP) process.c process_.c
179
180
        $(CC) -c $(CF) -DSFX process_.c
180
181
        $(RM) process_.c
181
182
 
182
 
match_$O:       match.c $(UNZIP_H)                              # unzipsfx only
183
 
        $(CP) match.c match_.c
184
 
        $(CC) -c $(CF) -DSFX match_.c
185
 
        $(RM) match_.c
186
 
 
187
 
ttyio_$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h        # unzipsfx only
 
183
ttyio_$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h
188
184
        $(CP) ttyio.c ttyio_.c
189
185
        $(CC) -c $(CF) -DSFX ttyio_.c
190
186
        $(RM) ttyio_.c
191
187
 
192
 
unzipsfx$O:     unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h   # unzipsfx only
 
188
ubz2err$O:      ubz2err.c $(UNZIP_H)
 
189
        $(CP) ubz2err.c ubz2err_.c
 
190
        $(CC) -c $(CF) -DSFX ubz2err_.c
 
191
        $(RM) ubz2err_.c
 
192
 
 
193
unzipsfx$O:     unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h
193
194
        $(CP) unzip.c unzipsfx.c
194
195
        $(CC) -c $(CF) -DSFX unzipsfx.c
195
196
        $(RM) unzipsfx.c
196
197
 
197
198
 
198
 
cryptf$O:       crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h        # funzip only
 
199
# funzip only
 
200
cryptf$O:       crypt.c $(UNZIP_H) zip.h crypt.h crc32.h ttyio.h
199
201
        $(CP) crypt.c cryptf.c
200
202
        $(CC) -c $(CF) -DFUNZIP cryptf.c
201
203
        $(RM) cryptf.c
202
204
 
203
 
globalsf$O:     globals.c $(UNZIP_H)                            # funzip only
 
205
globalsf$O:     globals.c $(UNZIP_H)
204
206
        $(CP) globals.c globalsf.c
205
207
        $(CC) -c $(CF) -DFUNZIP globalsf.c
206
208
        $(RM) globalsf.c
207
209
 
208
 
inflatef$O:     inflate.c inflate.h $(UNZIP_H) crypt.h          # funzip only
 
210
inflatef$O:     inflate.c inflate.h $(UNZIP_H) crypt.h
209
211
        $(CP) inflate.c inflatef.c
210
212
        $(CC) -c $(CF) -DFUNZIP inflatef.c
211
213
        $(RM) inflatef.c
212
214
 
213
 
ttyiof$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h        # funzip only
 
215
ttyiof$O:       ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h
214
216
        $(CP) ttyio.c ttyiof.c
215
217
        $(CC) -c $(CF) -DFUNZIP ttyiof.c
216
218
        $(RM) ttyiof.c
217
219
 
 
220
 
 
221
# system-specific code
218
222
atari$O:        atari/atari.c $(UNZIP_H)
219
 
        $(CC) -c $(CF) -DSFX atari/atari.c
 
223
        $(CC) -c $(CF) atari/atari.c
220
224
 
221
225
atari_$O:       atari/atari.c $(UNZIP_H)
222
226
        $(CP) atari/atari.c atari_.c