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 24 25 26$(CLASSDIR)/com/sun/star/upd/$(VERSIONINFOFILE)_updversion.class .PHONY: $(MISC)/java/com/sun/star/upd/$(VERSIONINFOFILE)_updversion.java 27 28$(MISC)/java/com/sun/star/upd/$(VERSIONINFOFILE)_updversion.java .PHONY: 29 @echo "Making: " $(@:f) 30 @-$(MKDIRHIER) $(MISC)/java/com/sun/star/upd 31.IF "$(GUI)"=="UNX" 32 @echo package com.sun.star.upd\; > $@ 33 @echo 'public class $(VERSIONINFOFILE)_updversion { public static String Version = "$(RSCREVISION)";}' >> $@ 34.ELSE # "$(GUI)"=="UNX" 35 @echo package com.sun.star.upd; > $@ 36 @echo public class $(VERSIONINFOFILE)_updversion { public static String Version = "$(RSCREVISION)";} >> $@ 37.ENDIF # "$(GUI)"=="UNX" 38 39.IF "$(JAVATARGET)"!="" 40.IF "$(PACKAGE)"!="" 41$(CLASSDIR)/$(PACKAGE)/%.class .NOINFER .IGNORE : %.java 42 $(COMMAND_ECHO)-$(RM) $(JAVATARGET) 43.ELSE # "$(PACKAGE)"!="" 44$(CLASSDIR)/%.class .NOINFER .IGNORE : %.java 45 $(COMMAND_ECHO)-$(RM) $(JAVATARGET) 46.ENDIF # "$(PACKAGE)"!="" 47 48$(JAVATARGET) : $(JAVAFILES) $(JAVACLASSFILES) 49.IF "$(JAVARESPONSE)"!="" 50 $(JAVAC) @<< 51 $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES) 52 <<keep 53.ELSE # "$(JAVARESPONSE)"!="" 54.IF "$(use_jdep)"!="" 55 $(JAVAC) -depend $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES) 56.ELSE # "$(use_jdep)"!="" 57.IF "$(javauno)"!="" 58.IF "$(JAVAFILES:d)"=="" 59 $(JAVAC) $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES) 60.ELSE # "$(JAVAFILES:d)"=="" 61 @@$(TOUCH) $(INPATH)_$(VCSID)_a_dummy.java 62 $(JAVAC) $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) ./*.java $(uniq $(JAVAFILES:d:+"*.java")) 63 @@-$(RM) $(INPATH)_$(VCSID)_a_dummy.java 64.ENDIF # "$(JAVAFILES:d)"=="" 65.ELSE # "$(javauno)"!="" 66 $(JAVAC) $(JAVACPS) "$(CLASSPATH)" -d $(CLASSDIR) $(JAVAFLAGS) @$(mktmp $(strip $(JAVAFILES))) 67.ENDIF # "$(javauno)"!="" 68.ENDIF # "$(use_jdep)"!="" 69.ENDIF # "$(JAVARESPONSE)"!="" 70.IF "$(UPDATER)"!="" 71.IF "$(OS)$(CPU)"=="SOLARISS" 72 @@-find $(CLASSDIR) -type d -user $(USER) \! -perm -5 -print | xargs chmod a+r $$1 73.ENDIF 74.ENDIF 75 @$(TOUCH) $@ 76 77.ENDIF # "$(JAVATARGET)"!="" 78