]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
hcrypto: Use new LWP_CCRULE
authorSimon Wilkinson <sxw@your-file-system.com>
Wed, 16 Feb 2011 21:57:59 +0000 (21:57 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 20 Feb 2011 13:55:46 +0000 (05:55 -0800)
Use the new centralised LWP_CCRULE, rather than brewing our own.

Change-Id: I3eda193371c28972a048f3c0c125d10161420fd7
Reviewed-on: http://gerrit.openafs.org/4016
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/crypto/hcrypto/Makefile.in

index c2c577316710b5e6eac81d20f1cb3ae5b87c374c..67e2c53d4f5532e3d9b3238b01a8f19ad9ca4400 100644 (file)
@@ -66,9 +66,6 @@ OBJECTS = $(COMMON_OBJS) rand-fortuna.o
 
 LWP_OBJS = $(COMMON_OBJS) rand-fortuna_lwp.o
 
-LWPRULE=$(CC) $(AFS_CPPFLAGS) $(COMMON_CFLAGS) $(XCFLAGS) $(ARCHFLAGS) \
-       -I$(TOP_INCDIR)/hcrypto -I$(UPSTREAM)/hcrypto -c $?
-
 ${TOP_LIBDIR}/${SHLIBOBJ}: ${SHLIBOBJ}
        ${TOP_OBJDIR}/src/config/shlib-install -d ${TOP_LIBDIR} \
                -l libafshcrypto -M ${LIBMAJOR} -m ${LIBMINOR}
@@ -250,5 +247,5 @@ test_cipher.o: ${UPSTREAM}/hcrypto/test_cipher.c
 # LWP Targets
 
 rand-fortuna_lwp.o: ${UPSTREAM}/hcrypto/rand-fortuna.c
-       ${LWPRULE} -o rand-fortuna_lwp.o
+       $(LWP_CCRULE) $(UPSTREAM)/hcrypto/rand-fortuna.c