Makefile revision ed31198c686205a26320612d2a5dd7b26ae63a15
335N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
335N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1127N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
335N/A#
477N/A
477N/ALIBRARY= libtnf.a
0N/AVERS= .1
123N/AOBJECTS= $(MACH)dep.o \
0N/A ref.o \
1127N/A abi.o \
0N/A util.o \
0N/A info.o \
0N/A datum.o \
0N/A record.o \
1108N/A scalar.o \
1108N/A array.o \
1108N/A struct.o \
1108N/A type.o \
1108N/A error.o \
1108N/A access.o \
1108N/A reader.o
1108N/A
1108N/Ainclude ../Makefile.lib
1108N/A
1108N/ASRCDIR = .
1108N/A
1108N/ATEXT_DOMAIN= SUNW_OST_OSLIB
1108N/AXGETFLAGS= -a
1108N/APOFILE= $(LIBRARY:%.a=%.po)
1108N/APOFILES= _error.po
1108N/A
1108N/ASED= sed
1108N/AGREP= grep
1108N/A
1108N/ALIBS= $(DYNLIB)
1108N/A
1108N/ALDLIBS += -lc
1108N/A
1108N/AHDRS= tnf.h
1108N/AROOTHDRDIR= $(ROOT)/usr/include/tnf
1108N/AROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
850N/ACHECKHDRS= $(HDRS:%.h=%.check)
962N/A$(ROOTHDRS) := FILEMODE = 0644
962N/ACHECKHDRS = $(HDRS:%.h=%.check)
962N/A
962N/A$(ROOTHDRS) := FILEMODE = 644
962N/A
850N/ACPPFLAGS += -D_DATUM_MACROS -D_REENTRANT
962N/A
962N/ALINTFLAGS += -y
962N/A
850N/A.KEEP_STATE:
962N/A
962N/Aall: $(LIBS)
850N/A
1108N/Ainstall: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
1108N/A
1108N/Ainstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
1108N/A
1108N/Alint:
1108N/A $(LINT.c) $(SRCS)
1108N/A
1108N/Acheck: $(CHECKHDRS)
1108N/A
1108N/A$(ROOTLIBDIR) $(ROOTHDRDIR):
1108N/A $(INS.dir)
1108N/A
1108N/A$(ROOTHDRDIR)/% : %
1108N/A $(INS.file)
1108N/A
1108N/AASFLAGS= $(AS_PICFLAGS) -P -D_SYS_SYS_S -D_LOCORE -D_ASM -DPIC -DLOCORE $(CPPFLAGS)
1108N/ABUILD.s= $(AS) $(ASFLAGS) $< -o $@
1108N/A
1108N/Apics/%.o: ./%.s
1108N/A $(BUILD.s)
1108N/A $(POST_PROCESS_O)
1108N/A
1108N/Aobjs/%.o: ./%.s
1108N/A $(BUILD.s)
1108N/A $(POST_PROCESS_O)
1108N/A
1108N/A_msg: $(MSGDOMAIN) $(POFILE)
1108N/A $(RM) $(MSGDOMAIN)/$(POFILE)
1108N/A $(CP) $(POFILE) $(MSGDOMAIN)
1108N/A
1108N/A$(POFILE): $(POFILES)
1108N/A $(RM) $@
1108N/A $(CAT) $(POFILES) > $@
1108N/A
1108N/A$(POFILES):
1108N/A $(RM) messages.po
1108N/A $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]*`
1108N/A $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
1108N/A $(RM) messages.po
1108N/A
1108N/Ainclude ../Makefile.targ
1108N/A