2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Aurelien Larcher
14 # Copyright 2019 Michal Nowak
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 7.5
22 COMPONENT_FMRI
= x11
/xlock
23 COMPONENT_CLASSIFICATION
= System
/X11
24 COMPONENT_SUMMARY
= xlock
- screen lock program
26 COMPONENT_PROJECT_URL
= https
://github.com
/oracle
/solaris-userland
/tree
/master
/components
/x11
/app
/xlock
/sun-src
27 COMPONENT_LICENSE
= MIT License
29 include $(WS_MAKE_RULES
)/prep.mk
30 include $(WS_MAKE_RULES
)/justmake.mk
31 include $(WS_MAKE_RULES
)/ips.mk
33 COMPONENT_BUILD_ENV
+= $(COMPONENT_COMMON_ENV
)
34 COMPONENT_INSTALL_ENV
+= INSTALL
="$(INSTALL) -D"
35 COMPONENT_INSTALL_ENV
+= PREFIX
=$(USRDIR
)
37 COMPONENT_COMMON_ENV
= CC
=$(CC
)
38 COMPONENT_COMMON_ENV
+= CFLAGS
="$(CFLAGS)"
39 COMPONENT_COMMON_ENV
+= LDFLAGS
="$(LDFLAGS)"
41 $(SOURCE_DIR
)/.prep
: $(MAKEFILE_PREREQ
)
46 install: $(INSTALL_64
)
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= system
/library
/math
53 REQUIRED_PACKAGES
+= x11
/library
/libx11