glfw 0.1.0 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fb03cda4f9922491ba4d802c9154d6350af253b
4
- data.tar.gz: 96577930eb54ca7b519705e51878c652393cb7f4
3
+ metadata.gz: 3ca1a58ecdbd6b33d8c6ae549554cff5c9da32fd
4
+ data.tar.gz: 5ebe2f5f8650ba1dd778011adee4cb2504f32fc0
5
5
  SHA512:
6
- metadata.gz: 7bd6abb2bd93cffd121e03c9d3a55b1d55506c6a8b3f82d60cee9ca79614443ae99d1219856395a1c8bf6171786e9daa9adf92d1a8a407a490d399db0129ca88
7
- data.tar.gz: a57320cfc1968e7805ab9987b82d7705221bcb8746e25163e577dfb4906ebed68a4f150abf9aa1192f5e78f25890233d42e7b379144516bc722efd470658b06c
6
+ metadata.gz: df2b8b789740aa1809b3d109c25f57eb5b004dbb9cd74f722c76cc2d8d980d3ae71debbed6e27e9b91fec0aa7a4872d4ea03ca4747efebc453f9c548ecc630e0
7
+ data.tar.gz: a9eaa3be251a8ab64fa5e77e656a473a082e29bb79e596fbf4b9d49d5d81acc794655853bcf71fef2a66837d7aa26333ca96cdbf02b6136bed518564467ea782
data/.gitignore CHANGED
@@ -2,10 +2,16 @@
2
2
  /.yardoc
3
3
  /_yardoc/
4
4
  /coverage/
5
+ /test/
5
6
  /doc/
6
7
  /pkg/
8
+ MakeFile
7
9
  /spec/reports/
8
10
  /tmp/
9
-
10
- # rspec failure tracking
11
- .rspec_status
11
+ /temp/
12
+ *.bundle
13
+ *.so
14
+ *.o
15
+ mkmf.log
16
+ /.idea/
17
+ /.vscode/
@@ -1,13 +1,11 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="ModuleRunConfigurationManager">
4
- <shared />
5
- </component>
6
- <component name="NewModuleRootManager">
7
- <content url="file://$MODULE_DIR$" />
8
- <orderEntry type="inheritedJdk" />
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.2, ruby-2.4.4-p296) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, ruby-2.4.4-p296) [gem]" level="application" />
12
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$" />
8
+ <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ </component>
13
11
  </module>
@@ -1,7 +1,7 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptSettings">
4
- <option name="languageLevel" value="ES6" />
5
- </component>
6
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.4.4-p296" project-jdk-type="RUBY_SDK" />
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.4.4-p296" project-jdk-type="RUBY_SDK" />
7
7
  </project>
@@ -1,8 +1,8 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/glfw.iml" filepath="$PROJECT_DIR$/.idea/glfw.iml" />
6
- </modules>
7
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/glfw.iml" filepath="$PROJECT_DIR$/.idea/glfw.iml" />
6
+ </modules>
7
+ </component>
8
8
  </project>
@@ -1,13 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" id="30ebf488-7b2e-4e8f-b513-19cd69b024ea" name="Default" comment="">
4
+ <list default="true" id="bec0f959-b1e7-4bac-8edf-f350c11d3831" name="Default Changelist" comment="">
5
5
  <change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
6
6
  <change afterPath="$PROJECT_DIR$/.idea/glfw.iml" afterDir="false" />
7
7
  <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
8
8
  <change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
9
9
  <change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/.rspec" afterDir="false" />
11
10
  <change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
12
11
  <change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
13
12
  <change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
@@ -16,87 +15,47 @@
16
15
  <change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
17
16
  <change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
18
17
  <change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
18
+ <change afterPath="$PROJECT_DIR$/ext/glfw/extconf.rb" afterDir="false" />
19
+ <change afterPath="$PROJECT_DIR$/ext/glfw/glfw.c" afterDir="false" />
20
+ <change afterPath="$PROJECT_DIR$/ext/glfw/glfw.h" afterDir="false" />
19
21
  <change afterPath="$PROJECT_DIR$/glfw.gemspec" afterDir="false" />
