summaryrefslogtreecommitdiff
path: root/sal/test/makefile.mk
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-05-17 08:17:03 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-05-17 08:17:03 +0000
commit44043f457f1cda1ffc76556b6dd17d8a40be63eb (patch)
treecbc85e8aef0bbe4d53eb92b8005c67a4d48c411f /sal/test/makefile.mk
parent26417119ff0af3ccb789e8bd74fc6312bb9df88b (diff)
#87127# tests for access functions for bootstrap values added
Diffstat (limited to 'sal/test/makefile.mk')
-rw-r--r--sal/test/makefile.mk50
1 files changed, 38 insertions, 12 deletions
diff --git a/sal/test/makefile.mk b/sal/test/makefile.mk
index 2af807bc3a87..15e9db4b8e58 100644
--- a/sal/test/makefile.mk
+++ b/sal/test/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
-# last change: $Author: sb $ $Date: 2001-05-09 12:51:08 $
+# last change: $Author: jbu $ $Date: 2001-05-17 09:14:17 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -65,18 +65,28 @@ PRJ=..
PRJNAME=sal
TARGET=saltest
TARGETTYPE=CUI
-
+LIBTARGET=NO
USE_LDUMP2=TRUE
#LDUMP2=LDUMP3
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
+# ------------------------------------------------------------------
+.IF "$(GUI)"=="WNT"
+BOOTSTRAPSCRIPT=bootstrap.bat
+BOOTSTRAPINI=testbootstrap.ini
+MY_SCRIPTCAT=cat
+.ELSE
+BOOTSTRAPSCRIPT=bootstrap
+BOOTSTRAPINI=testbootstraprc
+MY_SCRIPTCAT=tr -d "\015" <
+.ENDIF
-# ------------------------------------------------------------------
+APP2OBJS = $(OBJ)$/testbootstrap.obj
-OBJFILES= \
+APP1OBJS= \
$(OBJ)$/testprofile.obj \
$(OBJ)$/teststring.obj \
$(OBJ)$/testuuid.obj \
@@ -84,22 +94,38 @@ OBJFILES= \
$(OBJ)$/testbyteseq.obj \
$(OBJ)$/testuri.obj \
$(OBJ)$/test.obj
-# $(OBJ)$/testint64.obj \
-# $(OBJ)$/testowstring.obj \
+OBJFILES= \
+ $(APP1OBJS) \
+ $(APP2OBJS)
-APP2TARGET= test
-APP2OBJS= $(OBJFILES)
-APP2STDLIBS=$(SALLIB) $(TSLLIB)
-# APP2DEPN= $(SLB)$/sal.lib
+APP1TARGET= test
+APP1STDLIBS=$(SALLIB) $(TSLLIB)
+
+APP2TARGET = testbootstrap
+APP2STDLIBS = $(SALLIB)
# --- Targets ------------------------------------------------------
+.IF "$(depend)" == ""
+ALL : $(BIN)$/$(BOOTSTRAPSCRIPT) $(BIN)$/$(BOOTSTRAPINI) ALLTAR
+.ELSE
+ALL: ALLDEP
+.ENDIF
+
.INCLUDE : target.mk
-# --- SO2-Filter-Datei ---
+$(BIN)$/$(BOOTSTRAPSCRIPT) : $(BOOTSTRAPSCRIPT)
+ $(MY_SCRIPTCAT) $(BOOTSTRAPSCRIPT) > $@
+.IF "$(GUI)"!="WNT"
+ chmod ug+x $@
+.ENDIF
+$(BIN)$/$(BOOTSTRAPINI) : testbootstrap.ini
+ $(MY_SCRIPTCAT) testbootstrap.ini > $@
+
+# --- SO2-Filter-Datei ---
$(MISC)$/tsl$(UPD)$(DLLPOSTFIX).flt:
@echo ------------------------------
@echo Making: $@