1 # -*- Makefile -*- rules commonly shared among X consolidation open source dirs |
1 # -*- Makefile -*- rules commonly shared among X consolidation open source dirs |
2 # Makefile.init has definitions that are needed before the module/modtype rules |
2 # Makefile.init has definitions that are needed before the module/modtype rules |
3 # |
3 # |
4 # Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. |
4 # Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved. |
5 # |
5 # |
6 # Permission is hereby granted, free of charge, to any person obtaining a |
6 # Permission is hereby granted, free of charge, to any person obtaining a |
7 # copy of this software and associated documentation files (the "Software"), |
7 # copy of this software and associated documentation files (the "Software"), |
8 # to deal in the Software without restriction, including without limitation |
8 # to deal in the Software without restriction, including without limitation |
9 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
9 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
329 ### Other tools needed to build |
329 ### Other tools needed to build |
330 |
330 |
331 ## Python tools & paths |
331 ## Python tools & paths |
332 # When changing PYTHON_VERSION, check that PYTHON_PKG_VERSION & |
332 # When changing PYTHON_VERSION, check that PYTHON_PKG_VERSION & |
333 # PYTHON_PATH_VERSION are still set correctly in pkg/Makefile |
333 # PYTHON_PATH_VERSION are still set correctly in pkg/Makefile |
334 PYTHON_VERSION=2.6 |
334 PYTHON_VERSION=2.7 |
335 PYTHON=/usr/bin/python$(PYTHON_VERSION) |
335 PYTHON=/usr/bin/python$(PYTHON_VERSION) |
336 PYTHON_PATH=$(PROTODIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages:$(PROTODIR)/usr/lib/python$(PYTHON_VERSION)/site-packages:/usr/lib/python$(PYTHON_VERSION)/vendor-packages:/usr/lib/python$(PYTHON_VERSION)/site-packages |
336 PYTHON_PATH=$(PROTODIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages:$(PROTODIR)/usr/lib/python$(PYTHON_VERSION)/site-packages:/usr/lib/python$(PYTHON_VERSION)/vendor-packages:/usr/lib/python$(PYTHON_VERSION)/site-packages |
337 # We want our python modules installed to vendor-packages, not site-packages |
337 # We want our python modules installed to vendor-packages, not site-packages |
338 PYTHON_VENDOR_DIR = /usr/lib/python$(PYTHON_VERSION)/vendor-packages |
338 PYTHON_VENDOR_DIR = /usr/lib/python$(PYTHON_VERSION)/vendor-packages |
339 |
339 |