File: Makefile

package info (click to toggle)
pgpdump 0.26-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 400 kB
  • ctags: 216
  • sloc: ansic: 2,269; makefile: 71; sh: 14
file content (56 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Makefile for RISC OS pgpdump

PGPDUMP=pgpdump-0/20
ZLIB=^.zlib-1/1/4
LIBBZIP2=^.bzip2-1/0/2

CC=cc
LINK=link
MAKE=amu

DEPEND=-depend !Depend
CC_FLAGS=-Wp -throwback -Otime -I$(ZLIB),$(LIBBZIP2),Unix: -JUnix: -D__riscos__ -DHAVE_CONFIG_H
LD_FLAGS=
UNIXLIB=Unix:o.UnixLib

PGPDUMP_OBJS=buffer.o \
	keys.o \
	packet.o \
	pgpdump.o \
	signature.o \
	subfunc.o \
	tagfuncs.o \
	types.o \
	uatfunc.o

.INIT:
	-cdir o

## Rule Patterns ##

.SUFFIXES:	.c .o

.c.o:
	$(CC) $(CC_FLAGS) $(DEPEND) -c -o $@ $<

# Static dependencies:

pgpdump: $(PGPDUMP_OBJS) $(ZLIB).zlib $(LIBBZIP2).libbzip2
	$(LINK) $(LD_FLAGS) -o pgpdump $(PGPDUMP_OBJS) $(ZLIB).zlib $(LIBBZIP2).libbzip2 $(UNIXLIB)
	-squeeze pgpdump

$(ZLIB).zlib:
	dir $(ZLIB)
	amu
	dir ^.$(PGPDUMP)

$(LIBBZIP2).libbzip2:
	dir $(LIBBZIP2)
	amu
	dir ^.$(PGPDUMP)

clean:
	-ifthere pgpdump then wipe pgpdump ~CFR~V
	-ifthere o.* then wipe o.* ~CFR~V

# Dynamic dependencies: