]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
add objc build rules to make-type makefiles
authorDerrick Brashear <shadow@dementia.org>
Fri, 15 Oct 2010 15:28:34 +0000 (11:28 -0400)
committerDerrick Brashear <shadow@dementia.org>
Fri, 15 Oct 2010 18:31:10 +0000 (11:31 -0700)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/config/Makefile.lwp.in
src/config/Makefile.pthread.in
src/config/Makefile.shared.in

index 6987736093d0cdf4e8deb6af718a0af9f1b03796..1e3a8e760670c0d7349a56d3b8c574f0cc318d00 100644 (file)
@@ -5,3 +5,6 @@ AFS_CCRULE =$(CCOBJ) $(LWP_CFLAGS) $(CFLAGS_$(@)) -o $@ -c
 .c.o:
        $(AFS_CCRULE) $<
 
+.m.o:
+       $(AFS_CCRULE) $<
+
index 1079e5f40ef8960bf97af3c57a1ae6d107cc9d0d..adfe6ee4ee98b66333dc08c1a6ccb0d6a1ce79b6 100644 (file)
@@ -6,3 +6,5 @@ AFS_LDRULE=$(MT_CC) $(AFS_LDFLAGS) $(AFS_CFLAGS) $(LDFLAGS_$(@)) -o $@
 
 .c.o:
        $(AFS_CCRULE) $<
+.m.o:
+       $(AFS_CCRULE) $<
index 6e7d37268a89dfb34fc4feaf33706b048e380f2b..467e99c764fdc96240ff5799557607153d6fd3ba 100644 (file)
@@ -7,4 +7,6 @@ AFS_LDRULE=$(MT_CC) $(AFS_CFLAGS) $(AFS_LDFLAGS) $(LDFLAGS_($(@)) -o $@
 
 .c.o:
        $(AFS_CCRULE) $<
+.m.o:
+       $(AFS_CCRULE) $<