Makefile revision 13cfc9727689eaa4573ca1edb5dd32f9adc5e18c
375N/A#
375N/A# CDDL HEADER START
375N/A#
375N/A# The contents of this file are subject to the terms of the
375N/A# Common Development and Distribution License (the "License").
375N/A# You may not use this file except in compliance with the License.
375N/A#
375N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
375N/A# or http://www.opensolaris.org/os/licensing.
375N/A# See the License for the specific language governing permissions
375N/A# and limitations under the License.
375N/A#
375N/A# When distributing Covered Code, include this CDDL HEADER in each
375N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
375N/A# If applicable, add the following below this CDDL HEADER, with the
375N/A# fields enclosed by brackets "[]" replaced with your own identifying
375N/A# information: Portions Copyright [yyyy] [name of copyright owner]
375N/A#
375N/A# CDDL HEADER END
375N/A#
5680N/A
375N/A#
5680N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5680N/A# Use is subject to license terms.
5680N/A#
375N/A# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
375N/A#
375N/A
375N/Ainclude ./Makefile.lp
375N/A
844N/ASUBDIRS = filter crontab lib cmd model
844N/A
375N/AMSGSUBDIRS = filter lib cmd model
1258N/A
375N/AROOTDIRS = \
375N/A $(ROOTLIBLP) \
375N/A $(ROOTLIBLP)/bin \
375N/A $(ROOTLIBLP)/model \
375N/A $(ROOTLIBLPLOCL) \
375N/A $(ROOTLIB)/print \
375N/A $(LPOWNSDIRS)
375N/ALPOWNSDIRS = \
375N/A $(ROOTETCLP) \
844N/A $(ROOTETCLP)/classes \
844N/A $(ROOTETCLP)/forms \
375N/A $(ROOTETCLP)/interfaces \
4194N/A $(ROOTETCLP)/printers \
2899N/A $(ROOTETCLP)/pwheels \
2899N/A $(ROOTETCLP)/ppd \
2899N/A $(ROOTVAR)/lp \
4194N/A $(ROOTVAR)/lp/logs \
375N/A $(ROOTVARSP)/lp \
5680N/A $(ROOTVARSP)/lp/admins \
375N/A $(ROOTVARSP)/lp/requests \
375N/A $(ROOTVARSP)/lp/system
375N/A
375N/ASYMDIR1 = $(ROOTVARSP)/lp/admins/lp
375N/ASYMDIR2 = $(ROOTVARSP)/lp/bin
375N/ASYMDIR3 = $(ROOTVARSP)/lp/logs
375N/ASYMDIR4 = $(ROOTETCLP)/logs
375N/ASYMDIR5 = $(ROOTVARSP)/lp/model
375N/A
375N/A$(SYMDIR1) := SYMLNKDEST = ../../../../etc/lp
375N/A$(SYMDIR2) := SYMLNKDEST = ../../../usr/lib/lp/bin
3725N/A$(SYMDIR3) := SYMLNKDEST = ../../lp/logs
3725N/A$(SYMDIR4) := SYMLNKDEST = ../../var/lp/logs
3725N/A$(SYMDIR5) := SYMLNKDEST = ../../../usr/lib/lp/model
3725N/A
3725N/AROOTSYMLINKDIRS = $(SYMDIR1) $(SYMDIR2) $(SYMDIR3) $(SYMDIR4) $(SYMDIR5)
3725N/A
3725N/A$(ROOTVAR)/lp := DIRMODE = 775
3854N/A$(ROOTVAR)/lp/logs := DIRMODE = 775
3854N/A$(ROOTETCLP) := DIRMODE = 775
3854N/A$(ROOTETCLP)/classes := DIRMODE = 775
3725N/A$(ROOTETCLP)/forms := DIRMODE = 775
5680N/A$(ROOTETCLP)/interfaces := DIRMODE = 775
375N/A$(ROOTETCLP)/printers := DIRMODE = 775
375N/A$(ROOTETCLP)/pwheels := DIRMODE = 775
375N/A$(ROOTETCLP)/ppd := DIRMODE = 775
375N/A$(ROOTVARSP)/lp := DIRMODE = 775
3817N/A$(ROOTVARSP)/lp/admins := DIRMODE = 775
$(ROOTVARSP)/lp/requests := DIRMODE = 775
$(ROOTVARSP)/lp/system := DIRMODE = 775
$(ROOTLIB)/print := DIRMODE = 0755
POFILE= lp.po
POFILES= lp_*.po
.KEEP_STATE:
all: $(TXTS) $(SUBDIRS)
#
# Each message catalog file is generated in each sub
# directory and copied to the usr/src/cmd/lp/ directory.
# Those message catalog files are consolidated into one
# message catalog file. The consolidated one will be copied
# into the $(ROOT)/catalog/SUNW_OST_OSCMD/ directory.
#
_msg: $(MSGDOMAINPOFILE)
$(POFILE): $(MSGSUBDIRS) pofile_POFILES
install: $(ROOTDIRS) $(ROOTSYMLINKDIRS) $(SUBDIRS)
clean strip lint: $(SUBDIRS)
clobber: $(SUBDIRS) local_clobber
local_clobber:
$(RM) $(CLOBBERFILES)
$(ROOTDIRS) :
$(INS.dir)
$(ROOTSYMLINKDIRS) :
-$(RM) $@; $(SYMLINK) $(SYMLNKDEST) $@
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
include $(SRC)/Makefile.msg.targ