1#ident "@(#)rules.loc 1.16 18/08/14 " 2########################################################################### 3# Written 1997 by J. Schilling 4########################################################################### 5# 6# Rules to localize files 7# 8########################################################################### 9# Copyright (c) J. Schilling 10########################################################################### 11# The contents of this file are subject to the terms of the 12# Common Development and Distribution License, Version 1.0 only 13# (the "License"). You may not use this file except in compliance 14# with the License. 15# 16# See the file CDDL.Schily.txt in this distribution for details. 17# A copy of the CDDL is also available via the Internet at 18# http://www.opensource.org/licenses/cddl1.txt 19# 20# When distributing Covered Code, include this CDDL HEADER in each 21# file and include the License file CDDL.Schily.txt from this distribution. 22########################################################################### 23PTARGET= $(ARCHDIR)/$(TARGET) 24########################################################################### 25# 26# We are doing a copy to $(ARCHDIR) to be able to have platform dependent 27# shell files in future. 28# 29########################################################################### 30_INSMODEI= $(_UNIQ)$(INSMODE) 31__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) 32INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) 33 34all localize: $(ARCHDIR) $(WAIT) $(PTARGET) $(MAN) 35 36$(PTARGET): $(SRCFILE) 37 $(LOCALIZE) $(SRCFILE) $@ 38 39# 40# gmake only. Other make implementations use a no-xxx/ prefix. 41# gmake calls prerequisites to the right of | as order-only-prerequisites 42# and does not evaluate the time stamp from such prerequisites. 43# 44$(GMAKE_ONLY)$(PTARGET): | $(ARCHDIR) 45 46$(ARCHDIR): 47 $(MKDIR) -p $@ 48 49########################################################################### 50include $(SRCROOT)/$(RULESDIR)/sub.htm 51include $(SRCROOT)/$(RULESDIR)/rules.clr 52include $(SRCROOT)/$(RULESDIR)/rules.ins 53include $(SRCROOT)/$(RULESDIR)/rules.tag 54include $(SRCROOT)/$(RULESDIR)/rules.hlp 55include $(SRCROOT)/$(RULESDIR)/dummy.dep 56########################################################################### 57