4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 include $(SRC
)/Makefile.master
39 clean := TARGET
= clean
40 clobber := TARGET
= clobber
41 install := TARGET
= install
42 install_h
:= TARGET
= install_h
45 TEXT_DOMAIN
= SUNW_OST_OSLIB
50 all: $(TXTS
) $(SUBDIRS
)
53 # Each message catalog file is generated in each sub
54 # directory and copied to the usr/src/cmd/lp/ directory.
55 # Those message catalog files are consolidated into one
56 # message catalog file. The consolidated one will be copied
57 # into the $(ROOT)/catalog/SUNW_OST_OSCMD/ directory.
62 $(XGETTEXT
) -s
`/bin/find . -type d -name SCCS -prune -o -type f -name '*.c' -print`
63 @
/bin
/cat messages.po | sed
'/domain/d' > $(POFILE
)
65 $(RM
) $(MSGDOMAIN
)/$(POFILE
)
66 /bin
/cp
$(POFILE
) $(MSGDOMAIN
)
68 install: $(ROOTDIRS
) $(ROOTSYMLINKDIRS
) $(SUBDIRS
)
70 install_h
clean strip lint
: $(SUBDIRS
)
72 clobber: $(SUBDIRS
) local_clobber
75 $(RM
) $(CLOBBERFILES
) $(POFILE
)
78 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)
82 include $(SRC
)/Makefile.msg.targ
85 libpapi-dynamic
: libpapi-common
86 libpapi-lpd
: libpapi-dynamic
87 libipp-core
: libpapi-common
88 libpapi-ipp
: libpapi-common libipp-core libhttp-core
89 libipp-listener
: libpapi-dynamic libipp-core