Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews#
7d32c065c7bb56f281651ae3dd2888f32ce4f1d9Bob Halley# CDDL HEADER START
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews#
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# The contents of this file are subject to the terms of the
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# Common Development and Distribution License (the "License").
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# You may not use this file except in compliance with the License.
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews#
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# or http://www.opensolaris.org/os/licensing.
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# See the License for the specific language governing permissions
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# and limitations under the License.
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews#
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff#
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# CDDL HEADER END
f72fbb5d0b78c89ebf79314addea7ac402a415f1Michael Graff#
f72fbb5d0b78c89ebf79314addea7ac402a415f1Michael Graff#
f72fbb5d0b78c89ebf79314addea7ac402a415f1Michael Graff# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews# Use is subject to license terms.
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews#
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# ident "%Z%%M% %I% %E% SMI"
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews#
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyinclude ../../Makefile.lib
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark AndrewsSUBDIRS = $(MACH)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews$(BUILD64)SUBDIRS += $(MACH64)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrewsall := TARGET= all
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrewsclean := TARGET= clean
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrewsclobber := TARGET= clobber
f72fbb5d0b78c89ebf79314addea7ac402a415f1Michael Graffinstall := TARGET= install
f72fbb5d0b78c89ebf79314addea7ac402a415f1Michael Grafflint := TARGET= lint
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark AndrewsLIBRARY= libkadm5clnt.a
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark AndrewsPOFILE= $(LIBRARY:%.a=%.po)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark AndrewsPOFILES= generic.po
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews.KEEP_STATE:
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrewsall clean clobber install lint: $(SUBDIRS)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews_msg: $(MSGDOMAIN) .WAIT $(POFILE)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(RM) $(MSGDOMAIN)/$(POFILE)
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff $(CP) $(POFILE) $(MSGDOMAIN)
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson $(RM) $@
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(CAT) $(POFILES) > $@
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrewsgeneric.po: FRC
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(RM) messages.po
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch] *.[ch]`
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(SED) "/^domain/d" messages.po > $@
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(RM) messages.po
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews$(SUBDIRS): FRC
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews @cd $@; pwd; $(MAKE) $(TARGET)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark AndrewsFRC:
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson$(MSGDOMAIN):
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews $(INS.dir)
bdfffc68dbadd78147bce6f26f25f48e9283da84Mark Andrews