Kaydet (Commit) b796c129 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

no need to redefine gb_Helper_conert_native over and over again....

üst ace5147f
...@@ -42,11 +42,4 @@ include $(GBUILDDIR)/platform/unxgcc.mk ...@@ -42,11 +42,4 @@ include $(GBUILDDIR)/platform/unxgcc.mk
gb_CppunitTest_CPPTESTPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib:/usr/pkg/lib gb_CppunitTest_CPPTESTPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib:/usr/pkg/lib
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# vim: set noet sw=4: # vim: set noet sw=4:
...@@ -40,11 +40,4 @@ gb_COMPILERDEFAULTOPTFLAGS := -O2 ...@@ -40,11 +40,4 @@ gb_COMPILERDEFAULTOPTFLAGS := -O2
include $(GBUILDDIR)/platform/unxgcc.mk include $(GBUILDDIR)/platform/unxgcc.mk
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# vim: set noet sw=4: # vim: set noet sw=4:
...@@ -31,11 +31,4 @@ gb_LinkTarget_LDFLAGS += \ ...@@ -31,11 +31,4 @@ gb_LinkTarget_LDFLAGS += \
include $(GBUILDDIR)/platform/unxgcc.mk include $(GBUILDDIR)/platform/unxgcc.mk
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -157,13 +157,6 @@ define gb_Helper_convert_native ...@@ -157,13 +157,6 @@ define gb_Helper_convert_native
$(1) $(1)
endef endef
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# YaccObject class # YaccObject class
ifeq ($(CPUNAME),POWERPC) ifeq ($(CPUNAME),POWERPC)
......
...@@ -42,11 +42,4 @@ include $(GBUILDDIR)/platform/unxgcc.mk ...@@ -42,11 +42,4 @@ include $(GBUILDDIR)/platform/unxgcc.mk
gb_CppunitTest_CPPTESTPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib:/usr/pkg/lib:/usr/X11R7/lib gb_CppunitTest_CPPTESTPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib:/usr/pkg/lib:/usr/X11R7/lib
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# vim: set noet sw=4: # vim: set noet sw=4:
...@@ -61,11 +61,4 @@ mkdir -p $(dir $(1)) && \ ...@@ -61,11 +61,4 @@ mkdir -p $(dir $(1)) && \
-o $(1)) -o $(1))
endef endef
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# vim: set noet sw=4: # vim: set noet sw=4:
...@@ -138,13 +138,6 @@ define gb_Helper_convert_native ...@@ -138,13 +138,6 @@ define gb_Helper_convert_native
$(1) $(1)
endef endef
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(1)
endef
# CObject class # CObject class
......
...@@ -211,16 +211,6 @@ else ...@@ -211,16 +211,6 @@ else
gb_Helper_set_ld_path := LD_LIBRARY_PATH=$(OUTDIR_FOR_BUILD)/lib gb_Helper_set_ld_path := LD_LIBRARY_PATH=$(OUTDIR_FOR_BUILD)/lib
endif endif
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(patsubst -I$(OUTDIR)%,-I$(gb_Helper_OUTDIR_NATIVE)%, \
$(patsubst $(OUTDIR)%,$(gb_Helper_OUTDIR_NATIVE)%, \
$(patsubst $(WORKDIR)%,$(gb_Helper_WORKDIR_NATIVE)%, \
$(patsubst $(SRCDIR)%,$(gb_Helper_SRCDIR_NATIVE)%, \
$(1)))))
endef
# convert parameters filesystem root to native notation # convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to # does some real work only on windows, make sure not to
# break the dummy implementations on unx* # break the dummy implementations on unx*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment