Obsolete golang-120
[oi-userland.git] / components / sysutils / freeipmi / Makefile
blobe1fae98e5d6ff6724245058da79d5e105e37ac0d
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
13 # via checkout freeipmi_sfw-gate_oi151a~0.7.7~9c2a4ac793f0
14 # Copyright 2016 Jim Klimov
15 # Copyright 2019 Michal Nowak
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= freeipmi
21 COMPONENT_VERSION= 1.6.15
22 COMPONENT_SUMMARY= GNU FreeIPMI - in-band and out-of-band IPMI software based on the IPMI v1.5/2.0 specification
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:d6929c354639f5ce75b5b1897e8b366eb63625c23e5c4590a7aea034fe2b8caf
26 COMPONENT_PROJECT_URL= https://www.gnu.org/software/freeipmi/
27 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= system/management/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION= System/Hardware
30 COMPONENT_LICENSE= GPLv3
31 COMPONENT_LICENSE_FILE= COPYING
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 # gcc 14 complains about this
37 CFLAGS += -Wno-error=implicit-function-declaration
39 CFLAGS += $(CPP_LARGEFILES) -DMAXHOSTNAMELEN=256
40 CPPFLAGS += $(CPP_LARGEFILES) -DMAXHOSTNAMELEN=256
42 CONFIGURE_OPTIONS += --infodir=/usr/share/doc/freeipmi/info
43 CONFIGURE_OPTIONS += --libdir=$(USRLIBDIR.$(BITS))
44 CONFIGURE_OPTIONS += --disable-static
45 CONFIGURE_OPTIONS += --with-dont-check-for-root
47 # This is needed to avoid using CCACHE for CPP in this recipe:
48 # they use CPP to build manpages! Go figure...
49 CONFIGURE_ENV += CPP_FOR_BUILD=$(GCC_ROOT)/bin/cpp
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += SUNWcs
53 REQUIRED_PACKAGES += driver/ipmi
54 REQUIRED_PACKAGES += shell/ksh93
55 REQUIRED_PACKAGES += system/library
56 REQUIRED_PACKAGES += system/library/math
57 REQUIRED_PACKAGES += system/library/security/libgcrypt