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 (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 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. 12 # 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] 18 # 19 # CDDL HEADER END 20 # 21 # 22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 # Use is subject to license terms. 24 # 25 #ident "%Z%%M% %I% %E% SMI" 26 # 27 28 # 29 # Section 1a: C object build rules 30 # 31 $(OBJS_DIR_OBJ64)/%.o: $(UTSBASE)/common/brand/lx/os/%.c 32 $(COMPILE.c) -D_ELF32_COMPAT -o $@ $< 33 $(CTFCONVERT_O) 34 35 $(OBJS_DIR_DBG64)/%.o: $(UTSBASE)/common/brand/lx/os/%.c 36 $(COMPILE.c) -D_ELF32_COMPAT -o $@ $< 37 $(CTFCONVERT_O) 38 39 $(OBJS_DIR_OBJ64)/%.o: $(UTSBASE)/common/brand/lx/syscall/%.c 40 $(COMPILE.c) -D_ELF32_COMPAT -o $@ $< 41 $(CTFCONVERT_O) 42 43 $(OBJS_DIR_DBG64)/%.o: $(UTSBASE)/common/brand/lx/syscall/%.c 44 $(COMPILE.c) -D_ELF32_COMPAT -o $@ $< 45 $(CTFCONVERT_O) 46 47 $(OBJS_DIR_OBJ64)/%.o: $(UTSBASE)/intel/brand/lx/%.s 48 $(COMPILE.s) -D_ELF32_COMPAT -o $@ $< 49 50 $(OBJS_DIR_OBJ64)/%.o: $(LX_CMN)/%.c 51 $(COMPILE.c) -o $@ $< 52 $(CTFCONVERT_O) 53 54 $(OBJS_DIR_DBG64)/%.o: $(UTSBASE)/intel/brand/lx/%.s 55 $(COMPILE.s) -D_ELF32_COMPAT -o $@ $< 56 57 $(OBJS_DIR)/%.o: $(UTSBASE)/common/brand/lx/os/%.c 58 $(COMPILE.c) -o $@ $< 59 $(CTFCONVERT_O) 60 61 $(OBJS_DIR)/%.o: $(UTSBASE)/common/brand/lx/syscall/%.c 62 $(COMPILE.c) -o $@ $< 63 $(CTFCONVERT_O) 64 65 $(OBJS_DIR)/%.o: $(LX_CMN)/%.c 66 $(COMPILE.c) -o $@ $< 67 $(CTFCONVERT_O) 68 69 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/brand/lx/%.s 70 $(COMPILE.s) -o $@ $< 71 72 # 73 # Section 1b: Lint `object' build rules. 74 # 75 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/brand/lx/os/%.c 76 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 77 78 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/brand/lx/syscall/%.c 79 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 80 81 $(LINTS_DIR)/%.ln: $(LX_CMN)/%.c 82 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 83 84 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/lx/%.s 85 @($(LHEAD) $(LINT.s) $< $(LTAIL))