From: Derrick Brashear Date: Fri, 15 Oct 2010 15:28:34 +0000 (-0400) Subject: add objc build rules to make-type makefiles X-Git-Tag: upstream/1.8.0_pre1^2~4660 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9846ccc94964da4605fe9a96505382f09fc5695e;p=packages%2Fo%2Fopenafs.git add objc build rules to make-type makefiles sadly this needs to be here unless we want os-specific includes of e.g. shared, lwp, pthreads makefiles for extra rules. as long as no .m files are built in generic makefiles, this is a reasonable approach. Change-Id: Ibea9f47131189f4b13760d0c50a0bc6b43815ce3 Reviewed-on: http://gerrit.openafs.org/2991 Tested-by: BuildBot Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/config/Makefile.lwp.in b/src/config/Makefile.lwp.in index 698773609..1e3a8e760 100644 --- a/src/config/Makefile.lwp.in +++ b/src/config/Makefile.lwp.in @@ -5,3 +5,6 @@ AFS_CCRULE =$(CCOBJ) $(LWP_CFLAGS) $(CFLAGS_$(@)) -o $@ -c .c.o: $(AFS_CCRULE) $< +.m.o: + $(AFS_CCRULE) $< + diff --git a/src/config/Makefile.pthread.in b/src/config/Makefile.pthread.in index 1079e5f40..adfe6ee4e 100644 --- a/src/config/Makefile.pthread.in +++ b/src/config/Makefile.pthread.in @@ -6,3 +6,5 @@ AFS_LDRULE=$(MT_CC) $(AFS_LDFLAGS) $(AFS_CFLAGS) $(LDFLAGS_$(@)) -o $@ .c.o: $(AFS_CCRULE) $< +.m.o: + $(AFS_CCRULE) $< diff --git a/src/config/Makefile.shared.in b/src/config/Makefile.shared.in index 6e7d37268..467e99c76 100644 --- a/src/config/Makefile.shared.in +++ b/src/config/Makefile.shared.in @@ -7,4 +7,6 @@ AFS_LDRULE=$(MT_CC) $(AFS_CFLAGS) $(AFS_LDFLAGS) $(LDFLAGS_($(@)) -o $@ .c.o: $(AFS_CCRULE) $< +.m.o: + $(AFS_CCRULE) $<