Fix objdir builds

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>
This commit is contained in:
Simon Wilkinson 2010-04-24 17:34:02 +01:00 committed by Derrick Brashear
parent bf53b0882b
commit d77c69504b

View 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}