20
22
  <change afterPath="$PROJECT_DIR$/lib/glfw.rb" afterDir="false" />
21
23
  <change afterPath="$PROJECT_DIR$/lib/glfw/version.rb" afterDir="false" />
22
- <change afterPath="$PROJECT_DIR$/lib/glfw/window.rb" afterDir="false" />
23
- <change afterPath="$PROJECT_DIR$/spec/glfw_spec.rb" afterDir="false" />
24
- <change afterPath="$PROJECT_DIR$/spec/spec_helper.rb" afterDir="false" />
24
+ <change afterPath="$PROJECT_DIR$/test/glfw_test.rb" afterDir="false" />
25
+ <change afterPath="$PROJECT_DIR$/test/test_helper.rb" afterDir="false" />
25
26
  </list>
26
27
  <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
27
- <option name="TRACKING_ENABLED" value="true" />
28
28
  <option name="SHOW_DIALOG" value="false" />
29
29
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
30
30
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
31
31
  <option name="LAST_RESOLUTION" value="IGNORE" />
32
32
  </component>
33
- <component name="CoverageDataManager">
34
- <SUITE FILE_PATH="coverage/glfw@glfw.rcov" NAME="glfw Coverage Results" MODIFIED="1531629579669" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="glfw" />
35
- </component>
36
- <component name="FileEditorManager">
37
- <leaf>
38
- <file leaf-file-name="glfw.rb" pinned="false" current-in-tab="false">
39
- <entry file="file://$PROJECT_DIR$/lib/glfw.rb">
40
- <provider selected="true" editor-type-id="text-editor">
41
- <state relative-caret-position="16">
42
- <caret line="6" selection-start-line="6" selection-end-line="6" />
43
- </state>
44
- </provider>
45
- </entry>
46
- </file>
47
- <file leaf-file-name="window.rb" pinned="false" current-in-tab="false">
48
- <entry file="file://$PROJECT_DIR$/lib/glfw/window.rb">
49
- <provider selected="true" editor-type-id="text-editor">
50
- <state relative-caret-position="140">
51
- <caret line="10" column="5" selection-start-line="10" selection-start-column="5" selection-end-line="10" selection-end-column="5" />
52
- </state>
53
- </provider>
54
- </entry>
55
- </file>
56
- <file leaf-file-name="glfw.gemspec" pinned="false" current-in-tab="true">
57
- <entry file="file://$PROJECT_DIR$/glfw.gemspec">
58
- <provider selected="true" editor-type-id="text-editor">
59
- <state relative-caret-position="294">
60
- <caret line="21" column="30" lean-forward="true" selection-start-line="21" selection-start-column="30" selection-end-line="21" selection-end-column="30" />
61
- </state>
62
- </provider>
63
- </entry>
64
- </file>
65
- </leaf>
66
- </component>
67
- <component name="FileTemplateManagerImpl">
68
- <option name="RECENT_TEMPLATES">
69
- <list>
70
- <option value="Ruby Class Template" />
71
- </list>
72
- </option>
33
+ <component name="FUSProjectUsageTrigger">
34
+ <session id="-1835471281">
35
+ <usages-collector id="statistics.lifecycle.project">
36
+ <counts>
37
+ <entry key="project.closed" value="2" />
38
+ <entry key="project.open.time.0" value="1" />
39
+ <entry key="project.open.time.5" value="1" />
40
+ <entry key="project.opened" value="2" />
41
+ </counts>
42
+ </usages-collector>
43
+ </session>
73
44
  </component>
74
45
  <component name="Git.Settings">
75
46
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
76
47
  </component>
77
- <component name="IdeDocumentHistory">
78
- <option name="CHANGED_PATHS">
79
- <list>
80
- <option value="$PROJECT_DIR$/lib/glfw.rb" />
81
- <option value="$PROJECT_DIR$/lib/glfw/window.rb" />
82
- <option value="$PROJECT_DIR$/glfw.gemspec" />
83
- </list>
84
- </option>
85
- </component>
86
48
  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
