bnicholes 2004/04/12 13:52:46 Modified: build NWGNUtail.inc Log: Add a check to make sure that we handle multiple makefile per directory conditions Revision Changes Path 1.8 +4 -0 apr/build/NWGNUtail.inc Index: NWGNUtail.inc =================================================================== RCS file: /home/cvs/apr/build/NWGNUtail.inc,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- NWGNUtail.inc 8 Apr 2004 22:39:29 -0000 1.7 +++ NWGNUtail.inc 12 Apr 2004 20:52:46 -0000 1.8 @@ -97,6 +97,8 @@ endif +ifeq "$(words $(strip $(TARGET_nlm)))" "1" + $(OBJDIR)/%.o: %.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo Compiling $< $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt @@ -149,6 +151,8 @@ ifneq "$(strip $(XDEFINES))" "" @echo $(XDEFINES) >> $@ endif + +endif # one target nlm # # Rules to build libraries