tools/Makefile
changeset 16 33aaaec59991
parent 9 97fb557d9979
child 774 d0cbca26a17c
equal deleted inserted replaced
15:21f7a7ab78ba 16:33aaaec59991
    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 #
    22 #
    23 
    23 
    24 include ../make-rules/shared-macros.mk
    24 include ../make-rules/shared-macros.mk
    25 
    25 
    26 download setup prep build install publish validate:	time.o
    26 download setup prep build install publish validate:	time-$(MACH32).so \
       
    27 							time-$(MACH64).so
    27 
    28 
    28 clean clobber:
    29 time-$(MACH64).o:			BITS=64
    29 	$(RM) time.o
    30 time-$(MACH32).o time-$(MACH64).o:	CFLAGS += -Kpic
       
    31 
       
    32 time-$(MACH32).o time-$(MACH64).o:	time.c
       
    33 	$(CC) $(CFLAGS) -c -o [email protected] $<
       
    34 
       
    35 time-%.so:	time-%.o
       
    36 	$(LD) -G -o [email protected] $<
       
    37 
       
    38 clean:
       
    39 	$(RM) time-*.o
       
    40 
       
    41 clobber:	clean
       
    42 	$(RM) time-*.so