From d77c69504bed925ab420c5bac84d7ef23aff4417 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sat, 24 Apr 2010 17:34:02 +0100 Subject: [PATCH] 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 Tested-by: Derrick Brashear --- src/ptserver/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ptserver/Makefile.in b/src/ptserver/Makefile.in index aab2feef3d..00e6bc2df7 100644 --- a/src/ptserver/Makefile.in +++ b/src/ptserver/Makefile.in @@ -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}