8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / audio / samples / Makefile
blob42bf29eb1f2a87db1157246087356f7507eb2fda
2 # CDDL HEADER START
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.
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.
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]
20 # CDDL HEADER END
23 # Copyright (c) 2001 by Sun Microsystems, Inc.
24 # All rights reserved.
26 #ident "%Z%%M% %I% %E% SMI"
28 # cmd/audio/samples/Makefile
31 include ../../Makefile.cmd
33 SUBDIRS = au
35 SOUNDS= sounds
37 SAMPSUBDIR= share/audio/samples
38 SAMPDIR= $(ROOT)/usr/$(SAMPSUBDIR)
39 DEMODIR= $(ROOT)/usr/demo/SOUND
40 SOUNDLINK= $(DEMODIR)/$(SOUNDS)
42 all := TARGET= all
43 install := TARGET= install
44 clean := TARGET= clean
45 clobber := TARGET= clobber
46 lint := TARGET= lint
47 _msg := TARGET= _msg
49 .KEEP_STATE:
51 all clean clobber _msg lint: $(SUBDIRS)
53 install: $(SAMPDIR) $(DEMODIR) $(SOUNDLINK) $(SUBDIRS)
55 $(SAMPDIR):
56 $(INS.dir)
58 $(DEMODIR):
59 $(INS.dir)
61 $(SOUNDLINK): FRC
62 $(RM) $(DEMODIR)/$(SOUNDS)
63 -cd $(DEMODIR); pwd; $(SYMLINK) ../../$(SAMPSUBDIR)/au $(SOUNDS)
65 $(SUBDIRS): FRC
66 @cd $@; pwd; $(MAKE) $(TARGET)
68 FRC: