Workaround for the header file copying dependency hell
authorHans Lambermont <hans@lambermont.dyndns.org>
Sat, 4 Jan 2003 15:07:25 +0000 (15:07 +0000)
committerHans Lambermont <hans@lambermont.dyndns.org>
Sat, 4 Jan 2003 15:07:25 +0000 (15:07 +0000)
12 files changed:
intern/action/Makefile
intern/bmfont/Makefile
intern/bsp/Makefile
intern/container/Makefile
intern/decimation/Makefile
intern/ghost/Makefile
intern/guardedalloc/Makefile
intern/iksolver/Makefile
intern/keymaker/Makefile
intern/memutil/Makefile
intern/moto/Makefile
intern/string/Makefile

index dd5301c034e79c22108ef064973775c7c32d356f..ed1cfccfc529a25573b32e2cfd912fc534a8629b 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # action main makefile.
@@ -46,7 +46,7 @@ install: all debug
        @[ -d $(NAN_ACTION)/include ] || mkdir $(NAN_ACTION)/include
        @[ -d $(NAN_ACTION)/lib ] || mkdir $(NAN_ACTION)/lib
        @[ -d $(NAN_ACTION)/lib/debug ] || mkdir $(NAN_ACTION)/lib/debug
-       cp -f $(DIR)/libaction.a $(NAN_ACTION)/lib/
-       cp -f $(DIR)/debug/libaction.a $(NAN_ACTION)/lib/debug/
-       cp -f *.h $(NAN_ACTION)/include/
+       @../tools/cpifdiff.sh $(DIR)/libaction.a $(NAN_ACTION)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libaction.a $(NAN_ACTION)/lib/debug/
+       @../tools/cpifdiff.sh *.h $(NAN_ACTION)/include/
 
index 037a55601adc5232ebe2b28f6a9ecd6d59843501..9c0193fee1b48da0517120ae75a46d8ac84b5e1d 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # bmfont main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_BMFONT)/include ] || mkdir $(NAN_BMFONT)/include
        @[ -d $(NAN_BMFONT)/lib ] || mkdir $(NAN_BMFONT)/lib
        @[ -d $(NAN_BMFONT)/lib/debug ] || mkdir $(NAN_BMFONT)/lib/debug
-       cp -f $(DIR)/libbmfont.a $(NAN_BMFONT)/lib/
-       cp -f $(DIR)/debug/libbmfont.a $(NAN_BMFONT)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libbmfont.a $(NAN_BMFONT)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libbmfont.a $(NAN_BMFONT)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_BMFONT)/lib/libbmfont.a
        ranlib $(NAN_BMFONT)/lib/debug/libbmfont.a
 endif
-       cp -f *.h $(NAN_BMFONT)/include/
+       @../tools/cpifdiff.sh *.h $(NAN_BMFONT)/include/
 
index 5d96867e3b13577b512a62a421ea25b0e5b8c424..818e4d69606c85c35912799d09b7eef99f644305 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # bsp main makefile.
@@ -46,13 +46,13 @@ install: all debug
        @[ -d $(NAN_BSP)/include ] || mkdir $(NAN_BSP)/include
        @[ -d $(NAN_BSP)/lib ] || mkdir $(NAN_BSP)/lib
        @[ -d $(NAN_BSP)/lib/debug ] || mkdir $(NAN_BSP)/lib/debug
-       cp -f $(DIR)/libbsp.a $(NAN_BSP)/lib/
-       cp -f $(DIR)/debug/libbsp.a $(NAN_BSP)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libbsp.a $(NAN_BSP)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libbsp.a $(NAN_BSP)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_BSP)/lib/libbsp.a
        ranlib $(NAN_BSP)/lib/debug/libbsp.a
 endif
