8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / tools / tokenize / Makefile
blobe1ee198e9e53f22bf8a5a169efd58522f76a22ef
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 SHFILES= tokenize
27 BINARIES= forth_preload.so.1 forth tokenize.exe
29 LIBRARY = forth_preload.a
30 VERS = .1
31 OBJECTS = forth_preload.o asmsubr.o
33 CLOBBERFILES = $(SHFILES)
35 include $(SRC)/lib/Makefile.lib
36 include ../Makefile.tools
38 LIBS = $(DYNLIB)
40 MAPFILES =
42 DYNFLAGS += $(ZINTERPOSE)
43 LDLIBS = -lc
45 ASFLAGS += -P -D_ASM
47 .KEEP_STATE:
49 all: $(SHFILES) $(BINARIES)
51 install: all .WAIT $(ROOTONBLDMACHSHFILES) $(ROOTONBLDMACHBINARIES)
53 include $(SRC)/lib/Makefile.targ
55 pics/%.o: %.c
56 $(COMPILE.c) -o $@ $<
57 $(POST_PROCESS_O)
59 pics/%.o: %.s
60 $(AS) $(ASFLAGS) -o $@ $<
61 $(POST_PROCESS_O)