87
49
  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
88
50
  <component name="JsGulpfileManager">
89
51
  <detection-done>true</detection-done>
90
52
  <sorting>DEFINITION_ORDER</sorting>
91
53
  </component>
92
- <component name="NodePackageJsonFileManager">
93
- <packageJsonPaths />
94
- </component>
95
54
  <component name="ProjectFrameBounds" extendedState="6">
96
- <option name="x" value="467" />
97
- <option name="y" value="150" />
98
- <option name="width" value="975" />
99
- <option name="height" value="792" />
55
+ <option name="x" value="433" />
56
+ <option name="y" value="117" />
57
+ <option name="width" value="1007" />
58
+ <option name="height" value="795" />
100
59
  </component>
101
60
  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
102
61
  <component name="ProjectView">
@@ -104,18 +63,8 @@
104
63
  <foldersAlwaysOnTop value="true" />
105
64
  </navigator>
106
65
  <panes>
107
- <pane id="ProjectPane">
108
- <subPane>
109
- <expand>
110
- <path>
111
- <item name="glfw" type="b2602c69:ProjectViewProjectNode" />
112
- <item name="glfw" type="462c0819:PsiDirectoryNode" />
113
- </path>
114
- </expand>
115
- <select />
116
- </subPane>
117
- </pane>
118
66
  <pane id="Scope" />
67
+ <pane id="ProjectPane" />
119
68
  </panes>
120
69
  </component>
121
70
  <component name="PropertiesComponent">
@@ -124,16 +73,6 @@
124
73
  <property name="nodejs_npm_path_reset_for_default_project" value="true" />
125
74
  <property name="settings.editor.selected.configurable" value="editor.preferences.fonts.default" />
126
75
  </component>
127
- <component name="RecentsManager">
128
- <key name="CopyFile.RECENT_KEYS">
129
- <recent name="C:\Users\Eric\OneDrive\Documents\RubymineProjects\glfw" />
130
- </key>
131
- <key name="MoveFile.RECENT_KEYS">
132
- <recent name="C:\Users\Eric\OneDrive\Documents\RubymineProjects\glfw\lib" />
133
- <recent name="C:\Users\Eric\OneDrive\Documents\RubymineProjects\glfw\lib\glfw" />
134
- <recent name="C:\Users\Eric\OneDrive\Documents\RubymineProjects\glfw" />
135
- </key>
136
- </component>
137
76
  <component name="RunDashboard">
138
77
  <option name="ruleStates">
139
78
  <list>
@@ -146,64 +85,44 @@
146
85
  </list>
147
86
  </option>
148
87
  </component>
149
- <component name="RunManager">
150
- <configuration name="glfw" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
151
- <module name="glfw" />
152
- <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
153
- <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
154
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
155
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
156
- <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
157
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
158
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
159
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov" />
160
- <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/glfw.rb" />
161
- <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
162
- </configuration>
163
- <recent_temporary>
164
- <list>
165
- <item itemvalue="Ruby.glfw" />
166
- </list>
167
- </recent_temporary>
168
- </component>
169
88
  <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
170
89
  <component name="TaskManager">
171
90
  <task active="true" id="Default" summary="Default task">
172
- <changelist id="30ebf488-7b2e-4e8f-b513-19cd69b024ea" name="Default" comment="" />
173
- <created>1531624775765</created>
91
+ <changelist id="bec0f959-b1e7-4bac-8edf-f350c11d3831" name="Default Changelist" comment="" />
92
+ <created>1533531594845</created>
174
93
  <option name="number" value="Default" />
175
94
  <option name="presentableId" value="Default" />
176
- <updated>1531624775765</updated>
177
- <workItem from="1531624776991" duration="4924000" />
95
+ <updated>1533531594845</updated>
96
+ <workItem from="1533531596193" duration="3000" />
97
+ <workItem from="1533545593322" duration="154000" />
178
98
  </task>
