1
# Makefile for the RISC OS version of GnuPG
7
LIBLDAP=^.^.openldap-2/0/18
8
CC_FLAGS=-Wpc -apcs 3/26bit/fpe2 -throwback -Otime -IUnix:,include,mpi,intl,zlib,$(LIBLDAP).include -JUnix: -D__riscos__ -DHAVE_CONFIG_H -DNO_ASM -UIS_MODULE -DVERSION="\"$(GnuPG$Version)\"" $(GnuPG$DevDefine)
9
AS_FLAGS=-apcs 3/26bit -throwback -predefine "ARMv4 SETA 0"
10
LD_FLAGS=Unix:o.unixlib
11
CIPHER_OBJS=cipher.o.blowfish \
32
GETTEXT_OBJS=intl.o.bindtextdom \
43
MPI_OBJS=mpi.o.mpi-add \
60
UTIL_OBJS=util.o.argparse \
74
ZLIB_OBJS=zlib.o.adler32 \
87
G10_OBJS=g10.o.armor \
138
GPGV_OBJS=g10.o.armor \
185
GPGKEYS_OBJS=util.o.riscos \
197
$(CC) $(CC_FLAGS) $(DEPEND) -c -o $@ $<
200
$(AS) $(AS_FLAGS) $(DEPEND) $< $@
202
# Static dependencies:
205
@echo Use one of the following as target:
206
@echo | dev to build the development version
207
@echo | dist to build the distribution with all archives
208
@echo All other targets are internal and shouldn't be used!
210
cipher.cipher: $(CIPHER_OBJS)
211
$(LINK) -aof $(CIPHER_OBJS) -o cipher.cipher
213
intl.gettext: $(GETTEXT_OBJS)
214
$(LINK) -aof $(GETTEXT_OBJS) -o intl.gettext
217
$(LINK) -aof $(MPI_OBJS) -o mpi.mpi
219
tools.gpgsplit: tools.o.gpgsplit util.util intl.gettext zlib.zlib
220
$(LINK) $(LD_FLAGS) tools.o.gpgsplit util.util intl.gettext zlib.zlib -o tools.gpgsplit
221
-squeeze tools.gpgsplit
222
-copy tools.gpgsplit ADFS::A5.$.tmp.!GnuPG.gpgsplit ~CF~V
224
keyserver.gpgkeys_ldap: keyserver.o.gpgkeys_ldap $(GPGKEYS_OBJS) $(LIBLDAP).libraries.libldap.libldap
225
$(LINK) $(LD_FLAGS) keyserver.o.gpgkeys_ldap $(GPGKEYS_OBJS) $(LIBLDAP).libraries.libldap.libldap -o keyserver.gpgkeys_ldap
226
-squeeze keyserver.gpgkeys_ldap
227
-copy keyserver.gpgkeys_ldap ADFS::A5.$.tmp.!GnuPG.gpgkeys_ldap ~CF~V
229
riscos.jpegview.jpegview:
234
util.util: $(UTIL_OBJS)
235
$(LINK) -aof $(UTIL_OBJS) -o util.util
237
zlib.zlib: $(ZLIB_OBJS)
238
$(LINK) -aof zlib.o.* -o zlib.zlib
240
g10.gpg: $(G10_OBJS) cipher.o.idea cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib BUILD
241
$(LINK) $(G10_OBJS) $(LD_FLAGS) cipher.o.idea cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib -o g10.gpg
242
-copy g10.gpg ADFS::A5.$.tmp.!GnuPG.gpg ~CFR~V
244
g10.gpgv: $(GPGV_OBJS) intl.gettext BUILD
245
$(LINK) $(GPGV_OBJS) intl.gettext $(LD_FLAGS) -o g10.gpgv
246
-copy g10.gpgv ADFS::A5.$.tmp.!GnuPG.gpgv ~CFR~V
248
g10.gpgpart: $(G10_OBJS) cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib BUILD
249
drlink034 -aof $(G10_OBJS) $(LD_FLAGS) cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib -o g10.gpgpart
252
-copy distrib.idea-addon.cipher.c.idea cipher.c.idea ~CF~NR~V
253
$(CC) $(CC_FLAGS) $(DEPEND) -c -o cipher.o.idea cipher.c.idea
256
-copy distrib.non-idea.cipher.c.idea cipher.c.idea ~CF~NR~V
257
$(CC) $(CC_FLAGS) $(DEPEND) -c -o cipher.o.idea cipher.c.idea
259
distrib.gnupgsrc/zip: select-gpl-src
260
-zip -9@ distrib.gnupgsrc/zip < distrib.resources.distfiles
262
distrib.gnupg/zip: distrib.gpl-bin.!GnuPG.JPEGview distrib.gpl-bin.!GnuPG.gpgsplit distrib.gpl-bin.!GnuPG.gpg distrib.gpl-bin.!GnuPG.gpgv select-gpl-src
263
-copy distrib.resources.History distrib.gpl-bin.History ~CFR~V
264
-copy distrib.resources.Upgrading distrib.gpl-bin.Upgrading ~CFR~V
265
-copy distrib.resources.ReadMe_bin distrib.gpl-bin.!ReadMe1st ~CFR~V
266
-copy distrib.resources.!GnuPG distrib.gpl-bin.!GnuPG ~CFR~V
267
-copy distrib.resources.!GnuPGUser distrib.gpl-bin.!GnuPGUser ~CFR~V
268
-copy distrib.resources.!System distrib.gpl-bin.!System ~CFR~V
269
-copy distrib.resources.orig_docs distrib.gpl-bin.orig_docs ~CFR~V
271
-zip -r9 ^.gnupg/zip *
274
distrib.gnupgdev/zip: distrib.private.!GnuPG.JPEGview distrib.private.!GnuPG.gpgsplit distrib.private.!GnuPG.gpgkeys_ldap distrib.private.!GnuPG.gpg distrib.private.!GnuPG.gpgv select-idea-src
275
-ifthere distrib.private.!GnuPG.locale then wipe distrib.private.!GnuPG.locale ~CFR~V
276
-copy distrib.intl.!GnuPG.locale distrib.private.!GnuPG.locale ~CFR~V
277
-copy distrib.resources.History distrib.private.History ~CFR~V
278
-copy distrib.resources.Upgrading distrib.private.Upgrading ~CFR~V
279
-copy distrib.resources.ReadMe_bin distrib.private.!ReadMe1st ~CFR~V
280
-copy distrib.resources.!GnuPG distrib.private.!GnuPG ~CFR~V
281
-copy distrib.resources.!GnuPGUser distrib.private.!GnuPGUser ~CFR~V
282
-copy distrib.resources.!System distrib.private.!System ~CFR~V
283
-copy distrib.resources.orig_docs distrib.private.orig_docs ~CFR~V
285
-zip -r9 ^.gnupgdev/zip *
288
distrib.gnupgidea/zip: cipher.o.idea select-idea-src
289
-copy distrib.resources.ReadMe_idea distrib.idea-addon.!ReadMe ~CFR~V
290
-copy cipher.o.idea distrib.idea-addon.cipher.o.idea ~CFR~V
291
-dir distrib.idea-addon
292
-zip -r9 ^.gnupgidea/zip *
295
distrib.gnupgpart/zip: g10.gpgpart select-idea-src
296
-copy distrib.resources.ReadMe_part distrib.part.!ReadMe1st ~CFR~V
297
-copy g10.gpgpart distrib.part.g10.gpgpart ~CFR~V
299
-zip -r9 ^.gnupgpart/zip *
302
distrib.gnupgldap/zip: keyserver.gpgkeys_ldap
303
-copy distrib.resources.ReadMe_ldap distrib.ldap.!ReadMe ~CFR~V
304
-copy keyserver.gpgkeys_ldap distrib.ldap.!GnuPG.gpgkeys_ldap ~CFR~V
306
-zip -r9 ^.gnupgldap/zip *
309
distrib.gnupgintl/zip:
311
-zip -r9 ^.gnupgintl/zip *
314
distrib.gpl-bin.!GnuPG.gpg: g10.gpg
315
-copy g10.gpg distrib.gpl-bin.!GnuPG.gpg ~CFR~V
316
-squeeze distrib.gpl-bin.!GnuPG.gpg
318
distrib.gpl-bin.!GnuPG.gpgv: g10.gpgv
319
-copy g10.gpgv distrib.gpl-bin.!GnuPG.gpgv ~CFR~V
320
-squeeze distrib.gpl-bin.!GnuPG.gpgv
322
distrib.gpl-bin.!GnuPG.gpgsplit: tools.gpgsplit
323
-copy tools.gpgsplit distrib.gpl-bin.!GnuPG.gpgsplit ~CFR~V
324
-squeeze distrib.gpl-bin.!GnuPG.gpgsplit
326
distrib.gpl-bin.!GnuPG.JPEGview: riscos.jpegview.jpegview
327
-copy riscos.jpegview.jpegview distrib.gpl-bin.!GnuPG.JPEGview ~CFR~V
329
distrib.private.!GnuPG.gpg: g10.gpg
330
-copy g10.gpg distrib.private.!GnuPG.gpg ~CFR~V
331
-squeeze distrib.private.!GnuPG.gpg
333
distrib.private.!GnuPG.gpgv: g10.gpgv
334
-copy g10.gpgv distrib.private.!GnuPG.gpgv ~CFR~V
335
-squeeze distrib.private.!GnuPG.gpgv
337
distrib.private.!GnuPG.gpgsplit: tools.gpgsplit
338
-copy tools.gpgsplit distrib.private.!GnuPG.gpgsplit ~CFR~V
339
-squeeze distrib.private.!GnuPG.gpgsplit
341
distrib.private.!GnuPG.gpgkeys_ldap: keyserver.gpgkeys_ldap
342
-copy keyserver.gpgkeys_ldap distrib.private.!GnuPG.gpgkeys_ldap ~CFR~V
343
-squeeze distrib.private.!GnuPG.gpgkeys_ldap
345
distrib.private.!GnuPG.JPEGview: riscos.jpegview.jpegview
346
-copy riscos.jpegview.jpegview distrib.private.!GnuPG.JPEGview ~CFR~V
349
-ifthere cipher.o.* then wipe cipher.o.* ~CFR~V
350
-ifthere cipher.cipher then wipe cipher.cipher ~CFR~V
353
-ifthere intl.o.* then wipe intl.o.* ~CFR~V
354
-ifthere intl.gettext then wipe intl.gettext ~CFR~V
357
-ifthere mpi.o.* then wipe mpi.o.* ~CFR~V
358
-ifthere mpi.arm.o.* then wipe mpi.arm.o.* ~CFR~V
359
-ifthere mpi.mpi then wipe mpi.mpi ~CFR~V
362
-ifthere util.o.* then wipe util.o.* ~CFR~V
363
-ifthere util.util then wipe util.util ~CFR~V
366
-ifthere zlib.o.* then wipe zlib.o.* ~CFR~V
367
-ifthere zlib.zlib then wipe zlib.zlib ~CFR~V
370
-ifthere distrib.*/zip then wipe distrib.*/zip ~CFR~V
373
-ifthere g10.gpg then wipe g10.gpg ~CFR~V
374
-ifthere g10.gpgv then wipe g10.gpgv ~CFR~V
375
-ifthere g10.gpgpart then wipe g10.gpgpart ~CFR~V
376
-ifthere g10.o.* then wipe g10.o.* ~CFR~V
379
-ifthere keyserver.gpgkeys_ldap then wipe keyserver.gpgkeys_ldap ~CFR~V
380
-ifthere keyserver.o.* then wipe keyserver.o.* ~CFR~V
383
-ifthere tools.gpgsplit then wipe tools.gpgsplit ~CFR~V
384
-ifthere tools.o.* then wipe tools.o.* ~CFR~V
387
-ifthere riscos.jpegview.jpegview then wipe riscos.jpegview.jpegview ~CFR~V
390
-ifthere g10.o.armor then wipe g10.o.armor ~CFR~V
391
-ifthere g10.o.encode then wipe g10.o.encode ~CFR~V
392
-ifthere g10.o.g10 then wipe g10.o.g10 ~CFR~V
393
-ifthere g10.o.gpgv then wipe g10.o.gpgv ~CFR~V
394
-ifthere g10.o.keygen then wipe g10.o.keygen ~CFR~V
395
-ifthere g10.o.sign then wipe g10.o.sign ~CFR~V
396
-ifthere g10.gpg then wipe g10.gpg ~CFR~V
397
-ifthere g10.gpgv then wipe g10.gpgv ~CFR~V
398
-ifthere g10.gpgpart then wipe g10.gpgpart ~CFR~V
400
clean: clean-dist clean-cipher clean-intl clean-mpi clean-util clean-zlib clean-g10 clean-keyserver clean-tools clean-riscos
403
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.armor g10.c.armor
406
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.encode g10.c.encode
409
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.g10 g10.c.g10
412
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.gpgv g10.c.gpgv
415
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.keygen g10.c.keygen
418
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.sign g10.c.sign
424
setver configure/ac AC_INIT(gnupg, , dev
425
wipe distrib.private.!GnuPG.gpg* ~CFR~V
426
-$(MAKE) keyserver.gpgkeys_ldap
427
$(MAKE) tools.gpgsplit
428
$(MAKE) distrib.gnupgdev/zip
429
ifthere <WebServe$ServeRoot>.private.gnupgdev/zip then wipe <WebServe$ServeRoot>.private.gnupgdev/zip ~CFR~V
430
rename distrib.gnupgdev/zip <WebServe$ServeRoot>.private.gnupgdev/zip
432
dist: BUILD clean-version tools.gpgsplit
433
setver configure/ac AC_INIT(gnupg, , dist
434
wipe distrib.gpl-bin.!GnuPG.gpg* ~CFR~V
435
$(MAKE) distrib.gnupg/zip
436
$(MAKE) distrib.gnupgidea/zip
437
$(MAKE) distrib.gnupgpart/zip
438
wipe distrib.private.!GnuPG.gpg* ~CFR~V
439
$(MAKE) distrib.gnupgdev/zip
440
$(MAKE) distrib.gnupgsrc/zip
441
$(MAKE) distrib.gnupgintl/zip
442
$(MAKE) distrib.gnupgldap/zip
443
$(MAKE) select-idea-src
444
ifthere <WebServe$ServeRoot>.archives.gnupg/zip then wipe <WebServe$ServeRoot>.archives.gnupg/zip ~CFR~V
445
ifthere <WebServe$ServeRoot>.private.gnupgdev/zip then wipe <WebServe$ServeRoot>.private.gnupgdev/zip ~CFR~V
446
ifthere <WebServe$ServeRoot>.archives.gnupgidea/zip then wipe <WebServe$ServeRoot>.archives.gnupgidea/zip ~CFR~V
447
ifthere <WebServe$ServeRoot>.archives.gnupgpart/zip then wipe <WebServe$ServeRoot>.archives.gnupgpart/zip ~CFR~V
448
ifthere <WebServe$ServeRoot>.archives.gnupgsrc/zip then wipe <WebServe$ServeRoot>.archives.gnupgsrc/zip ~CFR~V
449
ifthere <WebServe$ServeRoot>.archives.gnupgintl/zip then wipe <WebServe$ServeRoot>.archives.gnupgintl/zip ~CFR~V
450
ifthere <WebServe$ServeRoot>.archives.gnupgldap/zip then wipe <WebServe$ServeRoot>.archives.gnupgldap/zip ~CFR~V
451
ifthere <WebServe$ServeRoot>.gnupg_history/txt then wipe <WebServe$ServeRoot>.gnupg_history/txt ~CFR~V
452
ifthere <WebServe$ServeRoot>.gnupg_news/txt then wipe <WebServe$ServeRoot>.gnupg_news/txt ~CFR~V
453
rename distrib.gnupgdev/zip <WebServe$ServeRoot>.private.gnupgdev/zip
454
rename distrib.gnupg/zip <WebServe$ServeRoot>.archives.gnupg/zip
455
rename distrib.gnupgidea/zip <WebServe$ServeRoot>.archives.gnupgidea/zip
456
rename distrib.gnupgpart/zip <WebServe$ServeRoot>.archives.gnupgpart/zip
457
rename distrib.gnupgsrc/zip <WebServe$ServeRoot>.archives.gnupgsrc/zip
458
rename distrib.gnupgintl/zip <WebServe$ServeRoot>.archives.gnupgintl/zip
459
rename distrib.gnupgldap/zip <WebServe$ServeRoot>.archives.gnupgldap/zip
460
copy distrib.resources.History <WebServe$ServeRoot>.gnupg_history/txt ~CFR~V
461
copy distrib.resources.orig_docs.NEWS <WebServe$ServeRoot>.gnupg_news/txt ~CFR~V
462
unset GnuPG$DevDefine
464
updatesigs <WebServe$ServeRoot>.archives --secring adfs::ap.$.secring/gpg
466
# Dynamic dependencies: