equal
deleted
inserted
replaced
33 COMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE) |
34 |
34 |
35 include ../../make-rules/prep.mk |
35 include ../../make-rules/prep.mk |
36 include ../../make-rules/configure.mk |
36 include ../../make-rules/configure.mk |
37 include ../../make-rules/ips.mk |
37 include ../../make-rules/ips.mk |
38 |
38 include ../../make-rules/lint-libraries.mk |
39 LIBNAME= xml2 |
|
40 LINTOUT= lint.out |
|
41 |
39 |
42 CFLAGS += $(CPP_LARGEFILES) |
40 CFLAGS += $(CPP_LARGEFILES) |
43 LDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread |
41 LDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread |
44 |
42 |
45 CONFIGURE_OPTIONS += --disable-static |
43 CONFIGURE_OPTIONS += --disable-static |
50 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
48 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
51 CONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES) |
49 CONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES) |
52 |
50 |
53 COMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoconf) |
51 COMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoconf) |
54 |
52 |
55 COMPONENT_POST_BUILD_ACTION = \ |
53 COMPONENT_TEST_TARGETS = tests |
56 (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \ |
|
57 -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include \ |
|
58 $(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1) |
|
59 |
|
60 COMPONENT_POST_INSTALL_ACTION = \ |
|
61 (cd $(@D); $(INSTALL) llib-l$(LIBNAME).ln \ |
|
62 $(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))) |
|
63 |
54 |
64 # common targets |
55 # common targets |
65 build: $(BUILD_32_and_64) |
56 build: $(BUILD_32_and_64) |
66 |
57 |
67 install: $(INSTALL_32_and_64) |
58 install: $(INSTALL_32_and_64) |
68 |
59 |
69 test: $(TEST_32_and_64) |
60 test: $(TEST_32_and_64) |
70 |
|
71 $(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built |
|
72 (cd $(@D) ; gmake tests || exit 0) |
|
73 |
61 |
74 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
62 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
75 |
63 |
76 include ../../make-rules/depend.mk |
64 include ../../make-rules/depend.mk |