Diff

Differences From Artifact [a9f033d493]:

To Artifact [9978cadd3e]:


    10     10   AR = @AR@
    11     11   RANLIB = @RANLIB@
    12     12   prefix = @prefix@
    13     13   exec_prefix = @exec_prefix@
    14     14   libdir = @libdir@
    15     15   @SET_MAKE@
    16     16   
    17         -all:
           17  +all: @DEFAULT_TARGET@
           18  +
           19  +shared:
    18     20   	$(MAKE) libcackey.@SHOBJEXT@
    19     21   	-$(MAKE) libcackey_g.@SHOBJEXT@
    20     22   
           23  +static:
           24  +	$(MAKE) libcackey.a
           25  +	-$(MAKE) libcackey_g.a
           26  +
    21     27   cackey.o: cackey.c cackey_builtin_certs.h sha1.c sha1.h md5.c md5.h asn1-x509.c asn1-x509.h config.h
    22     28   	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) -o cackey.o -c cackey.c
    23     29   
    24     30   cackey_g.o: cackey.c cackey_builtin_certs.h sha1.c sha1.h md5.c md5.h asn1-x509.c asn1-x509.h config.h
    25     31   	$(CC) $(SHOBJFLAGS) $(DEBUGCPPFLAGS) $(DEBUGCFLAGS) -o cackey_g.o -c cackey.c
    26     32   
    27     33   libcackey.@SHOBJEXT@: cackey.o
................................................................................
    29     35   	-@WEAKENSYMS@ "libcackey.@SHOBJEXT@"
    30     36   	-@REMOVESYMS@ "libcackey.@SHOBJEXT@"
    31     37   
    32     38   libcackey_g.@SHOBJEXT@: cackey_g.o
    33     39   	$(CC) $(SHOBJFLAGS) $(DEBUGCPPFLAGS) $(DEBUGCFLAGS) $(SHOBJLDFLAGS) $(LDFLAGS) -o libcackey_g.@SHOBJEXT@ cackey_g.o $(LIBS)
    34     40   	-@WEAKENSYMS@ "libcackey_g.@SHOBJEXT@"
    35     41   
           42  +libcackey.a: cackey.o
           43  +	rm -f libcackey.a
           44  +	$(AR) rcu libcackey.a cackey.o
           45  +	-$(RANLIB) libcackey.a
           46  +
           47  +libcackey_g.a: cackey_g.o
           48  +	rm -f libcackey_g.a
           49  +	$(AR) rcu libcackey_g.a cackey_g.o
           50  +	-$(RANLIB) libcackey_g.a
           51  +
    36     52   test: test.c libcackey_g.@SHOBJEXT@
    37     53   	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test test.c -Wl,-R,. libcackey_g.@SHOBJEXT@
    38     54   
    39     55   test-afl.data: test
    40     56   	tmpLogFile='log.$(shell openssl rand -hex 16)'; \
    41     57   		./test 2> $${tmpLogFile}; \
    42     58   		echo -ne "$$( \
................................................................................
    68     84   
    69     85   distclean: clean
    70     86   	rm -f config.log config.status config.h Makefile libcackey.syms
    71     87   
    72     88   mrproper: distclean
    73     89   	rm -f configure config.h.in aclocal.m4 *~
    74     90   
    75         -.PHONY: all clean distclean mrproper install
           91  +.PHONY: all shared static clean distclean mrproper install