libafs: Remove .i Makefile rules 38/13338/2
authorAndrew Deason <adeason@sinenomine.net>
Fri, 21 Sep 2018 17:03:37 +0000 (12:03 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 22 Sep 2018 21:03:02 +0000 (17:03 -0400)
Makefile.common.in defines a suffix rule to generate .i files from .c
files, but we never actually need to do this. The rule originates from
before OpenAFS 1.0, which also did not use the rule. Remove the
unused definitions.

Change-Id: I057b2aca7d17e3e85e93d886a65c954e8d9d708f
Reviewed-on: https://gerrit.openafs.org/13338
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/libafs/Makefile.common.in

index d9bd90b..775a3d1 100644 (file)
@@ -42,10 +42,6 @@ COMMON_INCLUDE = -I. -I.. -I../nfs \
        -I${TOP_INCDIR}/afs 
 
 # Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
-.SUFFIXES:     .i
-.c.i:
-       $(CC) $(COMMON_INCLUDE) $(CFLAGS) -P -c $<
-
 .c.o:
        $(RUN_CC) $(CC) $(COMMON_INCLUDE) $(CFLAGS) $(CFLAGS-$(@)) $(KERN_DBG) -c $<
 CRULE_NOOPT=   $(RUN_CC) $(CC) $(COMMON_INCLUDE) $(KERN_DBG) $(CFLAGS) $(CFLAGS-$(@)) -o $@ -c