equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
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) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../../make-rules/shared-macros.mk |
23 include ../../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= perftest |
25 COMPONENT_NAME= perftest |
26 COMPONENT_VERSION= 1.3.0 |
26 COMPONENT_VERSION= 1.3.0 |
58 COMMON_ARGS += INSTALL=$(INSTALL) |
58 COMMON_ARGS += INSTALL=$(INSTALL) |
59 COMMON_ARGS += BINDIR=$(CONFIGURE_BINDIR.$(BITS)) |
59 COMMON_ARGS += BINDIR=$(CONFIGURE_BINDIR.$(BITS)) |
60 COMPONENT_BUILD_ARGS += $(COMMON_ARGS) |
60 COMPONENT_BUILD_ARGS += $(COMMON_ARGS) |
61 COMPONENT_INSTALL_ARGS += $(COMMON_ARGS) |
61 COMPONENT_INSTALL_ARGS += $(COMMON_ARGS) |
62 |
62 |
|
63 # need to translate ctrl-M in downloaded send_bw.c |
|
64 COMPONENT_POST_UNPACK_ACTION= \ |
|
65 cd $(@D); \ |
|
66 /usr/bin/tr -d '\r' < send_bw.c > send_bw.c.tmp; \ |
|
67 mv send_bw.c.tmp send_bw.c; \ |
|
68 cd ..; |
|
69 |
63 COMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure |
70 COMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure |
64 |
71 |
65 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
72 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
66 |
73 |
67 # common targets |
74 # common targets |