Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A#
70N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A
70N/APROG= loadkeys dumpkeys
70N/Asparc_SUBDIRS= type_4 type_6 type_101
70N/Appc_SUBDIRS= type_101
70N/Ai386_SUBDIRS= type_6 type_101
70N/ASUBDIRS= $($(MACH)_SUBDIRS)
456N/ASRCS= $(PROG:%=%.c)
70N/A
70N/AROOTHELPER= $(ROOTLIB)/set_keyboard_layout
70N/Asparc_EXTRA_INSTALL_TARGETS=$(ROOTHELPER)
359N/Ai386_EXTRA_INSTALL_TARGETS=$(ROOTHELPER)
359N/AEXTRA_INSTALL_TARGETS= $($(MACH)_EXTRA_INSTALL_TARGETS)
359N/A
98N/Ainclude ../Makefile.cmd
321N/A
321N/ACERRWARN += -_gcc=-Wno-switch
213N/ACERRWARN += -_gcc=-Wno-implicit-function-declaration
304N/ACERRWARN += -_gcc=-Wno-unused-label
425N/ACERRWARN += -_gcc=-Wno-uninitialized
425N/A
325N/A.KEEP_STATE:
456N/A
320N/A.PARALLEL: $(SUBDIRS)
332N/A
231N/Aall: $(PROG) $(SUBDIRS)
98N/A
347N/Ainstall: $(PROG) $(ROOTPROG) $(SUBDIRS) $(EXTRA_INSTALL_TARGETS)
346N/A
425N/A$(ROOTLIB)/%: %
324N/A $(INS.file)
347N/A
310N/A# explicit yacc work for the NSE
316N/A#
290N/Aloadkeys.c: loadkeys.y
332N/A $(YACC.y) loadkeys.y
332N/A mv y.tab.c $@
332N/A
210N/Aloadkeys: loadkeys.c
128N/A $(LINK.c) -o $@ loadkeys.c $(LDLIBS)
414N/A $(POST_PROCESS)
326N/A
335N/Aall:= TARGET= all
425N/Ainstall:= TARGET= install
370N/Aclean:= TARGET= clean
70N/Aclobber:= TARGET= clobber
400N/Alint:= TARGET= lint
294N/A_msg:= TARGET= catalog
435N/A
98N/Aclobber: $(SUBDIRS)
434N/A $(RM) $(CLOBBERFILES)
277N/A
433N/Aclean: $(SUBDIRS)
356N/A $(RM) loadkeys.c
289N/A
326N/Alint:
439N/A $(LINT.c) dumpkeys.c $(LDLIBS)
290N/A
424N/A$(SUBDIRS): FRC
286N/A @cd $@; pwd; $(MAKE) $(TARGET)
90N/A
295N/AFRC:
70N/A