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 .
20 PRJNAME
= location_test
21 PACKAGE
= com
$/sun
$/star
$/comp
$/smoketest
22 TARGET
= com_sun_star_comp_smoketest
24 # --- Settings -----------------------------------------------------
26 .INCLUDE
: settings.mk
28 JARFILES
= ridl.jar jurt.jar unoil.jar juh.jar
30 JARTARGET
= LocationTest.jar
32 CUSTOMMANIFESTFILE
= MANIFEST.MF
34 ZIP1TARGET
=locationtest
37 ZIP1DIR
=$(MISC
)$/$(TARGET
)
40 # --- Files --------------------------------------------------------
42 COPY_OXT_MANIFEST
:= $(MISC
)$/$(TARGET
)$/META-INF
$/manifest.xml
43 JAVAFILES
= LocationTest.java
45 # --- Targets ------------------------------------------------------
49 $(JARTARGETN
) : $(MISC
)$/$(TARGET
).javamaker.done
51 $(JAVACLASSFILES
) : $(MISC
)$/$(TARGET
).javamaker.done
53 $(MISC
)$/$(TARGET
).javamaker.done
: $(BIN
)$/LocationTest.rdb
54 $(JAVAMAKER
) -O
$(CLASSDIR
) -BUCR
-nD
-X
$(SOLARBINDIR
)/types.rdb
$<
57 $(BIN
)$/LocationTest.rdb
: LocationTest.idl
58 $(IDLC
) -O
$(MISC
) -I
$(SOLARIDLDIR
) -cid
-we
$<
60 $(REGMERGE
) $@
/UCR
$(MISC
)$/LocationTest.urd
62 $(MISC
)$/$(ZIP1TARGET
).createdir
:
63 +$(MKDIRHIER
) $(MISC
)$/$(TARGET
)$/META-INF
>& $(NULLDEV
) && $(TOUCH
) $@
65 $(MISC
)$/$(TARGET
)_resort
: manifest.xml
$(JARTARGETN
) $(MISC
)$/$(ZIP1TARGET
).createdir
$(BIN
)$/LocationTest.rdb description.xml
66 $(COPY
) manifest.xml
$(MISC
)$/$(TARGET
)$/META-INF
$/manifest.xml
67 $(COPY
) $(JARTARGETN
) $(MISC
)$/$(TARGET
)$/$(JARTARGET
)
68 $(COPY
) $(BIN
)$/LocationTest.rdb
$(MISC
)$/$(TARGET
)$/LocationTest.rdb
69 $(COPY
) description.xml
$(MISC
)$/$(TARGET
)$/description.xml
72 .IF
"$(ZIP1TARGETN)"!=""
73 $(ZIP1TARGETN
) : $(MISC
)$/$(TARGET
)_resort
$(MISC
)$/$(ZIP1TARGET
).createdir
75 .ENDIF
# "$(ZIP1TARGETN)"!=""