makefile.mk (7871dc3e) makefile.mk (77f0f650)
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

--- 5 unchanged lines hidden (view full) ---

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
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

--- 5 unchanged lines hidden (view full) ---

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=swext
26TARGET=mediawiki
27GEN_HID=FALSE
28
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings ----------------------------------
32
33.INCLUDE : settings.mk
34
35DESCRIPTION:=$(MISC)$/$(TARGET)$/description.xml
22PRJ=..$/..
23PRJNAME=swext
24TARGET=mediawiki
25GEN_HID=FALSE
26
27ENABLE_EXCEPTIONS=TRUE
28
29# --- Settings ----------------------------------
30
31.INCLUDE : settings.mk
32
33DESCRIPTION:=$(MISC)$/$(TARGET)$/description.xml
34PACKLICS:=$(MISC)$/$(TARGET)$/license$/LICENSE
36
35
37# .IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT"
38# PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/license$/license_$i)
39# .ELSE
40PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/license$/LICENSE_$i)
41# .ENDIF
42
43common_build_zip=
44
45.INCLUDE : target.mk
46
36common_build_zip=
37
38.INCLUDE : target.mk
39
47.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT"
48$(PACKLICS) : $(SOLARBINDIR)$/osl$/license$$(@:b:s/_/./:e:s/./_/)$$(@:e).txt
49 @@-$(MKDIRHIER) $(@:d)
50 $(GNUCOPY) $< $@
51.ELSE
52$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE$$(@:b:s/_/./:e:s/./_/)$$(@:e)
53 @@-$(MKDIRHIER) $(@:d)
54 $(GNUCOPY) $< $@
55.ENDIF
56
57ALLTAR: $(PACKLICS) $(DESCRIPTION)
58
40ALLTAR: $(PACKLICS) $(DESCRIPTION)
41
59.INCLUDE .IGNORE : $(MISC)$/$(TARGET)_lang_track.mk
60.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
61PHONYDESC=.PHONY
62.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)"
63$(DESCRIPTION) $(PHONYDESC) : $$(@:f)
64 @@-$(MKDIRHIER) $(@:d)
65 $(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml license/LICENSE_xxx $@
66 @echo LAST_WITH_LANG=$(WITH_LANG) > $(MISC)$/$(TARGET)_lang_track.mk
42$(DESCRIPTION) : description.xml
43 @@-$(MKDIRHIER) $(@:d)
44 $(COPY) $< $@
45
46$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE_ALv2
47 @@-$(MKDIRHIER) $(@:d)
48 $(COPY) $< $@
49