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 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= xf86-input-hotkey
20 COMPONENT_VERSION
= 0.5.11
22 COMPONENT_SUMMARY
= xf86-input-hotkey
: ACPI hotkey input driver for the Xorg server
23 COMPONENT_PROJECT_URL
= https
://hg.java.net
/hg
/solaris-x11~x-s12-clone
24 COMPONENT_CLASSIFICATION
= Drivers
/Other Peripherals
25 COMPONENT_LICENSE
= MIT
26 COMPONENT_LICENSE_FILE
= xf86-input-hotkey.license
27 COMPONENT_FMRI
= x11
/server
/xorg
/driver
/xorg-input-hotkey
29 include $(WS_TOP
)/make-rules
/justmake.mk
30 include $(WS_TOP
)/make-rules
/ips.mk
32 SERVERMOD_SUBDIR
.64=/$(MACH64
)
33 SERVERMOD_SUBDIR
=$(SERVERMOD_SUBDIR.
$(BITS
))
34 X11_SERVERMODS_DIR
=/usr
/lib
/xorg
/modules
36 CPPFLAGS
+= -I
/usr
/include/xorg
37 CPPFLAGS
+= -I
/usr
/include/pixman-1
39 COMPONENT_COMMON_ENV
= CC
=$(CC
)
40 COMPONENT_COMMON_ENV
+= CFLAGS
="$(CFLAGS) --std=gnu99"
41 COMPONENT_COMMON_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
42 COMPONENT_COMMON_ENV
+= LDFLAGS
="$(LDFLAGS)"
44 COMPONENT_INSTALL_ARGS
+= MODULEDIR
=$(X11_SERVERMODS_DIR
)
45 COMPONENT_INSTALL_ARGS
+= ARCHLIBSUBDIR
=$(SERVERMOD_SUBDIR
)
47 COMPONENT_BUILD_ENV
+= $(COMPONENT_COMMON_ENV
)
48 COMPONENT_INSTALL_ENV
+= INSTALL
=$(INSTALL
)
50 COMPONENT_POST_BUILD_ACTION
= $(TOUCH
) $(BUILD_DIR
)
60 $(RM
) $(SOURCE_DIR
)/.prep
66 install: $(INSTALL_64
)
70 # Manually added dependency
71 REQUIRED_PACKAGES
+= x11
/server
/xorg
73 # Automatically added dependencies
74 REQUIRED_PACKAGES
+= system
/library