1 ############################################################################### |
1 ############################################################################### |
2 # |
2 # |
3 # FreeGLUT 2.6.0 Makefile |
3 # FreeGLUT 2.6.0 Makefile |
4 # |
4 # |
5 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
5 # Copyright (c) 2010, 2011, 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, |
101 |
98 |
102 # We must use GNU make |
99 # We must use GNU make |
103 MODULE_ENV = \ |
100 MODULE_ENV = \ |
104 SHELL="/bin/bash" \ |
101 SHELL="/bin/bash" \ |
105 MAKESHELL="/bin/bash" \ |
102 MAKESHELL="/bin/bash" \ |
106 CONFIG_SHELL="/bin/bash" \ |
|
107 PROTODIR="$(PROTODIR)" \ |
103 PROTODIR="$(PROTODIR)" \ |
108 CC="$(CC)" \ |
104 CC="$(CC)" \ |
109 CPPFLAGS="$(MODULE_CPPFLAGS) $(CPPFLAGS)" \ |
105 CPPFLAGS="$(MODULE_CPPFLAGS) $(CPPFLAGS)" \ |
110 CFLAGS="$(MODULE_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)" \ |
106 CFLAGS="$(MODULE_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)" \ |
111 LDFLAGS="$(LDFLAGS) $(MODULE_LDFLAGS)" \ |
107 LDFLAGS="$(LDFLAGS) $(MODULE_LDFLAGS)" \ |
119 MODULE_CONFIG_ENV = $(MODULE_ENV) |
115 MODULE_CONFIG_ENV = $(MODULE_ENV) |
120 MODULE_BUILD_ENV = $(MODULE_ENV) |
116 MODULE_BUILD_ENV = $(MODULE_ENV) |
121 |
117 |
122 include ../Makefile.inc |
118 include ../Makefile.inc |
123 |
119 |
124 # Freeglut needs libtool |
120 # Freeglut's $(VERSION_INFO) breaks delibtoolize.pl |
125 DELIBTOOLIZE=no |
121 DELIBTOOLIZE=no |
126 |
|
127 # But we don't want autoreconf |
|
128 AUTORECONF=no |
|
129 |
122 |
130 install: install_extra_symlinks |
123 install: install_extra_symlinks |
131 |
124 |
132 install_extra_symlinks: |
125 install_extra_symlinks: |
133 ( cd $(PROTODIR)/usr/lib/GL ; \ |
126 ( cd $(PROTODIR)/usr/lib/GL ; \ |