Diff

Differences From Artifact [af3c88d20b]:

To Artifact [e95bb2353e]:


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
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







-
+

-
+


+
+
+
-
-
+
+

+
+
+
-
+

-
+


-
+

+







AR = @AR@
RANLIB = @RANLIB@
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
@SET_MAKE@

all: cackey.@SHOBJEXT@
all: libcackey.@SHOBJEXT@

cackey.o: cackey.c
cackey.o: cackey.c asn1-x509.h
	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) -o cackey.o -c cackey.c

asn1-x509.o: asn1-x509.c asn1-x509.h
	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) -o asn1-x509.o -c asn1-x509.c

cackey.@SHOBJEXT@: cackey.o
	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) $(SHOBJLDFLAGS) $(LDFLAGS) -o cackey.@SHOBJEXT@ cackey.o $(LIBS)
libcackey.@SHOBJEXT@: cackey.o asn1-x509.o
	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) $(SHOBJLDFLAGS) $(LDFLAGS) -o libcackey.@SHOBJEXT@ cackey.o asn1-x509.o $(LIBS)

test: test.c libcackey.@SHOBJEXT@
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test test.c -Wl,-R,. libcackey.@SHOBJEXT@

install: cackey.@SHOBJEXT@
install: libcackey.@SHOBJEXT@
	-mkdir "$(DESTDIR)$(libdir)"
	cp cackey.@SHOBJEXT@ "$(DESTDIR)$(libdir)/"
	cp libcackey.@SHOBJEXT@ "$(DESTDIR)$(libdir)/"

clean:
	rm -f cackey.@SHOBJEXT@
	rm -f libcackey.@SHOBJEXT@
	rm -f cackey.o
	rm -f test

distclean: clean
	rm -f config.log config.status config.h Makefile

mrproper: distclean
	rm -f configure config.h.in aclocal.m4 *~