179
99
  <servers />
180
100
  </component>
181
101
  <component name="TimeTrackingManager">
182
- <option name="totallyTimeSpent" value="4924000" />
102
+ <option name="totallyTimeSpent" value="157000" />
183
103
  </component>
184
104
  <component name="ToolWindowManager">
185
105
  <frame x="-7" y="-7" width="1753" height="954" extended-state="6" />
186
- <editor active="true" />
187
106
  <layout>
188
- <window_info anchor="bottom" id="TODO" order="6" />
189
- <window_info anchor="bottom" id="Event Log" side_tool="true" />
190
- <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
191
- <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.32936978" />
192
- <window_info anchor="bottom" id="Version Control" />
193
- <window_info anchor="bottom" id="Terminal" />
194
- <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24956872" />
195
- <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
196
- <window_info anchor="right" id="Database" />
197
- <window_info anchor="bottom" id="Find" order="1" weight="0.23543401" />
107
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2525074" />
198
108
  <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
199
- <window_info anchor="bottom" id="Debug" order="3" weight="0.39952436" />
200
- <window_info id="Favorites" side_tool="true" />
201
- <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
202
- <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
203
- <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
204
- <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
109
+ <window_info id="Favorites" order="2" side_tool="true" />
205
110
  <window_info anchor="bottom" id="Message" order="0" />
111
+ <window_info anchor="bottom" id="Find" order="1" />
112
+ <window_info anchor="bottom" id="Run" order="2" weight="0.32886723" />
113
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
206
114
  <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
115
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
116
+ <window_info anchor="bottom" id="TODO" order="6" />
117
+ <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
118
+ <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
119
+ <window_info anchor="bottom" id="Version Control" order="9" />
120
+ <window_info anchor="bottom" id="Terminal" order="10" />
121
+ <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
122
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
123
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
124
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
125
+ <window_info anchor="right" id="Database" order="3" />
207
126
  </layout>
208
127
  </component>
209
128
  <component name="TypeScriptGeneratedFilesManager">
@@ -212,38 +131,4 @@
212
131
  <component name="VcsContentAnnotationSettings">
213
132
  <option name="myLimit" value="2678400000" />
214
133
  </component>
215
- <component name="XDebuggerManager">
216
- <breakpoint-manager>
217
- <breakpoints>
218
- <line-breakpoint enabled="true" type="ruby-line">
219
- <url>file://$PROJECT_DIR$/lib/glfw.rb</url>
220
- <line>36</line>
221
- </line-breakpoint>
222
- </breakpoints>
223
- <option name="time" value="1" />
224
- </breakpoint-manager>
225
- </component>
226
- <component name="editorHistoryManager">
227
- <entry file="file://$PROJECT_DIR$/lib/glfw.rb">
228
- <provider selected="true" editor-type-id="text-editor">
229
- <state relative-caret-position="16">
230
- <caret line="6" selection-start-line="6" selection-end-line="6" />
231
- </state>
232
- </provider>
233
- </entry>
234
- <entry file="file://$PROJECT_DIR$/lib/glfw/window.rb">
235
- <provider selected="true" editor-type-id="text-editor">
236
- <state relative-caret-position="140">
237
- <caret line="10" column="5" selection-start-line="10" selection-start-column="5" selection-end-line="10" selection-end-column="5" />
238
- </state>
239
- </provider>
240
- </entry>
241
- <entry file="file://$PROJECT_DIR$/glfw.gemspec">
242
- <provider selected="true" editor-type-id="text-editor">
243
- <state relative-caret-position="294">
244
- <caret line="21" column="30" lean-forward="true" selection-start-line="21" selection-start-column="30" selection-end-line="21" selection-end-column="30" />
245
- </state>
246
- </provider>
247
- </entry>
248
- </component>
249
134
  </project>
