1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
39 ENABLE_EXCEPTIONS
=TRUE
43 # --- Settings -----------------------------------------------------
44 .INCLUDE
: settings.mk
45 CFLAGS
+= $(LFS_CFLAGS
)
46 CXXFLAGS
+= $(LFS_CFLAGS
)
47 # ------------------------------------------------------------------
50 BOOTSTRAPSCRIPT
=bootstrap.bat
51 BOOTSTRAPINI
=testbootstrap.ini
54 BOOTSTRAPSCRIPT
=bootstrap
55 BOOTSTRAPINI
=testbootstraprc
56 MY_SCRIPTCAT
=tr
-d
"\015" <
59 APP2OBJS
= $(OBJ
)$/testbootstrap.obj
64 APP2TARGET
= testbootstrap
65 APP2STDLIBS
= $(SALLIB
)
67 APP3OBJS
= $(OBJ
)$/test_salmain.obj
68 APP3TARGET
= test_salmain
69 APP3STDLIBS
= $(SALLIB
)
71 APP4OBJS
= $(OBJ
)$/test_salmainwithargs.obj
72 APP4TARGET
= test_salmainwithargs
73 APP4STDLIBS
= $(SALLIB
)
76 # --- Targets ------------------------------------------------------
79 $(BIN
)$/$(BOOTSTRAPSCRIPT
) \
80 $(BIN
)$/$(BOOTSTRAPINI
) \
81 $(BIN
)$/bootstraptest.ini \
82 $(BIN
)$/$(APP2TARGET
).bin \
83 $(BIN
)$/$(APP2TARGET
).Bin \
84 $(BIN
)$/$(APP2TARGET
).Exe \
89 ALL
: $(BIN
)$/$(APP2TARGET
).exe \
93 $(BIN
)$/$(APP2TARGET
).exe
: $(APP2TARGETN
)
97 echo
"CUSTOMINIVALUE=auxaux" > $@
98 echo
"INHERITED_OVERWRITTEN_VALUE=inherited_overwritten_value" >> $@
101 echo
"Default=defaultValue" > $@
105 ALL
: $(BIN
)$/ini.ini \
109 echo CUSTOMINIVALUE
=auxaux
> $@
110 echo INHERITED_OVERWRITTEN_VALUE
=inherited_overwritten_value
>> $@
114 echo Default
=defaultValue
> $@
118 $(BIN
)$/bootstrap.pl
:
121 $(BIN
)$/$(APP2TARGET
).bin
: $(APP2TARGETN
)
124 $(BIN
)$/$(APP2TARGET
).Bin
: $(APP2TARGETN
)
127 $(BIN
)$/$(APP2TARGET
).Exe
: $(APP2TARGETN
)
137 $(BIN
)$/$(BOOTSTRAPSCRIPT
) : $(BOOTSTRAPSCRIPT
)
138 $(MY_SCRIPTCAT
) $(BOOTSTRAPSCRIPT
) > $@
143 $(BIN
)$/$(BOOTSTRAPINI
) : $(APP2TARGET
).ini
144 $(MY_SCRIPTCAT
) $(APP2TARGET
).ini
> $@
146 $(BIN
)$/bootstraptest.ini
: bootstraptest.ini
147 $(MY_SCRIPTCAT
) bootstraptest.ini
> $@
150 # --- SO2-Filter-Datei ---
151 $(MISC
)$/tsl
$(DLLPOSTFIX
).flt
:
152 @echo
------------------------------