1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
35 ENABLE_EXCEPTIONS
=TRUE
37 # --- Settings -----------------------------------------------------
39 .INCLUDE
: settings.mk
40 CFLAGS
+= $(LFS_CFLAGS
)
41 CXXFLAGS
+= $(LFS_CFLAGS
)
43 # ------------------------------------------------------------------
46 BOOTSTRAPSCRIPT
=bootstrap.bat
47 BOOTSTRAPINI
=testbootstrap.ini
50 BOOTSTRAPSCRIPT
=bootstrap
51 BOOTSTRAPINI
=testbootstraprc
52 MY_SCRIPTCAT
=tr
-d
"\015" <
55 APP2OBJS
= $(OBJ
)$/testbootstrap.obj
60 APP2TARGET
= testbootstrap
61 APP2STDLIBS
= $(SALLIB
)
63 APP3OBJS
= $(OBJ
)$/test_salmain.obj
64 APP3TARGET
= test_salmain
65 APP3STDLIBS
= $(SALLIB
)
67 APP4OBJS
= $(OBJ
)$/test_salmainwithargs.obj
68 APP4TARGET
= test_salmainwithargs
69 APP4STDLIBS
= $(SALLIB
)
72 # --- Targets ------------------------------------------------------
76 $(BIN
)$/$(BOOTSTRAPSCRIPT
) \
77 $(BIN
)$/$(BOOTSTRAPINI
) \
78 $(BIN
)$/bootstraptest.ini \
79 $(BIN
)$/$(APP2TARGET
).bin \
80 $(BIN
)$/$(APP2TARGET
).Bin \
81 $(BIN
)$/$(APP2TARGET
).Exe \
86 ALL
: $(BIN
)$/$(APP2TARGET
).exe \
90 $(BIN
)$/$(APP2TARGET
).exe
: $(APP2TARGETN
)
94 echo
"CUSTOMINIVALUE=auxaux" > $@
95 echo
"INHERITED_OVERWRITTEN_VALUE=inherited_overwritten_value" >> $@
98 echo
"Default=defaultValue" > $@
102 ALL
: $(BIN
)$/ini.ini \
106 echo CUSTOMINIVALUE
=auxaux
> $@
107 echo INHERITED_OVERWRITTEN_VALUE
=inherited_overwritten_value
>> $@
111 echo Default
=defaultValue
> $@
115 $(BIN
)$/bootstrap.pl
:
118 $(BIN
)$/$(APP2TARGET
).bin
: $(APP2TARGETN
)
121 $(BIN
)$/$(APP2TARGET
).Bin
: $(APP2TARGETN
)
124 $(BIN
)$/$(APP2TARGET
).Exe
: $(APP2TARGETN
)
134 $(BIN
)$/$(BOOTSTRAPSCRIPT
) : $(BOOTSTRAPSCRIPT
)
135 $(MY_SCRIPTCAT
) $(BOOTSTRAPSCRIPT
) > $@
140 $(BIN
)$/$(BOOTSTRAPINI
) : $(APP2TARGET
).ini
141 $(MY_SCRIPTCAT
) $(APP2TARGET
).ini
> $@
143 $(BIN
)$/bootstraptest.ini
: bootstraptest.ini
144 $(MY_SCRIPTCAT
) bootstraptest.ini
> $@
147 # --- SO2-Filter-Datei ---
149 $(MISC
)$/tsl
$(DLLPOSTFIX
).flt
:
150 @echo
------------------------------