mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
ptserver: Fix parallel builds
It's not safe to have libtool building a blah.lo at the same time as gcc is building blah.o. A Makefile must exclusively use either the .lo or the .o form. Fix ptserver so that ptint.xdr.lo is the only one referenced, and just explicitly pull in the LWP object for the ptserver. Change-Id: I2e868d2d318c84e20bcccc0ffc462c87e4b7a2f2 Reviewed-on: http://gerrit.openafs.org/8100 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
e52183033f
commit
6300728282
@ -103,8 +103,8 @@ ${TOP_INCDIR}/afs/ptserver.h: ptserver.h
|
||||
#
|
||||
# Build targets
|
||||
#
|
||||
ptserver: ptserver.o ptutils.o ptprocs.o ptint.ss.o ptint.xdr.o utils.o $(LIBS) map.o
|
||||
$(AFS_LDRULE) ptserver.o ptutils.o ptprocs.o ptint.ss.o ptint.xdr.o \
|
||||
ptserver: ptserver.o ptutils.o ptprocs.o ptint.ss.o ptint.xdr.lo utils.o $(LIBS) map.o
|
||||
$(AFS_LDRULE) ptserver.o ptutils.o ptprocs.o ptint.ss.o .lwp/ptint.xdr.o \
|
||||
utils.o map.o $(LIBS) $(LIB_roken) ${XLIBS}
|
||||
|
||||
ptserver.o: ptserver.c ${INCLS} AFS_component_version_number.c
|
||||
@ -119,8 +119,8 @@ ptprocs.o: ptprocs.c ${INCLS}
|
||||
utils.o: utils.c ${INCLS}
|
||||
map.o: map.c ${INCLS}
|
||||
ptint.ss.o: ptint.ss.c ptint.xdr.c ptint.xg
|
||||
ptint.cs.o: ptint.cs.c ptint.xdr.c ptint.xg
|
||||
ptint.xdr.o: ptint.xdr.c ptint.h ptint.xg
|
||||
ptint.cs.lo: ptint.cs.c ptint.xdr.c ptint.xg
|
||||
ptint.xdr.lo: ptint.xdr.c ptint.h ptint.xg
|
||||
|
||||
ptint.cs.c: ptint.xg
|
||||
${RXGEN} -A -x -C -u -o $@ ${srcdir}/ptint.xg
|
||||
|
Loading…
Reference in New Issue
Block a user