Diff

Differences From Artifact [517d2e3149]:

To Artifact [7e5757e77e]:


     5      5   DEBUGCPPFLAGS = @CPPFLAGS@ -DCACKEY_DEBUG=1 -I./pkcs11/ @DEFS@
     6      6   LDFLAGS = @LDFLAGS@
     7      7   LIBS = @LIBS@ @PTHREAD_LIBS@
     8      8   SHOBJFLAGS = @SHOBJFLAGS@
     9      9   SHOBJLDFLAGS = @SHOBJLDFLAGS@
    10     10   AR = @AR@
    11     11   RANLIB = @RANLIB@
           12  +STRIP = @STRIP@
    12     13   prefix = @prefix@
    13     14   exec_prefix = @exec_prefix@
    14     15   libdir = @libdir@
    15     16   @SET_MAKE@
    16     17   
    17     18   all:
    18     19   	$(MAKE) libcackey.@SHOBJEXT@
................................................................................
    28     29   	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) -o asn1-x509.o -c asn1-x509.c
    29     30   
    30     31   asn1-x509_g.o: asn1-x509.c asn1-x509.h config.h
    31     32   	$(CC) $(SHOBJFLAGS) $(DEBUGCPPFLAGS) $(DEBUGCFLAGS) -o asn1-x509_g.o -c asn1-x509.c
    32     33   
    33     34   libcackey.@SHOBJEXT@: cackey.o asn1-x509.o
    34     35   	$(CC) $(SHOBJFLAGS) $(CPPFLAGS) $(CFLAGS) $(SHOBJLDFLAGS) $(LDFLAGS) -o libcackey.@SHOBJEXT@ cackey.o asn1-x509.o $(LIBS)
           36  +	-$(STRIP) -g "libcackey.@SHOBJEXT@"
    35     37   
    36     38   libcackey_g.@SHOBJEXT@: cackey_g.o asn1-x509_g.o
    37     39   	$(CC) $(SHOBJFLAGS) $(DEBUGCPPFLAGS) $(DEBUGCFLAGS) $(SHOBJLDFLAGS) $(LDFLAGS) -o libcackey_g.@SHOBJEXT@ cackey_g.o asn1-x509_g.o $(LIBS)
    38     40   
    39     41   test: test.c libcackey_g.@SHOBJEXT@
    40     42   	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test test.c -Wl,-R,. libcackey_g.@SHOBJEXT@
    41     43   
    42     44   splint-cackey.txt: cackey.c asn1-x509.c asn1-x509.h config.h
    43     45   	splint $(CPPFLAGS) -weak +posixlib -I/usr/include/PCSC -Ipkcs11 cackey.c > splint-cackey.txt
    44     46   
    45     47   install: libcackey.@SHOBJEXT@
    46     48   	-mkdir "$(DESTDIR)$(libdir)"
    47         -	cp libcackey.@SHOBJEXT@ "$(DESTDIR)$(libdir)/"
    48         -	-cp libcackey_g.@SHOBJEXT@ "$(DESTDIR)$(libdir)/"
           49  +	cp "libcackey.@SHOBJEXT@" "$(DESTDIR)$(libdir)/"
           50  +	-cp "libcackey_g.@SHOBJEXT@" "$(DESTDIR)$(libdir)/"
    49     51   
    50     52   clean:
    51     53   	rm -f libcackey.@SHOBJEXT@ libcackey_g.@SHOBJEXT@
    52     54   	rm -f cackey.o asn1-x509.o cackey_g.o asn1-x509_g.o
    53     55   	rm -f test
    54     56   	rm -f splint-cackey.txt
    55     57