tools/Makefile
changeset 494 8346b431af59
parent 16 33aaaec59991
equal deleted inserted replaced
493:66a35caef41c 494:8346b431af59
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
    21 # Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
       
    22 # Copyright (c) 2012, Nexenta Systems, Inc.  All rights reserved.
    22 #
    23 #
    23 
    24 
    24 include ../make-rules/shared-macros.mk
    25 include ../make-rules/shared-macros.mk
    25 
    26 
    26 download setup prep build install publish validate:	time-$(MACH32).so \
    27 download setup prep build install publish validate:	time-$(MACH32).so \
    27 							time-$(MACH64).so
    28 							time-$(MACH64).so
    28 
    29 
    29 time-$(MACH64).o:			BITS=64
    30 time-$(MACH64).o:			BITS=64
    30 time-$(MACH32).o time-$(MACH64).o:	CFLAGS += -Kpic
    31 time-$(MACH32).o time-$(MACH64).o:	CFLAGS += $(CC_PIC)
    31 
    32 
    32 time-$(MACH32).o time-$(MACH64).o:	time.c
    33 time-$(MACH32).o time-$(MACH64).o:	time.c
    33 	$(CC) $(CFLAGS) -c -o $@ $<
    34 	$(CC) $(CFLAGS) -c -o $@ $<
    34 
    35 
    35 time-%.so:	time-%.o
    36 time-%.so:	time-%.o