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 c2c5773..67e2c53 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