2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
26 ENABLE_EXCEPTIONS
=TRUE
28 # --- Settings -----------------------------------------------------
30 .INCLUDE
: settings.mk
31 CFLAGS
+= $(LFS_CFLAGS
)
32 CXXFLAGS
+= $(LFS_CFLAGS
)
34 # ------------------------------------------------------------------
37 BOOTSTRAPSCRIPT
=bootstrap.bat
38 BOOTSTRAPINI
=testbootstrap.ini
41 BOOTSTRAPSCRIPT
=bootstrap
42 BOOTSTRAPINI
=testbootstraprc
43 MY_SCRIPTCAT
=tr
-d
"\015" <
46 APP2OBJS
= $(OBJ
)$/testbootstrap.obj
51 APP2TARGET
= testbootstrap
52 APP2STDLIBS
= $(SALLIB
)
54 APP3OBJS
= $(OBJ
)$/test_salmain.obj
55 APP3TARGET
= test_salmain
56 APP3STDLIBS
= $(SALLIB
)
58 APP4OBJS
= $(OBJ
)$/test_salmainwithargs.obj
59 APP4TARGET
= test_salmainwithargs
60 APP4STDLIBS
= $(SALLIB
)
63 # --- Targets ------------------------------------------------------
67 $(BIN
)$/$(BOOTSTRAPSCRIPT
) \
68 $(BIN
)$/$(BOOTSTRAPINI
) \
69 $(BIN
)$/bootstraptest.ini \
70 $(BIN
)$/$(APP2TARGET
).bin \
71 $(BIN
)$/$(APP2TARGET
).Bin \
72 $(BIN
)$/$(APP2TARGET
).Exe \
77 ALL
: $(BIN
)$/$(APP2TARGET
).exe \
81 $(BIN
)$/$(APP2TARGET
).exe
: $(APP2TARGETN
)
85 echo
"CUSTOMINIVALUE=auxaux" > $@
86 echo
"INHERITED_OVERWRITTEN_VALUE=inherited_overwritten_value" >> $@
89 echo
"Default=defaultValue" > $@
93 ALL
: $(BIN
)$/ini.ini \
97 echo CUSTOMINIVALUE
=auxaux
> $@
98 echo INHERITED_OVERWRITTEN_VALUE
=inherited_overwritten_value
>> $@
102 echo Default
=defaultValue
> $@
106 $(BIN
)$/bootstrap.pl
:
109 $(BIN
)$/$(APP2TARGET
).bin
: $(APP2TARGETN
)
112 $(BIN
)$/$(APP2TARGET
).Bin
: $(APP2TARGETN
)
115 $(BIN
)$/$(APP2TARGET
).Exe
: $(APP2TARGETN
)
125 $(BIN
)$/$(BOOTSTRAPSCRIPT
) : $(BOOTSTRAPSCRIPT
)
126 $(MY_SCRIPTCAT
) $(BOOTSTRAPSCRIPT
) > $@
131 $(BIN
)$/$(BOOTSTRAPINI
) : $(APP2TARGET
).ini
132 $(MY_SCRIPTCAT
) $(APP2TARGET
).ini
> $@
134 $(BIN
)$/bootstraptest.ini
: bootstraptest.ini
135 $(MY_SCRIPTCAT
) bootstraptest.ini
> $@
138 # --- SO2-Filter-Datei ---
140 $(MISC
)$/tsl
$(DLLPOSTFIX
).flt
:
141 @echo
------------------------------