1 ############################################################################### |
1 ############################################################################### |
2 # |
2 # |
3 # xf86-input-mouse 1.x Makefile |
3 # xf86-input-mouse Makefile |
4 # |
4 # |
5 # Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. |
5 # Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. |
6 # |
6 # |
7 # Permission is hereby granted, free of charge, to any person obtaining a |
7 # Permission is hereby granted, free of charge, to any person obtaining a |
8 # copy of this software and associated documentation files (the "Software"), |
8 # copy of this software and associated documentation files (the "Software"), |
9 # to deal in the Software without restriction, including without limitation |
9 # to deal in the Software without restriction, including without limitation |
10 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
10 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
54 |
54 |
55 # Install xorg-mouse.pc to /usr/share |
55 # Install xorg-mouse.pc to /usr/share |
56 MODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE) |
56 MODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE) |
57 MODULE_PKGCONFIG_DIR_SET=yes |
57 MODULE_PKGCONFIG_DIR_SET=yes |
58 |
58 |
|
59 # Fix path for installing headers in proto area and in xorg-mouse.pc |
|
60 FIX_PC_FILES = xorg-mouse.pc.in |
|
61 MODULE_CONFIG_OPTS += --with-sdkdir='$(XORG_SDK_INCLUDES_DIR)' |
59 MODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)' |
62 MODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)' |
60 |
63 |
61 include ../Makefile.inc |
64 include ../Makefile.inc |
62 |
65 |
63 install_docs: $(PROTODIR)$(X11_DOC_DIR)/README.mouse |
66 install_docs: $(PROTODIR)$(X11_DOC_DIR)/README.mouse |