equal
deleted
inserted
replaced
32 COMPONENT_ARCHIVE_URL= http://python.org/ftp/python/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= http://python.org/ftp/python/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
33 |
33 |
34 include $(WS_TOP)/make-rules/prep.mk |
34 include $(WS_TOP)/make-rules/prep.mk |
35 include $(WS_TOP)/make-rules/configure.mk |
35 include $(WS_TOP)/make-rules/configure.mk |
36 include $(WS_TOP)/make-rules/ips.mk |
36 include $(WS_TOP)/make-rules/ips.mk |
|
37 include $(WS_TOP)/make-rules/lint-libraries.mk |
37 |
38 |
38 # We patch auto* files, so regenerate headers and configure |
39 # We patch auto* files, so regenerate headers and configure |
39 COMPONENT_PREP_ACTION = \ |
40 COMPONENT_PREP_ACTION = \ |
40 (cd $(@D) ; autoheader ; autoconf) |
41 (cd $(@D) ; autoheader ; autoconf) |
41 |
42 |
59 CPPFLAGS += -I/usr/include/ncurses |
60 CPPFLAGS += -I/usr/include/ncurses |
60 # enable large files how they did in JDS |
61 # enable large files how they did in JDS |
61 CPPFLAGS += -D_LARGEFILE64_SOURCE |
62 CPPFLAGS += -D_LARGEFILE64_SOURCE |
62 # libffi for _ctypes |
63 # libffi for _ctypes |
63 CPPFLAGS += $(shell pkg-config --cflags-only-I libffi) |
64 CPPFLAGS += $(shell pkg-config --cflags-only-I libffi) |
|
65 |
|
66 # Python puts its header files in a special place. |
|
67 LINT_FLAGS += -I$(SOURCE_DIR)/Include |
64 |
68 |
65 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
69 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
66 CONFIGURE_OPTIONS += --enable-shared |
70 CONFIGURE_OPTIONS += --enable-shared |
67 CONFIGURE_OPTIONS += --disable-static |
71 CONFIGURE_OPTIONS += --disable-static |
68 CONFIGURE_OPTIONS += --with-system-ffi |
72 CONFIGURE_OPTIONS += --with-system-ffi |