]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Fix objdir builds
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 24 Apr 2010 16:34:02 +0000 (17:34 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sat, 24 Apr 2010 17:20:14 +0000 (10:20 -0700)
Change f2db78a346112f5320efc6f0b6b9fe4ae0d893d3 included hard
references to compilation sources with no srcdir prefix, and so
broke objdir builds. Fix this so that we can build outside the
source tree again.

Change-Id: Iaae2d4a1047cc2ac0f5f4aae92cadc1f2a0d09e2
Reviewed-on: http://gerrit.openafs.org/1826
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/ptserver/Makefile.in

index aab2feef3daad324e14ffaf096d0730da6f6dbff..00e6bc2df7d55090f2b55735ba5369cfbeb7da2e 100644 (file)
@@ -98,10 +98,10 @@ ptserver.o: ptserver.c ${INCLS} AFS_component_version_number.c
 # When supergroups is enabled, some parts of ptserver cast between
 # incompatible structs.
 ptutils.o: ptutils.c ${INCLS}
-       $(CCOBJ) $(CFLAGS) @CFLAGS_NOSTRICT@ -c ptutils.c
+       $(CCOBJ) $(CFLAGS) @CFLAGS_NOSTRICT@ -c ${srcdir}/ptutils.c
 
 ptprocs.o: ptprocs.c ${INCLS}
-       $(CCOBJ) $(CFLAGS) @CFLAGS_NOSTRICT@ -c ptprocs.c
+       $(CCOBJ) $(CFLAGS) @CFLAGS_NOSTRICT@ -c ${srcdir}/ptprocs.c
 
 utils.o: utils.c ${INCLS}