@@ -0,0 +1,267 @@
1
+
2
+ SHELL = /bin/sh
3
+
4
+ # V=0 quiet, V=1 verbose. other values don't work.
5
+ V = 0
6
+ Q1 = $(V:1=)
7
+ Q = $(Q1:0=@)
8
+ ECHO1 = $(V:1=@ :)
9
+ ECHO = $(ECHO1:0=@ echo)
10
+ NULLCMD = :
11
+
12
+ #### Start of system configuration section. ####
13
+
14
+ srcdir = /c/Users/Eric/OneDrive/Documents/RubymineProjects/glfw/ext/glfw
15
+ topdir = /C/Ruby24/include/ruby-2.4.0
16
+ hdrdir = $(topdir)
17
+ arch_hdrdir = C:/Ruby24/include/ruby-2.4.0/i386-mingw32
18
+ PATH_SEPARATOR = :
19
+ VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
20
+ prefix = $(DESTDIR)/C/Ruby24
21
+ rubysitearchprefix = $(rubylibprefix)/$(sitearch)
22
+ rubyarchprefix = $(rubylibprefix)/$(arch)
23
+ rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
24
+ exec_prefix = $(prefix)
25
+ vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
26
+ sitearchhdrdir = $(sitehdrdir)/$(sitearch)
27
+ rubyarchhdrdir = $(rubyhdrdir)/$(arch)
28
+ vendorhdrdir = $(rubyhdrdir)/vendor_ruby
29
+ sitehdrdir = $(rubyhdrdir)/site_ruby
30
+ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
32
+ vendorlibdir = $(vendordir)/$(ruby_version)
33
+ vendordir = $(rubylibprefix)/vendor_ruby
34
+ sitearchdir = $(sitelibdir)/$(sitearch)
35
+ sitelibdir = $(sitedir)/$(ruby_version)
36
+ sitedir = $(rubylibprefix)/site_ruby
37
+ rubyarchdir = $(rubylibdir)/$(arch)
38
+ rubylibdir = $(rubylibprefix)/$(ruby_version)
39
+ sitearchincludedir = $(includedir)/$(sitearch)
40
+ archincludedir = $(includedir)/$(arch)
41
+ sitearchlibdir = $(libdir)/$(sitearch)
42
+ archlibdir = $(libdir)/$(arch)
43
+ ridir = $(datarootdir)/$(RI_BASE_NAME)
44
+ mandir = $(datarootdir)/man
45
+ localedir = $(datarootdir)/locale
46
+ libdir = $(exec_prefix)/lib
47
+ psdir = $(docdir)
48
+ pdfdir = $(docdir)
49
+ dvidir = $(docdir)
50
+ htmldir = $(docdir)
51
+ infodir = $(datarootdir)/info
52
+ docdir = $(datarootdir)/doc/$(PACKAGE)
53
+ oldincludedir = $(DESTDIR)/usr/include
54
+ includedir = $(prefix)/include
55
+ localstatedir = $(prefix)/var
56
+ sharedstatedir = $(prefix)/com
57
+ sysconfdir = $(prefix)/etc
58
+ datadir = $(datarootdir)
59
+ datarootdir = $(prefix)/share
60
+ libexecdir = $(exec_prefix)/libexec
61
+ sbindir = $(exec_prefix)/sbin
62
+ bindir = $(exec_prefix)/bin
63
+ archdir = $(rubyarchdir)
64
+
65
+
66
+ CC = i686-w64-mingw32-gcc
67
+ CXX = i686-w64-mingw32-g++
68
+ LIBRUBY = lib$(RUBY_SO_NAME).dll.a
69
+ LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
70
+ LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
71
+ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
72
+ empty =
73
+ OUTFLAG = -o $(empty)
74
+ COUTFLAG = -o $(empty)
75
+ CSRCFLAG = $(empty)
76
+
77
+ RUBY_EXTCONF_H =
78
+ cflags = $(optflags) $(debugflags) $(warnflags)
79
+ cxxflags = $(optflags) $(debugflags) $(warnflags)
80
+ optflags = -O3 -fno-omit-frame-pointer -fno-fast-math
81
+ debugflags = -ggdb3
82
+ warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0
83
+ CCDLFLAGS =
84
+ CFLAGS = $(CCDLFLAGS) -march=i686 -mtune=generic -O2 -pipe $(ARCH_FLAG)
85
+ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
86
+ DEFS = -D_FILE_OFFSET_BITS=64
87
+ CPPFLAGS = -IC:/Ruby24/include -Ic:/Users/Eric/OneDrive/Documents/RubymineProjects/glfw/ext/glfw -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT $(DEFS) $(cppflags)
88
+ CXXFLAGS = $(CCDLFLAGS) -march=i686 -mtune=generic -O2 -pipe $(ARCH_FLAG)
89
+ ldflags = -L. -pipe
90
+ dldflags = -pipe -Wl,--enable-auto-image-base,--enable-auto-import $(DEFFILE)
91
+ ARCH_FLAG =
92
+ DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
93
+ LDSHARED = $(CC) -shared $(if $(filter-out -g -g0,$(debugflags)),,-s)
94
+ LDSHAREDXX = $(CXX) -shared $(if $(filter-out -g -g0,$(debugflags)),,-s)
95
+ AR = ar
96
+ EXEEXT = .exe
97
+
98
+ RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
99
+ RUBY_SO_NAME = msvcrt-ruby240
100
+ RUBYW_INSTALL_NAME = $(RUBYW_BASE_NAME)
101
+ RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
102
+ RUBYW_BASE_NAME = rubyw
103
+ RUBY_BASE_NAME = ruby
104
+
105
+ arch = i386-mingw32
106
+ sitearch = i386-msvcrt
107
+ ruby_version = 2.4.0
108
+ ruby = $(bindir)/$(RUBY_BASE_NAME)
109
+ RUBY = $(ruby)
110
+ ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
111
+
112
+ RM = rm -f
113
+ RM_RF = $(RUBY) -run -e rm -- -rf
114
+ RMDIRS = rmdir --ignore-fail-on-non-empty -p
115
+ MAKEDIRS = /usr/bin/mkdir -p
116
+ INSTALL = /usr/bin/install -c
117
+ INSTALL_PROG = $(INSTALL) -m 0755
118
+ INSTALL_DATA = $(INSTALL) -m 644
119
+ COPY = cp
120
+ TOUCH = exit >
121
+
122
+ #### End of system configuration section. ####
123
+
124
+ preload =
125
+ libpath = . $(libdir) C:/Ruby24/lib c:/Users/Eric/OneDrive/Documents/RubymineProjects/glfw/ext/glfw/lib
126
+ LIBPATH = -L. -L$(libdir) -LC:/Ruby24/lib -Lc:/Users/Eric/OneDrive/Documents/RubymineProjects/glfw/ext/glfw/lib
127
+ DEFFILE = $(TARGET)-$(arch).def
128
+
129
+ CLEANFILES = mkmf.log $(DEFFILE)
130
+ DISTCLEANFILES =
131
+ DISTCLEANDIRS =
132
+
133
+ extout =
134
+ extout_prefix =
135
+ target_prefix = /glfw
136
+ LOCAL_LIBS = -lglfw3 -lgdi32 -lopengl32
137
+ LIBS = $(LIBRUBYARG_SHARED) -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi
138
+ ORIG_SRCS = cursor.c glfw.c image.c monitor.c video_mode.c vulkan.c window.c
139
+ SRCS = $(ORIG_SRCS)
140
+ OBJS = cursor.o glfw.o image.o monitor.o video_mode.o vulkan.o window.o
141
+ HDRS = $(srcdir)/common.h $(srcdir)/cursor.h $(srcdir)/glfw.h $(srcdir)/glfw3.h $(srcdir)/glfw3native.h $(srcdir)/image.h $(srcdir)/monitor.h $(srcdir)/video_mode.h $(srcdir)/vulkan.h $(srcdir)/window.h
142
+ LOCAL_HDRS =
143
+ TARGET = glfw
144
+ TARGET_NAME = glfw
145
+ TARGET_ENTRY = Init_$(TARGET_NAME)
146
+ DLLIB = $(TARGET).so
147
+ EXTSTATIC =
148
+ STATIC_LIB =
149
+
150
+ TIMESTAMP_DIR = .
151
+ BINDIR = $(bindir)
152
+ RUBYCOMMONDIR = $(sitedir)$(target_prefix)
153
+ RUBYLIBDIR = $(sitelibdir)$(target_prefix)
154
+ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
155
+ HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
156
+ ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
157
+ TARGET_SO_DIR =
158
+ TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
159
+ CLEANLIBS = $(TARGET_SO)
160
+ CLEANOBJS = *.o *.bak
161
+
162
+ all: $(DLLIB)
163
+ static: $(STATIC_LIB)
164
+ .PHONY: all install static install-so install-rb
165
+ .PHONY: clean clean-so clean-static clean-rb
166
+
167
+ clean-static::
168
+ clean-rb-default::
169
+ clean-rb::
170
+ clean-so::
171
+ clean: clean-so clean-static clean-rb-default clean-rb
172
+ -$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
173
+
174
+ distclean-rb-default::
175
+ distclean-rb::
176
+ distclean-so::
177
+ distclean-static::
178
+ distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
179
+ -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
180
+ -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
181
+ -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
182
+
183
+ realclean: distclean
184
+ install: install-so install-rb
185
+
186
+ install-so: $(DLLIB) $(TIMESTAMP_DIR)/.sitearchdir.-.glfw.time
187
+ $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
188
+ clean-static::
189
+ -$(Q)$(RM) $(STATIC_LIB)
190
+ install-rb: pre-install-rb do-install-rb install-rb-default
191
+ install-rb-default: pre-install-rb-default do-install-rb-default
192
+ pre-install-rb: Makefile
193
+ pre-install-rb-default: Makefile
194
+ do-install-rb:
195
+ do-install-rb-default:
196
+ pre-install-rb-default:
197
+ @$(NULLCMD)
198
+ $(TIMESTAMP_DIR)/.sitearchdir.-.glfw.time:
199
+ $(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
200
+ $(Q) $(TOUCH) $@
201
+
202
+ site-install: site-install-so site-install-rb
203
+ site-install-so: install-so
204
+ site-install-rb: install-rb
205
+
206
+ .SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S
207
+
208
+ .cc.o:
209
+ $(ECHO) compiling $(<)
210
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
211
+
212
+ .cc.S:
213
+ $(ECHO) translating $(<)
214
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
215
+
216
+ .mm.o:
217
+ $(ECHO) compiling $(<)
218
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
219
+
220
+ .mm.S:
221
+ $(ECHO) translating $(<)
222
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
223
+
224
+ .cxx.o:
225
+ $(ECHO) compiling $(<)
226
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
227
+
228
+ .cxx.S:
229
+ $(ECHO) translating $(<)
230
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
231
+
232
+ .cpp.o:
233
+ $(ECHO) compiling $(<)
234
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
235
+
236
+ .cpp.S:
237
+ $(ECHO) translating $(<)
238
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
239
+
240
+ .c.o:
241
+ $(ECHO) compiling $(<)
242
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
243
+
244
+ .c.S:
245
+ $(ECHO) translating $(<)
246
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
247
+
248
+ .m.o:
249
+ $(ECHO) compiling $(<)
250
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
251
+
252
+ .m.S:
253
+ $(ECHO) translating $(<)
254
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
255
+
256
+ $(TARGET_SO): $(DEFFILE) $(OBJS) Makefile
257
+ $(ECHO) linking shared-object glfw/$(DLLIB)
258
+ -$(Q)$(RM) $(@)
259
+ $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
260
+
261
+
262
+
263
+ $(DEFFILE):
264
+ $(ECHO) generating $(@)
265
+ $(Q) (echo EXPORTS && echo $(TARGET_ENTRY)) > $@
266
+
267
+ $(OBJS): $(HDRS) $(ruby_headers)