apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr-iconv/build modules.mk.win
Date Mon, 10 Mar 2003 23:45:27 GMT
wrowe       2003/03/10 15:45:26

  Modified:    build    modules.mk.win
  Log:
    The install target copies *.so, *.pdb to the target.  Unfortunately,
    that grabed *_src.pdb as well, which should not be in the distribution.
  
    This patch creates a path/iconv/objs/ directory for all .obj and _src.pdb
    files which can be discarded with no problems.
  
  Revision  Changes    Path
  1.15      +7 -3      apr-iconv/build/modules.mk.win
  
  Index: modules.mk.win
  ===================================================================
  RCS file: /home/cvs/apr-iconv/build/modules.mk.win,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- modules.mk.win	10 Mar 2003 23:06:24 -0000	1.14
  +++ modules.mk.win	10 Mar 2003 23:45:26 -0000	1.15
  @@ -73,6 +73,7 @@
   APR_SOURCE   = ..\..\apr
   API_SOURCE   = ..
   OUTPUT_DIR   = $(API_SOURCE)\$(CFG_OUTPUT)
  +OBJ_DIR   = $(OUTPUT_DIR)\objs
   
   INT_CFLAGS   = /nologo $(CFG_CFLAGS) /Fp"$(OUTPUT_DIR)\iconv.pch" /YX"iconv.h"
   INT_INCLUDES = /I "$(API_SOURCE)\include" /I "$(API_SOURCE)\lib" \
  @@ -89,9 +90,12 @@
   
   .c{$(OUTPUT_DIR)}.so:
   	-$(SILENT)if not exist "$(OUTPUT_DIR)\$(NULL)" mkdir "$(OUTPUT_DIR)"
  -	$(SILENT)echo Compiling $@...
  -	$(SILENT)cl $(ALL_CFLAGS) /Fo"$*.obj" /Fd"$*_src" $< \
  -		/link $(ALL_LDFLAGS) /out:$@ /base:@"..\build\BaseAddr.ref",$(@F) \
  +	-$(SILENT)if not exist "$(OBJ_DIR)\$(NULL)" mkdir "$(OBJ_DIR)"
  +	$(SILENT)echo Compiling $<... via $(OBJ_DIR)\$(@B).obj to $@
  +	$(SILENT)cl $(ALL_CFLAGS) /Fo"$(OBJ_DIR)\$(@B).obj" \
  +		/Fd"$(OBJ_DIR)\$(@B)_src" $< \
  +		/link $(ALL_LDFLAGS) /out:$@ \
  +		/base:@"..\build\BaseAddr.ref",$(@F) \
   		"$(API_LIB_PFX)apriconv.lib" "$(APR_LIB_PFX)apr.lib" \
   		kernel32.lib advapi32.lib ws2_32.lib mswsock.lib
   	$(SILENT)echo.
  
  
  

Mime
View raw message