50 #This macro will help to look for the configure |
50 #This macro will help to look for the configure |
51 #file at the pointed location |
51 #file at the pointed location |
52 CONFIGURE_SCRIPT = $(SOURCE_DIR)/unix/configure |
52 CONFIGURE_SCRIPT = $(SOURCE_DIR)/unix/configure |
53 |
53 |
54 CFLAGS += $(studio_XREGS) -xstrconst $(XPG6MODE) $(studio_C99_ENABLE) |
54 CFLAGS += $(studio_XREGS) -xstrconst $(XPG6MODE) $(studio_C99_ENABLE) |
|
55 LDFLAGS += $(CC_BITS) |
55 |
56 |
56 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
57 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
58 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
57 CONFIGURE_OPTIONS += --enable-shared |
59 CONFIGURE_OPTIONS += --enable-shared |
58 CONFIGURE_OPTIONS += --enable-man-symlinks |
60 CONFIGURE_OPTIONS += --enable-man-symlinks |
59 CONFIGURE_OPTIONS += --enable-threads |
61 CONFIGURE_OPTIONS += --enable-threads |
60 CONFIGURE_OPTIONS.32 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)" |
62 CONFIGURE_OPTIONS.32 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)" |
61 CONFIGURE_OPTIONS.64 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH64)" |
63 CONFIGURE_OPTIONS.64 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH64)" |
62 CONFIGURE_OPTIONS.64 += --enable-64bit |
64 CONFIGURE_OPTIONS.64 += --enable-64bit |
63 |
65 |
64 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
|
65 COMPONENT_TEST_TARGETS = test |
66 COMPONENT_TEST_TARGETS = test |
66 COMPONENT_TEST_TRANSFORMS += \ |
67 COMPONENT_TEST_TRANSFORMS += \ |
67 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \ |
68 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \ |
68 '-e "s|^.*tcl/build/$(MACH$(BITS)).*$$|XXX_CC_XXX|g"' \ |
69 '-e "s|^.*tcl/build/$(MACH$(BITS)).*$$|XXX_CC_XXX|g"' \ |
69 '-e "s|^cc: Warning: -xarch=v9 is deprecated.*$$|XXX_CC_XXX|g"' \ |
70 '-e "s|^cc: Warning: -xarch=v9 is deprecated.*$$|XXX_CC_XXX|g"' \ |
|
71 '-e "s|^cc: Warning: illegal use of -x.* option, .*$$|XXX_CC_XXX|g"' \ |
70 '-e "/^XXX_CC_XXX$$/d"' \ |
72 '-e "/^XXX_CC_XXX$$/d"' \ |
71 '-e "/^Tests began at .*$$/d"' \ |
73 '-e "/^Tests began at .*$$/d"' \ |
72 '-e "/^Tests ended at .*$$/d"' |
74 '-e "/^Tests ended at .*$$/d"' |
73 |
75 |
74 ASLR_MODE = $(ASLR_ENABLE) |
76 ASLR_MODE = $(ASLR_ENABLE) |