1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License, Version 1.0 only 6 # (the "License"). You may not use this file except in compliance 7 # with the License. 8 # 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 # or http://www.opensolaris.org/os/licensing. 11 # See the License for the specific language governing permissions 12 # and limitations under the License. 13 # 14 # When distributing Covered Code, include this CDDL HEADER in each 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 # If applicable, add the following below this CDDL HEADER, with the 17 # fields enclosed by brackets "[]" replaced with your own identifying 18 # information: Portions Copyright [yyyy] [name of copyright owner] 19 # 20 # CDDL HEADER END 21 # 22 # 23 # Copyright (c) 2000-2001 by Sun Microsystems, Inc. 24 # All rights reserved. 25 # 26 # lib/libfru/Makefile 27 # 28 #pragma ident "%Z%%M% %I% %E% SMI" 29 # 30 31 include $(SRC)/lib/Makefile.lib 32 33 SUBDIRS = libfrureg $(MACH) 34 $(BUILD64)SUBDIRS += $(MACH64) 35 SUBDIRS += .WAIT libfrupicl libfrupicltree 36 37 # conditional assignments 38 all := TARGET= all 39 install := TARGET= install 40 clean := TARGET= clean 41 clobber := TARGET= clobber 42 lint := TARGET= lint 43 _msg := TARGET= _msg 44 45 POFILE= libfru.po 46 47 .KEEP_STATE: 48 49 all install clean clobber lint: $(SUBDIRS) 50 51 _msg: $(MSGDOMAIN) $(POFILE) 52 $(RM) $(MSGDOMAIN)/$(POFILE) 53 $(CP) $(POFILE) $(MSGDOMAIN) 54 55 $(POFILE): 56 $(RM) $@ messages.po 57 $(XGETTEXT) $(XGETFLAGS) *.[ch]* */*.[ch]* 58 $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 59 $(RM) messages.po 60 61 $(MSGDOMAIN): 62 $(INS.dir) 63 64 clobber: po_clean 65 66 po_clean: 67 $(RM) $(POFILE) 68 69 check: $(CHECKHDRS) 70 71 $(SUBDIRS): FRC 72 @cd $@; pwd; $(MAKE) $(TARGET) 73 74 FRC: 75