46 |
46 |
47 LINT_FLAGS += -I$(SOURCE_DIR)/src |
47 LINT_FLAGS += -I$(SOURCE_DIR)/src |
48 |
48 |
49 PKG_PROTO_DIRS += $(COMPONENT_SRC) |
49 PKG_PROTO_DIRS += $(COMPONENT_SRC) |
50 |
50 |
51 # We need to reset configure options here because aalib is confused with |
51 # Ensure ancient autoconf scripts are overwritten with fixed versions that |
52 # CC and CFLAGS definitions as configure parameters. |
52 # properly detect SunOS 5.x hosts. |
53 CONFIGURE_OPTIONS = --prefix=/usr |
53 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv) |
|
54 |
54 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
55 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
55 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR) |
|
56 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS)) |
|
57 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS)) |
|
58 CONFIGURE_OPTIONS += --enable-shared |
56 CONFIGURE_OPTIONS += --enable-shared |
59 CONFIGURE_OPTIONS += --disable-static |
57 CONFIGURE_OPTIONS += --disable-static |
60 CONFIGURE_OPTIONS += --x-includes=/usr/include |
58 CONFIGURE_OPTIONS += --x-includes=/usr/include |
61 CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
59 CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
62 CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS)) |
|
63 |
60 |
64 CONFIGURE_ENV += CC="$(CC)" |
|
65 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
61 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
66 |
62 |
67 COMPONENT_TEST_DIR = $(@D)/src |
63 COMPONENT_TEST_DIR = $(@D)/src |
68 COMPONENT_TEST_CMD = perl -E 'say "\n" x 40' | ./aatest |
64 COMPONENT_TEST_CMD = perl -E 'say "\n" x 40' | ./aatest |
69 COMPONENT_TEST_ARGS = -kbddriver stdin -driver stdout |
65 COMPONENT_TEST_ARGS = -kbddriver stdin -driver stdout |