-       cp -f extern/*.h $(NAN_BSP)/include/
+       @../tools/cpifdiff.sh extern/*.h $(NAN_BSP)/include/
 
 
 
index 31ca8e8ae1a968ec3e2b30ae93340a480b4c0319..48343612ef2afd8cf037ba298e4820bc62a8c53d 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # container main makefile.
@@ -46,7 +46,7 @@ install: all debug
        @[ -d $(NAN_CONTAINER)/include ] || mkdir $(NAN_CONTAINER)/include
        @[ -d $(NAN_CONTAINER)/lib ] || mkdir $(NAN_CONTAINER)/lib
        @[ -d $(NAN_CONTAINER)/lib/debug ] || mkdir $(NAN_CONTAINER)/lib/debug
-       cp -f $(DIR)/libcontainer.a $(NAN_CONTAINER)/lib/
-       cp -f $(DIR)/debug/libcontainer.a $(NAN_CONTAINER)/lib/debug
-       cp -f *.h $(NAN_CONTAINER)/include/
+       @../tools/cpifdiff.sh $(DIR)/libcontainer.a $(NAN_CONTAINER)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libcontainer.a $(NAN_CONTAINER)/lib/debug
+       @../tools/cpifdiff.sh *.h $(NAN_CONTAINER)/include/
 
index 60df8dd8b15889e481bc99a8c1b32e40b91c325b..7bf645a39c91d362827c5351ca498ddc8cc868e6 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # decimation main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_DECIMATION)/include ] || mkdir $(NAN_DECIMATION)/include
        @[ -d $(NAN_DECIMATION)/lib ] || mkdir $(NAN_DECIMATION)/lib
        @[ -d $(NAN_DECIMATION)/lib/debug ] || mkdir $(NAN_DECIMATION)/lib/debug
-       cp -f $(DIR)/libdecimation.a $(NAN_DECIMATION)/lib/
-       cp -f $(DIR)/debug/libdecimation.a $(NAN_DECIMATION)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libdecimation.a $(NAN_DECIMATION)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libdecimation.a $(NAN_DECIMATION)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_DECIMATION)/lib/libdecimation.a
        ranlib $(NAN_DECIMATION)/lib/debug/libdecimation.a
 endif
-       cp -f extern/*.h $(NAN_DECIMATION)/include/
+       @../tools/cpifdiff.sh extern/*.h $(NAN_DECIMATION)/include/
 
index bfcd2d2f12a3f431a617ae07e4e3d0fc3cceca3a..fe65afbfb93be41db9d6f52ccd95a069c5d292b2 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # ghost main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_GHOST)/include ] || mkdir $(NAN_GHOST)/include
        @[ -d $(NAN_GHOST)/lib ] || mkdir $(NAN_GHOST)/lib
        @[ -d $(NAN_GHOST)/lib/debug ] || mkdir $(NAN_GHOST)/lib/debug
-       cp -f $(DIR)/libghost.a $(NAN_GHOST)/lib/
-       cp -f $(DIR)/debug/libghost.a $(NAN_GHOST)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libghost.a $(NAN_GHOST)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libghost.a $(NAN_GHOST)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_GHOST)/lib/libghost.a
        ranlib $(NAN_GHOST)/lib/debug/libghost.a
 endif
-       cp -f *.h $(NAN_GHOST)/include/
+       @../tools/cpifdiff.sh *.h $(NAN_GHOST)/include/
 
index a63e9107cc821f01d3b2d82fcf35c14a8c9635e5..702e7d5264f0efed7e3170dae23d3b3388da5692 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # decimation main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_GUARDEDALLOC)/include ] || mkdir $(NAN_GUARDEDALLOC)/include
        @[ -d $(NAN_GUARDEDALLOC)/lib ] || mkdir $(NAN_GUARDEDALLOC)/lib
        @[ -d $(NAN_GUARDEDALLOC)/lib/debug ] || mkdir $(NAN_GUARDEDALLOC)/lib/debug
-       cp -f $(DIR)/libguardedalloc.a $(NAN_GUARDEDALLOC)/lib/
-       cp -f $(DIR)/debug/libguardedalloc.a $(NAN_GUARDEDALLOC)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libguardedalloc.a $(NAN_GUARDEDALLOC)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libguardedalloc.a $(NAN_GUARDEDALLOC)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_GUARDEDALLOC)/lib/libguardedalloc.a
        ranlib $(NAN_GUARDEDALLOC)/lib/debug/libguardedalloc.a
 endif
-       cp -f *.h $(NAN_GUARDEDALLOC)/include/
+       @../tools/cpifdiff.sh *.h $(NAN_GUARDEDALLOC)/include/
 
index 512de299fe79c9b7cb491d84fceec6b09cd3ff3e..b439dcf8fa38a3c7c835ee68bd899794efbe28a3 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # iksolver main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_IKSOLVER)/include ] || mkdir $(NAN_IKSOLVER)/include
        @[ -d $(NAN_IKSOLVER)/lib ] || mkdir $(NAN_IKSOLVER)/lib
        @[ -d $(NAN_IKSOLVER)/lib/debug ] || mkdir $(NAN_IKSOLVER)/lib/debug
-       cp -f $(DIR)/libiksolver.a $(NAN_IKSOLVER)/lib/
-       cp -f $(DIR)/debug/libiksolver.a $(NAN_IKSOLVER)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libiksolver.a $(NAN_IKSOLVER)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libiksolver.a $(NAN_IKSOLVER)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_IKSOLVER)/lib/libiksolver.a
        ranlib $(NAN_IKSOLVER)/lib/debug/libiksolver.a
 endif
-       cp -f extern/*.h $(NAN_IKSOLVER)/include/
+       @../tools/cpifdiff.sh extern/*.h $(NAN_IKSOLVER)/include/
 
index 21ff0c701926cd80d30c4ce7a3e33b1128f810a3..d20bea5855714a3c63127fd58a92cbb324f35761 100644 (file)
@@ -24,7 +24,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # blender keyreader-library makefile
@@ -71,8 +71,8 @@ install: all debug
        @[ -d $(LCGDIR)/$(LIBNAME) ] || mkdir $(LCGDIR)/$(LIBNAME)
        @[ -d $(LCGDIR)/$(LIBNAME)/include ] || mkdir $(LCGDIR)/$(LIBNAME)/include
        @[ -d $(LCGDIR)/$(LIBNAME)/lib ] || mkdir $(LCGDIR)/$(LIBNAME)/lib
-       cp -f blenkey.h $(LCGDIR)/$(LIBNAME)/include/blenkey.h
-       cp -f $(LIB_a) $(LCGDIR)/$(LIBNAME)/lib/
+       @../tools/cpifdiff.sh blenkey.h $(LCGDIR)/$(LIBNAME)/include/blenkey.h
+       @../tools/cpifdiff.sh $(LIB_a) $(LCGDIR)/$(LIBNAME)/lib/
 ifeq ($(OS),darwin)
        ranlib $(LCGDIR)/$(LIBNAME)/lib/lib$(LIBNAME).a
 endif
index e163fa63effcda91593ae3887f16731fab2f73d2..6c38296a6f6b7917d3b84692347c0cf8daa1733e 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # memutil main makefile.
@@ -46,7 +46,7 @@ install: all debug
        @[ -d $(NAN_MEMUTIL)/include ] || mkdir $(NAN_MEMUTIL)/include
        @[ -d $(NAN_MEMUTIL)/lib ] || mkdir $(NAN_MEMUTIL)/lib
        @[ -d $(NAN_MEMUTIL)/lib/debug ] || mkdir $(NAN_MEMUTIL)/lib/debug
-       cp -f $(DIR)/libmemutil.a $(NAN_MEMUTIL)/lib/
-       cp -f $(DIR)/debug/libmemutil.a $(NAN_MEMUTIL)/lib/debug
-       cp -f *.h $(NAN_MEMUTIL)/include/
+       @../tools/cpifdiff.sh $(DIR)/libmemutil.a $(NAN_MEMUTIL)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libmemutil.a $(NAN_MEMUTIL)/lib/debug
+       @../tools/cpifdiff.sh *.h $(NAN_MEMUTIL)/include/
 
index 927b87bad24afb95f9cba10070cd7247a7626d9a..0649719e92e853c7b2a35166ab68d3840466a3fd 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # moto main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_MOTO)/include ] || mkdir $(NAN_MOTO)/include
        @[ -d $(NAN_MOTO)/lib ] || mkdir $(NAN_MOTO)/lib
        @[ -d $(NAN_MOTO)/lib/debug ] || mkdir $(NAN_MOTO)/lib/debug
-       cp -f $(DIR)/libmoto.a $(NAN_MOTO)/lib/
-       cp -f $(DIR)/debug/libmoto.a $(NAN_MOTO)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libmoto.a $(NAN_MOTO)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libmoto.a $(NAN_MOTO)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_MOTO)/lib/libmoto.a
        ranlib $(NAN_MOTO)/lib/debug/libmoto.a
 endif
-       cp -f include/*.h $(NAN_MOTO)/include/
+       @../tools/cpifdiff.sh include/*.h $(NAN_MOTO)/include/
 
index 1079e3a281a8956fe5d4b02fd3a9311b0f645693..e3dffbe9e44896e5343b4039f421eda0915a428b 100644 (file)
@@ -25,7 +25,7 @@
 #
 # The Original Code is: all of this file.
 #
-# Contributor(s): none yet.
+# Contributor(s): Hans Lambermont
 #
 # ***** END GPL/BL DUAL LICENSE BLOCK *****
 # string main makefile.
@@ -46,11 +46,11 @@ install: all debug
        @[ -d $(NAN_STRING)/include ] || mkdir $(NAN_STRING)/include
        @[ -d $(NAN_STRING)/lib ] || mkdir $(NAN_STRING)/lib
        @[ -d $(NAN_STRING)/lib/debug ] || mkdir $(NAN_STRING)/lib/debug
-       cp -f $(DIR)/libstring.a $(NAN_STRING)/lib/
-       cp -f $(DIR)/debug/libstring.a $(NAN_STRING)/lib/debug/
+       @../tools/cpifdiff.sh $(DIR)/libstring.a $(NAN_STRING)/lib/
+       @../tools/cpifdiff.sh $(DIR)/debug/libstring.a $(NAN_STRING)/lib/debug/
 ifeq ($(OS),darwin)
        ranlib $(NAN_STRING)/lib/libstring.a
        ranlib $(NAN_STRING)/lib/debug/libstring.a
 endif
-       cp -f *.h $(NAN_STRING)/include/
+       @../tools/cpifdiff.sh *.h $(NAN_STRING)/include/