summaryrefslogtreecommitdiff
path: root/config/cf/Imake.rules
diff options
context:
space:
mode:
Diffstat (limited to 'config/cf/Imake.rules')
-rw-r--r--config/cf/Imake.rules9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/cf/Imake.rules b/config/cf/Imake.rules
index 93b27f752..d253e67c9 100644
--- a/config/cf/Imake.rules
+++ b/config/cf/Imake.rules
@@ -1,6 +1,6 @@
XCOMM ---------------------------------------------------------------------
XCOMM Imake rules for building libraries, programs, scripts, and data files
-XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.153tsi Exp $
+XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.154tsi Exp $
/*
* Copyright (c) 1994-2006 by The XFree86 Project, Inc.
* All rights reserved.
@@ -1139,7 +1139,12 @@ CplusplusProgramTargetHelper(program,SRCS10,OBJS10,DEPLIBS10,locallib,syslib)
#ifndef ServerTargetWithFlags
#define ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,flags) @@\
AllTarget(ProgramTargetName(server)) @@\
-ProgramTargetName(server): subdirs /* objects libs */ @@\
+Concat(server,DEPS) = objects libs @@\
+ @@\
+$(Concat(server,DEPS)):: subdirs @@\
+ $(_NULLCMD_) @@\
+ @@\
+ProgramTargetName(server): objects libs @@\
MoveToBakFile($@) @@\
LinkRule($@,$(LDOPTIONS),objects,libs $(LDLIBS) syslibs) @@\
@@\