summaryrefslogtreecommitdiff
path: root/sal/rtl/source/makefile.mk
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-03-01 15:00:07 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-03-01 15:00:07 +0000
commita94140890406197b339fe0e0cc1f51605a311e8c (patch)
tree9d2f6fb06ef4e727a7e1985fb2be1314a03e42f1 /sal/rtl/source/makefile.mk
parent25e558a43d9f6ed22b16ef9804184738b412239d (diff)
INTEGRATION: CWS updatefeed3 (1.27.18); FILE MERGED
2007/02/27 11:57:39 obr 1.27.18.1: #i74775# generate rtlbootstrap.mk, which exposes _OS and _ARCH bootstrap variables for other makefiles
Diffstat (limited to 'sal/rtl/source/makefile.mk')
-rw-r--r--sal/rtl/source/makefile.mk19
1 files changed, 17 insertions, 2 deletions
diff --git a/sal/rtl/source/makefile.mk b/sal/rtl/source/makefile.mk
index 45548447018c..c95e64364c8d 100644
--- a/sal/rtl/source/makefile.mk
+++ b/sal/rtl/source/makefile.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.27 $
+# $Revision: 1.28 $
#
-# last change: $Author: vg $ $Date: 2007-01-16 16:03:17 $
+# last change: $Author: vg $ $Date: 2007-03-01 16:00:07 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -44,6 +44,8 @@ PROJECTPCH4DLL=TRUE
PROJECTPCH=cont_pch
PROJECTPCHSOURCE=cont_pch
+TARGETTYPE=CUI
+
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
@@ -120,6 +122,10 @@ OBJFILES= \
$(OBJ)$/logfile.obj \
$(OBJ)$/tres.obj \
$(OBJ)$/math.obj
+
+APP1TARGET=gen_makefile
+APP1OBJS=$(SLO)$/gen_makefile.obj
+APP1LIBSALCPPRT=
# --- Extra objs ----------------------------------------------------
@@ -142,6 +148,11 @@ SYSALLOCCDEFS+=-DFORCE_SYSALLOC
.ENDIF
+# --- Makefile snippet --------------------------------------------
+
+# used by e.g. update info file
+BOOTSTRAPMK = $(OUT)$/inc$/rtlbootstrap.mk
+
# --- Targets ------------------------------------------------------
.IF "$(ALWAYSDBG_FLAG)"==""
@@ -167,4 +178,8 @@ $(ALWAYSDBGFILES):
.ENDIF
.ENDIF
+ALLTAR : $(BOOTSTRAPMK)
+
+$(BOOTSTRAPMK) : $(APP1TARGETN)
+ $< > $@