1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ		= ..$/..$/..
25PRJNAME = location_test
26PACKAGE = com$/sun$/star$/comp$/smoketest
27TARGET  = com_sun_star_comp_smoketest
28
29no_common_build_zip:=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE : settings.mk
34
35JARFILES = ridl.jar jurt.jar unoil.jar juh.jar
36
37JARTARGET = LocationTest.jar
38JARCOMPRESS 	= TRUE
39CUSTOMMANIFESTFILE = MANIFEST.MF
40
41ZIP1TARGET=locationtest
42ZIP1LIST=*
43ZIPFLAGS=-r
44ZIP1DIR=$(MISC)$/$(TARGET)
45ZIP1EXT=.oxt
46
47# --- Files --------------------------------------------------------
48
49COPY_OXT_MANIFEST:= $(MISC)$/$(TARGET)$/META-INF$/manifest.xml
50JAVAFILES = LocationTest.java
51
52# --- Targets ------------------------------------------------------
53
54.INCLUDE :  target.mk
55
56$(JARTARGETN) : $(MISC)$/$(TARGET).javamaker.done
57
58$(JAVACLASSFILES) : $(MISC)$/$(TARGET).javamaker.done
59
60$(MISC)$/$(TARGET).javamaker.done: $(BIN)$/LocationTest.rdb
61    $(JAVAMAKER) -O$(CLASSDIR) -BUCR -nD -X$(SOLARBINDIR)/types.rdb $<
62    $(TOUCH) $@
63
64$(BIN)$/LocationTest.rdb: LocationTest.idl
65    $(IDLC) -O$(MISC) -I$(SOLARIDLDIR) -cid -we $<
66    +-$(RM) $@
67    $(REGMERGE) $@ /UCR $(MISC)$/LocationTest.urd
68
69$(MISC)$/$(ZIP1TARGET).createdir :
70	+$(MKDIRHIER) $(MISC)$/$(TARGET)$/META-INF >& $(NULLDEV) && $(TOUCH) $@
71
72$(MISC)$/$(TARGET)_resort : manifest.xml $(JARTARGETN) $(MISC)$/$(ZIP1TARGET).createdir $(BIN)$/LocationTest.rdb description.xml
73	$(COPY)  manifest.xml $(MISC)$/$(TARGET)$/META-INF$/manifest.xml
74	$(COPY)  $(JARTARGETN) $(MISC)$/$(TARGET)$/$(JARTARGET)
75	$(COPY)  $(BIN)$/LocationTest.rdb $(MISC)$/$(TARGET)$/LocationTest.rdb
76	$(COPY)  description.xml $(MISC)$/$(TARGET)$/description.xml
77	$(TOUCH) $@
78
79.IF "$(ZIP1TARGETN)"!=""
80$(ZIP1TARGETN) : $(MISC)$/$(TARGET)_resort $(MISC)$/$(ZIP1TARGET).createdir
81
82.ENDIF          # "$(ZIP1TARGETN)"!=""
83
84