Browse Source

fix depedencies on cygwin/unix

David Rose 22 years ago
parent
commit
0c13c5c763
2 changed files with 3 additions and 3 deletions
  1. 1 1
      dtool/Config.pp
  2. 2 2
      dtool/pptempl/Template.gmsvc.pp

+ 1 - 1
dtool/Config.pp

@@ -486,7 +486,7 @@
 // this variable, $[source] is the name of the file to read, $[target]
 // this variable, $[source] is the name of the file to read, $[target]
 // is the name of the file to generate, and $[script] is the one-line
 // is the name of the file to generate, and $[script] is the one-line
 // sed script to run.
 // sed script to run.
-#defer SED ppremake -s '$[script]' <$[source] >$[target]
+#defer SED ppremake -s "$[script]" <$[source] >$[target]
 
 
 // What directory name (within each source directory) should the .o
 // What directory name (within each source directory) should the .o
 // (or .obj) files be written to?  This can be any name, and it can be
 // (or .obj) files be written to?  This can be any name, and it can be

+ 2 - 2
dtool/pptempl/Template.gmsvc.pp

@@ -359,7 +359,7 @@ $[varname] = $[sources]
 
 
 // not parallel (requires gmake 3.79) because of link.exe conflicts in TMP dir (see audiotraits dir)
 // not parallel (requires gmake 3.79) because of link.exe conflicts in TMP dir (see audiotraits dir)
 #if $[GENERATE_BUILDDATE]
 #if $[GENERATE_BUILDDATE]
-.NOTPARALLEL $[target] : $[sources] $[static_lib_dependencies] $[dtool_ver_dir_cyg]/version.rc $[dtool_ver_dir_cyg]/$[DLLBASEADDRFILENAME]
+.NOTPARALLEL $[target] : $[sources] $[static_lib_dependencies] $[dtool_ver_dir_cyg]/version.rc $[DLLBASEADDRFILENAME:%=$[dtool_ver_dir_cyg]/%]
 // first generate builddate for rc compiler using compiler preprocessor
 // first generate builddate for rc compiler using compiler preprocessor
 $[TAB]  mkdir -p $[tmpdirname_cyg]  // this dir-creation-stuff is leftover from trying to resolve parallel link difficulties
 $[TAB]  mkdir -p $[tmpdirname_cyg]  // this dir-creation-stuff is leftover from trying to resolve parallel link difficulties
  #define VER_RESOURCE "$[tmpdirname_win]\$[mybasename].res"
  #define VER_RESOURCE "$[tmpdirname_win]\$[mybasename].res"
@@ -371,7 +371,7 @@ $[TAB] $[SHARED_LIB_C++] $[VER_RESOURCE]
 $[TAB] $[SHARED_LIB_C] $[VER_RESOURCE]
 $[TAB] $[SHARED_LIB_C] $[VER_RESOURCE]
   #endif
   #endif
 #else
 #else
-.NOTPARALLEL $[target] : $[sources] $[dtool_ver_dir_cyg]/$[DLLBASEADDRFILENAME]
+.NOTPARALLEL $[target] : $[sources] $[DLLBASEADDRFILENAME:%=$[dtool_ver_dir_cyg]/%]
   #if $[filter %.cxx %.cpp %.yxx %.lxx,$[get_sources]]
   #if $[filter %.cxx %.cpp %.yxx %.lxx,$[get_sources]]
 $[TAB] $[SHARED_LIB_C++]
 $[TAB] $[SHARED_LIB_C++]
   #else
   #else