diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-03-17 12:12:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-03-17 12:12:55 +0200 |
commit | 052a270ff08f2f6eaf09d4589085f9be0e971cf0 (patch) | |
tree | 198a317d8422c776b3f1f42c343f6970ac40f771 /svtools | |
parent | c5f45ade775eca71753532ec28869533cb625b04 (diff) |
Cygwin fixes and cleanups
With realpath now called in AllLangResTarget.mk, we can revert the
explicit expansion of the symlinks to clone/libs-gui/toolkit in the
makefiles for the resources. Also remove unnecessary -I switches that
apparently have just been copy-pasted blindly.
Add realpath calls for -I switches to the makefiles for the
executables.
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/AllLangResTarget_productregistration.mk | 3 | ||||
-rw-r--r-- | svtools/AllLangResTarget_svt.mk | 6 | ||||
-rw-r--r-- | svtools/Executable_bmp.mk | 8 | ||||
-rw-r--r-- | svtools/Executable_bmpsum.mk | 6 | ||||
-rw-r--r-- | svtools/Executable_g2g.mk | 6 | ||||
-rw-r--r--[-rwxr-xr-x] | svtools/JunitTest_svtools_unoapi.mk | 0 | ||||
-rw-r--r-- | svtools/Library_hatchwindowfactory.mk | 4 | ||||
-rw-r--r-- | svtools/Library_productregistration.mk | 4 | ||||
-rw-r--r-- | svtools/Library_svt.mk | 8 |
9 files changed, 19 insertions, 26 deletions
diff --git a/svtools/AllLangResTarget_productregistration.mk b/svtools/AllLangResTarget_productregistration.mk index e6f2fd093f07..888e342fad64 100644 --- a/svtools/AllLangResTarget_productregistration.mk +++ b/svtools/AllLangResTarget_productregistration.mk @@ -38,9 +38,6 @@ $(eval $(call gb_SrsTarget_SrsTarget,svt/productregistration)) $(eval $(call gb_SrsTarget_set_include,svt/productregistration,\ $$(INCLUDE) \ -I$(WORKDIR)/inc \ - -I$(SRCDIR)/svtools/source/inc \ - -I$(SRCDIR)/svtools/inc/ \ - -I$(SRCDIR)/svtools/inc/svtools \ )) $(eval $(call gb_SrsTarget_add_files,svt/productregistration,\ diff --git a/svtools/AllLangResTarget_svt.mk b/svtools/AllLangResTarget_svt.mk index 6c13a6fcdb3f..0311c80d1316 100644 --- a/svtools/AllLangResTarget_svt.mk +++ b/svtools/AllLangResTarget_svt.mk @@ -38,10 +38,7 @@ $(eval $(call gb_SrsTarget_SrsTarget,svt/res)) $(eval $(call gb_SrsTarget_set_include,svt/res,\ $$(INCLUDE) \ -I$(WORKDIR)/inc \ - -I$(SRCDIR)/svtools/source/uno \ - -I$(SRCDIR)/svtools/source/inc \ - -I$(SRCDIR)/svtools/inc/ \ - -I$(SRCDIR)/svtools/inc/svtools \ + -I$(realpath $(SRCDIR)/svtools/source/inc) \ )) $(eval $(call gb_SrsTarget_add_files,svt/res,\ @@ -71,5 +68,4 @@ $(eval $(call gb_SrsTarget_add_files,svt/res,\ svtools/source/toolpanel/toolpanel.src \ )) - # vim: set noet sw=4 ts=4: diff --git a/svtools/Executable_bmp.mk b/svtools/Executable_bmp.mk index 4672bc41a86f..3b2fd2a1203c 100644 --- a/svtools/Executable_bmp.mk +++ b/svtools/Executable_bmp.mk @@ -32,10 +32,10 @@ $(eval $(call gb_Executable_set_include,bmp,\ -I$(WORKDIR)/inc/svtools \ -I$(WORKDIR)/inc/ \ -I$(OUTDIR)/inc/ \ - -I$(SRCDIR)/svtools/inc \ - -I$(SRCDIR)/svtools/inc/svtools \ - -I$(SRCDIR)/svtools/source/inc \ - -I$(SRCDIR)/svtools/inc/pch \ + -I$(realpath $(SRCDIR)/svtools/inc) \ + -I$(realpath $(SRCDIR)/svtools/inc/svtools) \ + -I$(realpath $(SRCDIR)/svtools/source/inc) \ + -I$(realpath $(SRCDIR)/svtools/inc/pch) \ -I$(OUTDIR)/inc/offuh \ )) diff --git a/svtools/Executable_bmpsum.mk b/svtools/Executable_bmpsum.mk index becfa3e00d70..492dabeb58f8 100644 --- a/svtools/Executable_bmpsum.mk +++ b/svtools/Executable_bmpsum.mk @@ -31,9 +31,9 @@ $(eval $(call gb_Executable_set_include,bmpsum,\ $$(INCLUDE) \ -I$(OUTDIR)/inc/ \ -I$(OUTDIR)/inc/offuh/ \ - -I$(SRCDIR)/svtools/inc/ \ - -I$(SRCDIR)/svtools/inc/pch/ \ - -I$(SRCDIR)/svtools/inc/svtools/ \ + -I$(realpath $(SRCDIR)/svtools/inc) \ + -I$(realpath $(SRCDIR)/svtools/inc/pch) \ + -I$(realpath $(SRCDIR)/svtools/inc/svtools) \ )) $(eval $(call gb_Executable_add_linked_libs,bmpsum,\ diff --git a/svtools/Executable_g2g.mk b/svtools/Executable_g2g.mk index 064c7ffe6d93..c817cff43ccd 100644 --- a/svtools/Executable_g2g.mk +++ b/svtools/Executable_g2g.mk @@ -31,9 +31,9 @@ $(eval $(call gb_Executable_set_include,g2g,\ $$(INCLUDE) \ -I$(OUTDIR)/inc/ \ -I$(OUTDIR)/inc/offuh/ \ - -I$(SRCDIR)/svtools/inc/ \ - -I$(SRCDIR)/svtools/inc/pch/ \ - -I$(SRCDIR)/svtools/inc/svtools/ \ + -I$(realpath $(SRCDIR)/svtools/inc) \ + -I$(realpath $(SRCDIR)/svtools/inc/pch) \ + -I$(realpath $(SRCDIR)/svtools/inc/svtools) \ )) $(eval $(call gb_Executable_add_linked_libs,g2g,\ diff --git a/svtools/JunitTest_svtools_unoapi.mk b/svtools/JunitTest_svtools_unoapi.mk index baaefc84c5be..baaefc84c5be 100755..100644 --- a/svtools/JunitTest_svtools_unoapi.mk +++ b/svtools/JunitTest_svtools_unoapi.mk diff --git a/svtools/Library_hatchwindowfactory.mk b/svtools/Library_hatchwindowfactory.mk index b92313e446d7..96e8f10c3306 100644 --- a/svtools/Library_hatchwindowfactory.mk +++ b/svtools/Library_hatchwindowfactory.mk @@ -33,9 +33,9 @@ $(eval $(call gb_Library_set_include,hatchwindowfactory,\ $$(INCLUDE) \ -I$(WORKDIR)/inc/svtools \ -I$(WORKDIR)/inc/ \ - -I$(SRCDIR)/svtools/inc/pch/ \ + -I$(realpath $(SRCDIR)/svtools/inc/pch) \ -I$(OUTDIR)/inc/ \ - -I$(SRCDIR)/svtools/inc \ + -I$(realpath $(SRCDIR)/svtools/inc) \ -I$(OUTDIR)/inc/offuh \ -I$(OUTDIR)/inc \ )) diff --git a/svtools/Library_productregistration.mk b/svtools/Library_productregistration.mk index 0732d909c32b..726e5a3b664b 100644 --- a/svtools/Library_productregistration.mk +++ b/svtools/Library_productregistration.mk @@ -33,9 +33,9 @@ $(eval $(call gb_Library_set_include,productregistration,\ $$(SOLARINC) \ -I$(WORKDIR)/inc/svtools \ -I$(WORKDIR)/inc/ \ - -I$(SRCDIR)/svtools/inc/pch/ \ + -I$(realpath $(SRCDIR)/svtools/inc/pch) \ -I$(OUTDIR)/inc/ \ - -I$(SRCDIR)/svtools/inc \ + -I$(realpath $(SRCDIR)/svtools/inc) \ -I$(OUTDIR)/inc/offuh \ -I$(OUTDIR)/inc \ )) diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk index b0fa12e3a2c4..da2721476c70 100644 --- a/svtools/Library_svt.mk +++ b/svtools/Library_svt.mk @@ -38,10 +38,10 @@ $(eval $(call gb_Library_set_include,svt,\ -I$(WORKDIR)/inc/svtools \ -I$(WORKDIR)/inc/ \ -I$(OUTDIR)/inc/ \ - -I$(SRCDIR)/svtools/inc \ - -I$(SRCDIR)/svtools/inc/svtools \ - -I$(SRCDIR)/svtools/source/inc \ - -I$(SRCDIR)/svtools/inc/pch \ + -I$(realpath $(SRCDIR)/svtools/inc) \ + -I$(realpath $(SRCDIR)/svtools/inc/svtools) \ + -I$(realpath $(SRCDIR)/svtools/source/inc) \ + -I$(realpath $(SRCDIR)/svtools/inc/pch) \ -I$(OUTDIR)/inc/offuh \ -I$(OUTDIR)/inc \ )) |