-
Notifications
You must be signed in to change notification settings - Fork 37
/
makefile
2225 lines (1921 loc) · 90.1 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
########################################################################
# Makefile for Vrui toolkit and its underlying libraries.
# Copyright (c) 1998-2018 Oliver Kreylos
#
# This file is part of the WhyTools Build Environment.
#
# The WhyTools Build Environment is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# The WhyTools Build Environment is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the WhyTools Build Environment; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
########################################################################
########################################################################
# The root directory where Vrui will be installed when running
# "make install". This must be a different directory than the one that
# contains this makefile, i.e., Vrui cannot be built in-tree. If the
# installation directory is changed from the default, the makefiles of
# Vrui applications typically need to be changed to use the same
# installation directory.
########################################################################
INSTALLDIR := /usr/local
########################################################################
# Please do not change the following lines
########################################################################
# Define the root of the toolkit source tree and the build system
# directory
VRUI_PACKAGEROOT := $(shell pwd)
VRUI_MAKEDIR := $(VRUI_PACKAGEROOT)/BuildRoot
# Include definitions for the system environment and provided software
# packages
include $(VRUI_MAKEDIR)/SystemDefinitions
include $(VRUI_MAKEDIR)/Packages.System
########################################################################
# Some settings that might need adjustment. In general, do not bother
# with these unless something goes wrong during the build process, or
# you have very specific requirements. Proceed with caution!
# The settings below are conservative; see the README file for what they
# mean, and how they depend on capabilities of the host system.
########################################################################
# The build system attempts to auto-detect the presence of system
# libraries that provide optional features. If autodetection fails and
# the build process generates error messages related to missing include
# files during compiling or missing libraries during linking, the use
# of these optional libraries can be disabled manually by uncommenting
# any of the following lines.
# SYSTEM_HAVE_LIBUDEV = 0
# SYSTEM_HAVE_LIBDBUS = 0
# SYSTEM_HAVE_LIBUSB1 = 0
# SYSTEM_HAVE_LIBPNG = 0
# SYSTEM_HAVE_LIBJPEG = 0
# SYSTEM_HAVE_LIBTIFF = 0
# SYSTEM_HAVE_ALSA = 0
# SYSTEM_HAVE_OPENAL = 0
# SYSTEM_HAVE_V4L2 = 0
# SYSTEM_HAVE_BLUETOOTH = 0
# SYSTEM_HAVE_DC1394 = 0
# SYSTEM_HAVE_XRANDR = 0
# SYSTEM_HAVE_XINPUT2 = 0
# SYSTEM_HAVE_SPEEX = 0
# SYSTEM_HAVE_THEORA = 0
# The build system attempts to auto-detect optional features in system
# libraries. If autodetection fails and the build process generates
# error messages related to undeclared functions, the use of these
# optional features can be disabled manually by uncommenting any of the
# following lines:
# Presense of libusb_get_parent and libusb_strerror in libusb.h:
# LIBUSB1_HAS_TOPOLOGY_CALLS = 0
# LIBUSB1_HAS_STRERROR = 0
########################################################################
# Select support for HTC Vive via the OpenVR API
########################################################################
# Root directory of the SteamVR run-time. The following checks if one of
# the default locations exists, and, if not, uses locate to search the
# entire file system:
STEAMVRDIR = $(realpath $(firstword $(wildcard $(HOME)/.[Ss]team/[Ss]team/[Ss]team[Aa]pps/[Cc]ommon/[Ss]team[Vv][Rr] $(HOME)/.local/share/[Ss]team/[Ss]team[Aa]pps/[Cc]ommon/[Ss]team[Vv][Rr])))
ifeq ($(strip $(STEAMVRDIR)),)
STEAMVRDIR = $(firstword $(shell locate -q -l 1 -i "*/common/SteamVR"))
endif
# If the above fails, enter the correct path here, or pass
# STEAMVRDIR=... on make's command line during both "make" and "make
# install":
# STEAMVRDIR =
ifneq ($(strip $(STEAMVRDIR)),)
# Build OpenVRHost VRDeviceDaemon driver module:
SYSTEM_HAVE_OPENVR = 1
# Root directory of the OpenVR SDK
# (The single required header file, openvr_driver.h, is now included in
# Vrui package as contributed source.)
OPENVR_BASEDIR = $(PWD)/Contributed/OpenVR
# Try looking for the Steam run-time three levels up from the SteamVR
# directory first:
STEAMDIR = $(realpath $(STEAMVRDIR)/../../..)
STEAMRUNTIMEDIR1 = $(firstword $(wildcard $(STEAMDIR)/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu))
# If the run-time wasn't found there, look four levels up from the
# SteamVR directory:
ifeq ($(strip $(STEAMRUNTIMEDIR1)),)
STEAMDIR = $(realpath $(STEAMVRDIR)/../../../..)
STEAMRUNTIMEDIR1 = $(firstword $(wildcard $(STEAMDIR)/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu))
endif
# If the run-time still wasn't found, disable Vive support:
ifeq ($(strip $(STEAMRUNTIMEDIR1)),)
SYSTEM_HAVE_OPENVR = 0
endif
# Set the secondary Steam run-time directory:
STEAMRUNTIMEDIR2 = $(realpath $(STEAMRUNTIMEDIR1)/../../usr/lib/x86_64-linux-gnu)
# SteamVR Lighthouse driver directory:
STEAMVRDRIVERDIR = $(STEAMVRDIR)/drivers/lighthouse/bin/linux64
else
SYSTEM_HAVE_OPENVR = 0
endif
########################################################################
# Please do not change the following line
########################################################################
# Include definitions for Vrui-provided software packages
include $(VRUI_MAKEDIR)/Packages.Vrui
########################################################################
# More settings that might need adjustment. In general, do not bother
# with these unless something goes wrong during the build process, or
# you have very specific requirements. Proceed with caution!
# The settings below are conservative; see the README file for what they
# mean, and how they depend on capabilities of the host system.
########################################################################
# Set this to 1 if Vrui executables and shared libraries shall contain
# links to any shared libraries they link to. This will relieve a user
# from having to set up a dynamic library search path.
USE_RPATH = 1
# Set the following flag to 1 if the GL support library shall contain
# support for multithreaded rendering to several windows. This is
# required for shared-memory multi-pipe rendering systems such as SGI
# Onyx or Prism, but somewhat reduces performance when accessing per-
# window data elements or OpenGL extensions. If the compiler and run-
# time environment do not support a direct mechanism for thread-local
# storage (such as gcc's __thread extension), this uses the even slower
# POSIX thread-local storage mechanism. If setting this to 1 causes
# compilation errors, the SYSTEM_HAVE_TLS variable in
# BuildRoot/SystemDefinitions needs to be set to 0.
GLSUPPORT_USE_TLS = 0
# Set this to 1 if the Linux input.h header file has the required
# structure definitions (usually on newer Linux versions). If this is
# set wrongly, Vrui/Internal/Linux/InputDeviceAdapterHID.cpp and
# VRDeviceDaemon/VRDevices/HIDDevice.cpp will generate compiler errors.
# This setting is ignored on MacOS X.
LINUX_INPUT_H_HAS_STRUCTS = 1
# Set this to 1 if the VRWindow class shall be compiled with support for
# swap locks and swap groups (NVidia extension). This is only necessary
# in very rare cases; if you don't already know you need it, leave this
# setting at 0.
# If this is set to 1 and the NVidia extension is not there,
# VRWindow.cpp will generate compiler errors.
VRUI_VRWINDOW_USE_SWAPGROUPS = 0
# Set this to 1 if the operating system supports the input abstraction
# layer. If this is set to 1 and the input abstraction is not supported,
# Joystick.cpp will generate compiler errors.
VRDEVICES_USE_INPUT_ABSTRACTION = 0
# Set this to 1 if the Vrui VR device driver shall support Nintendo Wii
# controllers using the bluez user-level Bluetooth library. This
# requires that bluez is installed on the host computer, and that the
# path to the bluez header files / libraries is set properly in
# $(VRUI_MAKEDIR)/Packages.
# For now, the following code tries to automatically determine whether
# bluez is supported. This might or might not work.
VRDEVICES_USE_BLUETOOTH = $(SYSTEM_HAVE_BLUETOOTH)
########################################################################
# Please do not change anything below this line
########################################################################
# Specify version of created dynamic shared libraries
VRUI_VERSION = 4006005
MAJORLIBVERSION = 4
MINORLIBVERSION = 6
VRUI_NAME := Vrui-$(MAJORLIBVERSION).$(MINORLIBVERSION)
# Set additional debug options
ifdef DEBUG
CFLAGS += -DDEBUG
endif
# Set destination directory for libraries and executables
LIBDESTDIR := $(VRUI_PACKAGEROOT)/$(MYLIBEXT)
# Override the include file and library search directories:
VRUI_INCLUDEDIR = $(VRUI_PACKAGEROOT)
VRUI_LIBDIR = $(VRUI_PACKAGEROOT)/$(MYLIBEXT)
########################################################################
# Create the full set of installation paths, with defaults for common
# setups
########################################################################
ifdef SYSTEMINSTALL
HEADERINSTALLDIR = $(INSTALLDIR)/usr/$(INCLUDEEXT)/$(VRUI_NAME)
ifdef DEBUG
LIBINSTALLDIR = $(INSTALLDIR)/usr/$(LIBEXT)/$(VRUI_NAME)/debug
EXECUTABLEINSTALLDIR = $(INSTALLDIR)/usr/$(BINEXT)/debug
else
LIBINSTALLDIR = $(INSTALLDIR)/usr/$(LIBEXT)/$(VRUI_NAME)
EXECUTABLEINSTALLDIR = $(INSTALLDIR)/usr/$(BINEXT)
endif
ETCINSTALLDIR = $(INSTALLDIR)/etc/$(VRUI_NAME)
SHAREINSTALLDIR = $(INSTALLDIR)/usr/share/$(VRUI_NAME)
PKGCONFIGINSTALLDIR = $(INSTALLDIR)/usr/$(LIBEXT)/pkgconfig
DOCINSTALLDIR = $(INSTALLDIR)/usr/share/doc/$(VRUI_NAME)
UDEVRULEDIR = /usr/lib/udev/rules.d
INSTALLROOT = /usr
else
ifeq ($(findstring $(VRUI_NAME),$(INSTALLDIR)),$(VRUI_NAME))
INSTALLSHIM =
else
INSTALLSHIM = /$(VRUI_NAME)
endif
HEADERINSTALLDIR = $(INSTALLDIR)/$(INCLUDEEXT)$(INSTALLSHIM)
ifdef DEBUG
LIBINSTALLDIR = $(INSTALLDIR)/$(LIBEXT)$(INSTALLSHIM)/debug
EXECUTABLEINSTALLDIR = $(INSTALLDIR)/$(BINEXT)/debug
else
LIBINSTALLDIR = $(INSTALLDIR)/$(LIBEXT)$(INSTALLSHIM)
EXECUTABLEINSTALLDIR = $(INSTALLDIR)/$(BINEXT)
endif
ETCINSTALLDIR = $(INSTALLDIR)/etc$(INSTALLSHIM)
SHAREINSTALLDIR = $(INSTALLDIR)/share$(INSTALLSHIM)
PKGCONFIGINSTALLDIR = $(INSTALLDIR)/$(LIBEXT)/pkgconfig
DOCINSTALLDIR = $(INSTALLDIR)/share/doc$(INSTALLSHIM)
UDEVRULEDIR = /etc/udev/rules.d
INSTALLROOT = $(INSTALLDIR)
endif
PLUGININSTALLDIR = $(LIBINSTALLDIR)
ifdef DEBUG
MAKEINSTALLDIR = $(SHAREINSTALLDIR)/make/debug
else
MAKEINSTALLDIR = $(SHAREINSTALLDIR)/make
endif
# Specify the location of the per-user global configuration file:
ifeq ($(findstring $(HOME),$(INSTALLDIR)),$(HOME))
# Vrui is installed in user's home directory, no need for per-user config file
VRUI_READUSERCONFIGFILE = 0
else
# Vrui is installed outside user's home directory
VRUI_READUSERCONFIGFILE = 1
endif
ifeq ($(HOST_OS),Darwin)
VRUI_USERCONFIGDIR = Library/Preferences/$(VRUI_NAME)
else
VRUI_USERCONFIGDIR = .config/$(VRUI_NAME)
endif
########################################################################
# Specify additional compiler and linker flags
########################################################################
# Set flags to distinguish between static and shared libraries
ifdef STATIC_LINK
LIBRARYNAME = $(LIBDESTDIR)/$(1).$(LDEXT).a
OBJDIREXT = Static
else
CFLAGS += $(CDSOFLAGS)
LIBRARYNAME = $(LIBDESTDIR)/$(call FULLDSONAME,$(1))
endif
########################################################################
# List packages used by this project
# (Supported packages can be found in ./BuildRoot/Packages)
########################################################################
PACKAGES =
########################################################################
# Specify all final targets
########################################################################
LIBRARIES =
PLUGINS =
EXECUTABLES =
#
# The basic libraries:
#
LIBRARY_NAMES = libMisc \
libRealtime \
libThreads
ifneq ($(SYSTEM_HAVE_LIBUSB1),0)
LIBRARY_NAMES += libUSB
endif
ifneq ($(SYSTEM_HAVE_LIBUDEV),0)
LIBRARY_NAMES += libRawHID
endif
LIBRARY_NAMES += libIO \
libPlugins \
libComm \
libCluster \
libMath \
libGeometry \
libGLWrappers \
libGLSupport \
libGLXSupport \
libGLGeometry \
libImages \
libGLMotif \
libSound \
libVideo \
libALSupport \
libSceneGraph \
libVrui
LIBRARIES += $(LIBRARY_NAMES:%=$(call LIBRARYNAME,%))
#
# The Vrui VR tool plug-in hierarchy:
#
# Don't build the following tool modules because they are unfinished or experimental:
VRTOOLS_IGNORE_SOURCES = Vrui/Tools/FPSArmTool.cpp
VRTOOLS_SOURCES = $(filter-out $(VRTOOLS_IGNORE_SOURCES),$(wildcard Vrui/Tools/*.cpp))
VRTOOLSDIREXT = VRTools
VRTOOLSDIR= $(LIBDESTDIR)/$(VRTOOLSDIREXT)
VRTOOLS = $(VRTOOLS_SOURCES:Vrui/Tools/%.cpp=$(VRTOOLSDIR)/lib%.$(PLUGINFILEEXT))
PLUGINS += $(VRTOOLS)
#
# The Vrui vislet plug-in hierarchy:
#
# Don't build the following vislet modules unless explicitly asked later:
VRVISLETS_IGNORE_SOURCES = Vrui/Vislets/LatencyTester.cpp
VRVISLETS_SOURCES = $(filter-out $(VRVISLETS_IGNORE_SOURCES),$(wildcard Vrui/Vislets/*.cpp))
ifneq ($(SYSTEM_HAVE_LIBUDEV),0)
VRVISLETS_SOURCES += Vrui/Vislets/LatencyTester.cpp
endif
VRVISLETSDIREXT = VRVislets
VRVISLETSDIR = $(LIBDESTDIR)/$(VRVISLETSDIREXT)
VRVISLETS = $(VRVISLETS_SOURCES:Vrui/Vislets/%.cpp=$(VRVISLETSDIR)/lib%.$(PLUGINFILEEXT))
PLUGINS += $(VRVISLETS)
#
# The VR device driver daemon:
#
EXECUTABLES += $(EXEDIR)/VRDeviceDaemon
#
# The VR device driver plug-ins:
#
# Don't build the following device modules unless explicitly asked later:
VRDEVICES_IGNORE_SOURCES = VRDeviceDaemon/VRDevices/Joystick.cpp \
VRDeviceDaemon/VRDevices/VRPNConnection.cpp \
VRDeviceDaemon/VRDevices/Wiimote.cpp \
VRDeviceDaemon/VRDevices/WiimoteTracker.cpp \
VRDeviceDaemon/VRDevices/RazerHydra.cpp \
VRDeviceDaemon/VRDevices/RazerHydraDevice.cpp \
VRDeviceDaemon/VRDevices/OculusRift.cpp \
VRDeviceDaemon/VRDevices/OpenVRHost.cpp
VRDEVICES_SOURCES = $(filter-out $(VRDEVICES_IGNORE_SOURCES),$(wildcard VRDeviceDaemon/VRDevices/*.cpp))
ifneq ($(VRDEVICES_USE_INPUT_ABSTRACTION),0)
VRDEVICES_SOURCES += VRDeviceDaemon/VRDevices/Joystick.cpp
endif
ifneq ($(VRDEVICES_USE_BLUETOOTH),0)
VRDEVICES_SOURCES += VRDeviceDaemon/VRDevices/WiimoteTracker.cpp
endif
ifneq ($(SYSTEM_HAVE_LIBUSB1),0)
VRDEVICES_SOURCES += VRDeviceDaemon/VRDevices/RazerHydraDevice.cpp \
VRDeviceDaemon/VRDevices/OculusRift.cpp
endif
ifneq ($(SYSTEM_HAVE_OPENVR),0)
VRDEVICES_SOURCES += VRDeviceDaemon/VRDevices/OpenVRHost.cpp
endif
VRDEVICESDIREXT = VRDevices
VRDEVICESDIR = $(LIBDESTDIR)/$(VRDEVICESDIREXT)
VRDEVICES = $(VRDEVICES_SOURCES:VRDeviceDaemon/VRDevices/%.cpp=$(VRDEVICESDIR)/lib%.$(PLUGINFILEEXT))
PLUGINS += $(VRDEVICES)
#
# The VR tracker calibrator plug-ins:
#
VRCALIBRATORS_SOURCES = $(wildcard VRDeviceDaemon/VRCalibrators/*.cpp)
VRCALIBRATORSDIREXT = VRCalibrators
VRCALIBRATORSDIR = $(LIBDESTDIR)/$(VRCALIBRATORSDIREXT)
VRCALIBRATORS = $(VRCALIBRATORS_SOURCES:VRDeviceDaemon/VRCalibrators/%.cpp=$(VRCALIBRATORSDIR)/lib%.$(PLUGINFILEEXT))
PLUGINS += $(VRCALIBRATORS)
#
# A helper script to run the OpenVRHost device driver module:
#
ifneq ($(SYSTEM_HAVE_OPENVR),0)
EXECUTABLES += $(EXEDIR)/RunViveTracker.sh
endif
#
# The Vrui device driver test programs (textual and visual):
#
EXECUTABLES += $(EXEDIR)/DeviceTest \
$(EXEDIR)/TrackingTest
#
# A utility to find connected HMDs:
#
EXECUTABLES += $(EXEDIR)/FindHMD
#
# The Vrui environment setup program:
#
EXECUTABLES += $(EXEDIR)/RoomSetup
#
# A helper script to run Vrui applications on a Vive HMD:
#
ifneq ($(SYSTEM_HAVE_OPENVR),0)
EXECUTABLES += $(EXEDIR)/OnVive.sh
endif
#
# The Vrui eye calibration program:
#
EXECUTABLES += $(EXEDIR)/EyeCalibrator
#
# The input device data file dumping program:
#
EXECUTABLES += $(EXEDIR)/PrintInputDeviceDataFile
#
# The Vrui calibration utilities:
#
EXECUTABLES += $(EXEDIR)/XBackground \
$(EXEDIR)/MeasureEnvironment \
$(EXEDIR)/ScreenCalibrator \
$(EXEDIR)/AlignTrackingMarkers \
$(EXEDIR)/AlignPoints \
$(EXEDIR)/SampleTrackerField
ifneq ($(SYSTEM_HAVE_LIBUSB1),0)
EXECUTABLES += $(EXEDIR)/OculusCalibrator
endif
# Set the name of the makefile fragment:
ifdef DEBUG
MAKEFILEFRAGMENT = Share/Vrui.debug.makeinclude
else
MAKEFILEFRAGMENT = Share/Vrui.makeinclude
endif
# Set the name of the make configuration file:
MAKECONFIGFILE = BuildRoot/Configuration.Vrui
# Set the name of the pkg-config meta data file:
PKGCONFIGFILE = Share/Vrui.pc
# Set the name of the template makefile:
TEMPLATEMAKEFILE = BuildRoot/makefile
# Remember the names of all generated files for "make clean":
ALL = $(LIBRARIES) $(EXECUTABLES) $(PLUGINS)
.PHONY: all
all: $(ALL)
# Build all libraries before any plug-ins or executables:
$(PLUGINS): | $(LIBRARIES)
$(EXECUTABLES): | $(LIBRARIES)
########################################################################
# Pseudo-target to print configuration options and configure libraries
########################################################################
.PHONY: config config-invalidate
config: config-invalidate $(DEPDIR)/config
config-invalidate:
@touch $(DEPDIR)/Configure-Begin
$(DEPDIR)/Configure-Begin:
@mkdir -p $(DEPDIR)
@echo "---- Vrui configuration options: ----"
ifneq ($(USE_RPATH),0)
@echo "Run-time library search paths enabled"
else
@echo "Run-time library search paths disabled"
endif
@touch $(DEPDIR)/Configure-Begin
$(DEPDIR)/Configure-Install: $(DEPDIR)/Configure-Realtime \
$(DEPDIR)/Configure-Threads \
$(DEPDIR)/Configure-USB \
$(DEPDIR)/Configure-GLSupport \
$(DEPDIR)/Configure-Images \
$(DEPDIR)/Configure-Sound \
$(DEPDIR)/Configure-ALSupport \
$(DEPDIR)/Configure-Video \
$(DEPDIR)/Configure-SceneGraph \
$(DEPDIR)/Configure-Vrui \
$(DEPDIR)/Configure-VRDeviceDaemon
@echo "---- Vrui installation configuration ----"
ifdef SYSTEMINSTALL
@echo "System-level installation requested"
endif
@echo "Root installation directory : $(INSTALLDIR)"
@echo "Header installation root directory : $(HEADERINSTALLDIR)"
@echo "Library installation root directory : $(LIBINSTALLDIR)"
@echo "Executable installation directory : $(EXECUTABLEINSTALLDIR)"
@echo "Plug-in installation root directory : $(PLUGININSTALLDIR)"
@echo "Configuration file installation directory : $(ETCINSTALLDIR)"
@echo "Shared file installation root directory : $(SHAREINSTALLDIR)"
@echo "Makefile fragment installation directory : $(SHAREINSTALLDIR)"
@echo "Build system installation directory : $(MAKEINSTALLDIR)"
@echo "pkg-config metafile installation directory: $(PKGCONFIGINSTALLDIR)"
@echo "Documentation installation directory : $(DOCINSTALLDIR)"
@$(call CONFIG_SETMAKEVAR,BuildRoot/makefile,VRUI_MAKEDIR,$(MAKEINSTALLDIR))
@$(call CONFIG_SETMAKEVAR,ExamplePrograms/makefile,VRUI_MAKEDIR,$(MAKEINSTALLDIR))
@$(call CONFIG_SETMAKEVAR,ExamplePrograms/MeshEditor/makefile,VRUISHAREDIR,$(SHAREINSTALLDIR))
@$(call CONFIG_SETMAKEVAR,ExamplePrograms/VRMLViewer/makefile,VRUI_MAKEDIR,$(MAKEINSTALLDIR))
@touch $(DEPDIR)/Configure-Install
$(DEPDIR)/Configure-End: $(DEPDIR)/Configure-Install
@echo "---- End of Vrui configuration options ----"
@touch $(DEPDIR)/Configure-End
$(DEPDIR)/config: $(DEPDIR)/Configure-Makefiles
@touch $(DEPDIR)/config
########################################################################
# Specify other actions to be performed on a `make clean'
########################################################################
.PHONY: extraclean
extraclean:
-rm -f $(LIBRARY_NAMES:%=$(LIBDESTDIR)/$(call DSONAME,%))
-rm -f $(LIBRARY_NAMES:%=$(LIBDESTDIR)/$(call LINKDSONAME,%))
-rm -f $(MAKEFILEFRAGMENT) $(MAKECONFIGFILE) $(PKGCONFIGFILE)
.PHONY: extrasqueakyclean
extrasqueakyclean:
-rm -f $(ALL)
-rm -f $(MAKEFILEFRAGMENT) $(MAKECONFIGFILE) $(PKGCONFIGFILE)
-rm -rf $(VRUI_PACKAGEROOT)/$(LIBEXT)
-rm -f Share/Vrui.makeinclude Share/Vrui.debug.makeinclude
# Include basic makefile
include $(VRUI_MAKEDIR)/BasicMakefile
########################################################################
# Specify build rules for dynamic shared objects
########################################################################
#
# The Miscellaneous Support Library (Misc)
#
MISC_HEADERS = $(wildcard Misc/*.h) \
$(wildcard Misc/*.icpp)
MISC_SOURCES = $(wildcard Misc/*.cpp)
$(MISC_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libMisc): PACKAGES += $(MYMISC_DEPENDS)
$(call LIBRARYNAME,libMisc): EXTRACINCLUDEFLAGS += $(MYMISC_INCLUDE)
$(call LIBRARYNAME,libMisc): | $(call DEPENDENCIES,MYMISC)
$(call LIBRARYNAME,libMisc): $(MISC_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libMisc
libMisc: $(call LIBRARYNAME,libMisc)
#
# The Realtime Processing Library (Realtime):
#
$(DEPDIR)/Configure-Realtime: $(DEPDIR)/Configure-Begin
ifneq ($(SYSTEM_HAVE_RT),0)
@echo Realtime library uses POSIX clocks
@echo Realtime library uses POSIX timers
else
@echo Realtime library uses UNIX clocks
@echo Realtime library uses wallclock time
endif
@cp Realtime/Config.h Realtime/Config.h.temp
@$(call CONFIG_SETVAR,Realtime/Config.h.temp,REALTIME_CONFIG_HAVE_POSIX_CLOCKS,$(SYSTEM_HAVE_RT))
@$(call CONFIG_SETVAR,Realtime/Config.h.temp,REALTIME_CONFIG_HAVE_POSIX_TIMERS,$(SYSTEM_HAVE_RT))
@if ! diff Realtime/Config.h.temp Realtime/Config.h > /dev/null ; then cp Realtime/Config.h.temp Realtime/Config.h ; fi
@rm Realtime/Config.h.temp
@touch $(DEPDIR)/Configure-Realtime
REALTIME_HEADERS = $(wildcard Realtime/*.h) \
$(wildcard Realtime/*.icpp)
REALTIME_SOURCES = $(wildcard Realtime/*.cpp)
$(REALTIME_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libRealtime): PACKAGES += $(MYREALTIME_DEPENDS)
$(call LIBRARYNAME,libRealtime): EXTRACINCLUDEFLAGS += $(MYREALTIME_INCLUDE)
$(call LIBRARYNAME,libRealtime): | $(call DEPENDENCIES,MYREALTIME)
$(call LIBRARYNAME,libRealtime): $(REALTIME_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libRealtime
libRealtime: $(call LIBRARYNAME,libRealtime)
#
# The Portable Threading Library (Threads)
#
$(DEPDIR)/Configure-Threads: $(DEPDIR)/Configure-Realtime
ifneq ($(SYSTEM_HAVE_TLS),0)
@echo Threads library has built-in thread-local storage
else
@echo Threads library uses POSIX thread-local storage
endif
ifneq ($(SYSTEM_HAVE_ATOMICS),0)
@echo Threads library uses built-in atomics
else
@echo Threads library simulates atomics using POSIX spinlocks or mutexes
endif
ifneq ($(SYSTEM_HAVE_SPINLOCKS),0)
@echo Threads library uses POSIX spinlocks
else
@echo Threads library simulates spinlocks using POSIX mutexes
endif
ifneq ($(SYSTEM_CAN_CANCEL_THREADS),0)
@echo Local pthread implements pthread_cancel
else
@echo Local pthread does not implement pthread_cancel
endif
@cp Threads/Config.h Threads/Config.h.temp
@$(call CONFIG_SETVAR,Threads/Config.h.temp,THREADS_CONFIG_HAVE_BUILTIN_TLS,$(SYSTEM_HAVE_TLS))
@$(call CONFIG_SETVAR,Threads/Config.h.temp,THREADS_CONFIG_HAVE_BUILTIN_ATOMICS,$(SYSTEM_HAVE_ATOMICS))
@$(call CONFIG_SETVAR,Threads/Config.h.temp,THREADS_CONFIG_HAVE_SPINLOCKS,$(SYSTEM_HAVE_SPINLOCKS))
@$(call CONFIG_SETVAR,Threads/Config.h.temp,THREADS_CONFIG_CAN_CANCEL,$(SYSTEM_CAN_CANCEL_THREADS))
@if ! diff Threads/Config.h.temp Threads/Config.h > /dev/null ; then cp Threads/Config.h.temp Threads/Config.h ; fi
@rm Threads/Config.h.temp
@touch $(DEPDIR)/Configure-Threads
THREADS_HEADERS = $(wildcard Threads/*.h) \
$(wildcard Threads/*.icpp)
THREADS_SOURCES = $(wildcard Threads/*.cpp)
$(THREADS_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libThreads): PACKAGES += $(MYTHREADS_DEPENDS)
$(call LIBRARYNAME,libThreads): EXTRACINCLUDEFLAGS += $(MYTHREADS_INCLUDE)
$(call LIBRARYNAME,libThreads): | $(call DEPENDENCIES,MYTHREADS)
$(call LIBRARYNAME,libThreads): $(THREADS_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libThreads
libThreads: $(call LIBRARYNAME,libThreads)
#
# The USB Support Library (USB)
#
$(DEPDIR)/Configure-USB: $(DEPDIR)/Configure-Threads
ifneq ($(SYSTEM_HAVE_LIBUSB1),0)
@echo Libusb library version 1.0 exists on host system
ifneq ($(LIBUSB1_HAS_TOPOLOGY_CALLS),0)
@echo Libusb library supports bus topology queries
else
@echo Libusb library does not support bus topology queries
endif
ifneq ($(LIBUSB1_HAS_STRERROR),0)
@echo Libusb library has libusb_strerror function
else
@echo Libusb library does not have libusb_strerror function
endif
else
@echo Libusb library version 1.0 does not exist on host system
endif
@cp USB/Config.h USB/Config.h.temp
@$(call CONFIG_SETVAR,USB/Config.h.temp,USB_CONFIG_HAVE_LIBUSB1,$(SYSTEM_HAVE_LIBUSB1))
@$(call CONFIG_SETVAR,USB/Config.h.temp,USB_CONFIG_HAVE_TOPOLOGY_CALLS,$(LIBUSB1_HAS_TOPOLOGY_CALLS))
@$(call CONFIG_SETVAR,USB/Config.h.temp,USB_CONFIG_HAVE_STRERROR,$(LIBUSB1_HAS_STRERROR))
@if ! diff USB/Config.h.temp USB/Config.h > /dev/null ; then cp USB/Config.h.temp USB/Config.h ; fi
@rm USB/Config.h.temp
@touch $(DEPDIR)/Configure-USB
USB_HEADERS = $(wildcard USB/*.h) \
$(wildcard USB/*.icpp)
USB_SOURCES = $(wildcard USB/*.cpp)
$(USB_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libUSB): PACKAGES += $(MYUSB_DEPENDS)
$(call LIBRARYNAME,libUSB): EXTRACINCLUDEFLAGS += $(MYUSB_INCLUDE)
$(call LIBRARYNAME,libUSB): | $(call DEPENDENCIES,MYUSB)
$(call LIBRARYNAME,libUSB): $(USB_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libUSB
libUSB: $(call LIBRARYNAME,libUSB)
#
# The Raw HID Support Library (RawHID):
#
$(DEPDIR)/Configure-RawHID: $(DEPDIR)/Configure-USB
ifneq ($(SYSTEM_HAVE_LIBUDEV),0)
@echo Libudev library exists on host system
@echo RawHID library enabled
else
@echo Libudev library does not exist on host system
@echo RawHID library disabled
endif
RAWHID_HEADERS = $(wildcard RawHID/*.h) \
$(wildcard RawHID/*.icpp)
RAWHID_SOURCES = $(wildcard RawHID/*.cpp) \
$(wildcard RawHID/Internal/*.cpp)
$(RAWHID_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libRawHID): PACKAGES += $(MYRAWHID_DEPENDS)
$(call LIBRARYNAME,libRawHID): EXTRACINCLUDEFLAGS += $(MYRAWHID_INCLUDE)
$(call LIBRARYNAME,libRawHID): | $(call DEPENDENCIES,MYRAWHID)
$(call LIBRARYNAME,libRawHID): $(RAWHID_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libRawHID
libRawHID: $(call LIBRARYNAME,libRawHID)
#
# The I/O Support Library (IO)
#
IO_HEADERS = $(wildcard IO/*.h) \
$(wildcard IO/*.icpp)
IO_SOURCES = $(wildcard IO/*.cpp)
$(IO_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libIO): PACKAGES += $(MYIO_DEPENDS)
$(call LIBRARYNAME,libIO): EXTRACINCLUDEFLAGS += $(MYIO_INCLUDE)
$(call LIBRARYNAME,libIO): | $(call DEPENDENCIES,MYIO)
$(call LIBRARYNAME,libIO): $(IO_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libIO
libIO: $(call LIBRARYNAME,libIO)
#
# The Plugin Handling Library (Plugins):
#
PLUGINS_HEADERS = $(wildcard Plugins/*.h) \
$(wildcard Plugins/*.icpp)
PLUGINS_SOURCES = $(wildcard Plugins/*.cpp)
$(PLUGINS_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libPlugins): PACKAGES += $(MYPLUGINS_DEPENDS)
$(call LIBRARYNAME,libPlugins): EXTRACINCLUDEFLAGS += $(MYPLUGINS_INCLUDE)
$(call LIBRARYNAME,libPlugins): | $(call DEPENDENCIES,MYPLUGINS)
$(call LIBRARYNAME,libPlugins): $(PLUGINS_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libPlugins
libPlugins: $(call LIBRARYNAME,libPlugins)
#
# The Portable Communications Library (Comm)
#
COMM_HEADERS = $(wildcard Comm/*.h) \
$(wildcard Comm/*.icpp)
COMM_SOURCES = $(wildcard Comm/*.cpp)
$(COMM_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libComm): PACKAGES += $(MYCOMM_DEPENDS)
$(call LIBRARYNAME,libComm): EXTRACINCLUDEFLAGS += $(MYCOMM_INCLUDE)
$(call LIBRARYNAME,libComm): | $(call DEPENDENCIES,MYCOMM)
$(call LIBRARYNAME,libComm): $(COMM_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libComm
libComm: $(call LIBRARYNAME,libComm)
#
# The Cluster Abstraction Library (Cluster)
#
CLUSTER_HEADERS = $(wildcard Cluster/*.h) \
$(wildcard Cluster/*.icpp)
CLUSTER_SOURCES = $(wildcard Cluster/*.cpp)
$(CLUSTER_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libCluster): PACKAGES += $(MYCLUSTER_DEPENDS)
$(call LIBRARYNAME,libCluster): EXTRACINCLUDEFLAGS += $(MYCLUSTER_INCLUDE)
$(call LIBRARYNAME,libCluster): | $(call DEPENDENCIES,MYCLUSTER)
$(call LIBRARYNAME,libCluster): $(CLUSTER_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libCluster
libCluster: $(call LIBRARYNAME,libCluster)
#
# The Templatized Math Library (Math)
#
MATH_HEADERS = $(wildcard Math/*.h) \
$(wildcard Math/*.icpp)
MATH_SOURCES = $(wildcard Math/*.cpp)
$(MATH_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libMath): PACKAGES += $(MYMATH_DEPENDS)
$(call LIBRARYNAME,libMath): EXTRACINCLUDEFLAGS += $(MYMATH_INCLUDE)
$(call LIBRARYNAME,libMath): | $(call DEPENDENCIES,MYMATH)
$(call LIBRARYNAME,libMath): $(MATH_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libMath
libMath: $(call LIBRARYNAME,libMath)
#
# The Templatized Geometry Library (Geometry)
#
GEOMETRY_HEADERS = $(wildcard Geometry/*.h) \
$(wildcard Geometry/*.icpp)
GEOMETRY_SOURCES = $(wildcard Geometry/*.cpp)
$(GEOMETRY_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libGeometry): PACKAGES += $(MYGEOMETRY_DEPENDS)
$(call LIBRARYNAME,libGeometry): EXTRACINCLUDEFLAGS += $(MYGEOMETRY_INCLUDE)
$(call LIBRARYNAME,libGeometry): | $(call DEPENDENCIES,MYGEOMETRY)
$(call LIBRARYNAME,libGeometry): $(GEOMETRY_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libGeometry
libGeometry: $(call LIBRARYNAME,libGeometry)
#
# The Mac OSX Support Library (MacOSX)
#
MACOSX_HEADERS = $(wildcard MacOSX/*.h) \
$(wildcard MacOSX/*.icpp)
#
# The OpenGL C++ Wrapper Library (GLWrappers)
#
GLWRAPPERS_HEADERS = GL/GLTexCoordTemplates.h \
GL/GLMultiTexCoordTemplates.h \
GL/GLColorTemplates.h \
GL/GLSecondaryColorTemplates.h \
GL/GLNormalTemplates.h \
GL/GLVertexTemplates.h \
GL/GLIndexTemplates.h \
GL/GLPrimitiveTemplates.h \
GL/GLScalarLimits.h \
GL/GLScalarConverter.h \
GL/GLColor.h \
GL/GLColorOperations.h \
GL/GLVector.h \
GL/GLBox.h \
GL/GLVertexArrayTemplates.h \
GL/GLVertexArrayParts.h \
GL/GLVertex.h GL/GLVertex.icpp \
GL/GLFogEnums.h \
GL/GLFogTemplates.h \
GL/GLFog.h \
GL/GLLightEnums.h \
GL/GLLightTemplates.h \
GL/GLLight.h \
GL/GLLightModelEnums.h \
GL/GLLightModelTemplates.h \
GL/GLMaterialEnums.h \
GL/GLMaterialTemplates.h \
GL/GLMaterial.h \
GL/GLTexEnvEnums.h \
GL/GLTexEnvTemplates.h \
GL/GLMatrixEnums.h \
GL/GLMatrixTemplates.h \
GL/GLMiscTemplates.h \
GL/GLGetTemplates.h \
GL/GLGetPrimitiveTemplates.h \
GL/GLGetFogTemplates.h \
GL/GLGetLightTemplates.h \
GL/GLGetMaterialTemplates.h \
GL/GLGetTexEnvTemplates.h \
GL/GLGetMatrixTemplates.h \
GL/GLGetMiscTemplates.h
GLWRAPPERS_SOURCES = GL/GLScalarLimits.cpp \
GL/GLColor.cpp \
GL/GLVertex.cpp \
GL/GLFog.cpp \
GL/GLLight.cpp \
GL/GLMaterial.cpp
$(GLWRAPPERS_SOURCES:%.cpp=$(OBJDIR)/%.o): | $(DEPDIR)/config
$(call LIBRARYNAME,libGLWrappers): PACKAGES += $(MYGLWRAPPERS_DEPENDS)
$(call LIBRARYNAME,libGLWrappers): EXTRACINCLUDEFLAGS += $(MYGLWRAPPERS_INCLUDE)
$(call LIBRARYNAME,libGLWrappers): CFLAGS += $(MYGLWRAPPERS_CFLAGS)
$(call LIBRARYNAME,libGLWrappers): | $(call DEPENDENCIES,MYGLWRAPPERS)
$(call LIBRARYNAME,libGLWrappers): $(GLWRAPPERS_SOURCES:%.cpp=$(OBJDIR)/%.o)
.PHONY: libGLWrappers
libGLWrappers: $(call LIBRARYNAME,libGLWrappers)
#
# The OpenGL Support Library (GLSupport)
#
$(DEPDIR)/Configure-GLSupport: $(DEPDIR)/Configure-RawHID
ifneq ($(GLSUPPORT_USE_TLS),0)
ifneq ($(SYSTEM_HAVE_TLS),0)
@echo "Multithreaded rendering enabled via TLS"
else
@echo "Multithreaded rendering enabled via pthreads"
endif
else
@echo "Multithreaded rendering disabled"
endif
@echo "Default GL font directory:" $(SHAREINSTALLDIR)/GLFonts
@cp GL/Config.h GL/Config.h.temp
@$(call CONFIG_SETVAR,GL/Config.h.temp,GLSUPPORT_CONFIG_HAVE_GLXGETPROCADDRESS,$(SYSTEM_HAVE_GLXGETPROCADDRESS))
@$(call CONFIG_SETVAR,GL/Config.h.temp,GLSUPPORT_CONFIG_USE_TLS,$(GLSUPPORT_USE_TLS))
@$(call CONFIG_SETVAR,GL/Config.h.temp,GLSUPPORT_CONFIG_HAVE_BUILTIN_TLS,$(SYSTEM_HAVE_TLS))
@$(call CONFIG_SETSTRINGVAR,GL/Config.h.temp,GLSUPPORT_CONFIG_GL_FONT_DIR,$(SHAREINSTALLDIR)/GLFonts)
@if ! diff GL/Config.h.temp GL/Config.h > /dev/null ; then cp GL/Config.h.temp GL/Config.h ; fi
@rm GL/Config.h.temp
@touch $(DEPDIR)/Configure-GLSupport
GLSUPPORT_HEADERS = GL/Config.h \
GL/GLPrintError.h \
GL/GLMarshallers.h GL/GLMarshallers.icpp \
GL/GLValueCoders.h \
GL/GLLightTracker.h \
GL/GLClipPlaneTracker.h \
GL/TLSHelper.h \
GL/GLObject.h \
GL/GLContextData.h \
GL/GLExtensions.h \
GL/GLExtensionManager.h \
GL/GLTextureObject.h \
GL/GLShader.h \
GL/GLGeometryShader.h \
GL/GLAutomaticShader.h \
GL/GLLineLightingShader.h \
GL/GLFrameBuffer.h \
GL/GLColorMap.h \
GL/GLNumberRenderer.h \
GL/GLFont.h \
GL/GLString.h \
GL/GLLabel.h \
GL/GLLineIlluminator.h \
GL/GLModels.h
GLSUPPORTEXTENSION_HEADERS = $(wildcard GL/Extensions/*.h) \
$(wildcard GL/Extensions/*.icpp)
GLSUPPORT_SOURCES = GL/GLPrintError.cpp \
GL/GLMarshallers.cpp \
GL/GLValueCoders.cpp \