equal
deleted
inserted
replaced
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 $@ $< |
|
34 |
|
35 time-%.so: time-%.o |
|
36 $(LD) -G -o $@ $< |
|
37 |
|
38 clean: |
|
39 $(RM) time-*.o |
|
40 |
|
41 clobber: clean |
|
42 $(RM) time-*.so |