Fix compilation on GCC 7.
[vkmodelviewer.git] / Makefile.am
blob42a4c8db0ce7fa9ef62358adb5189ca0f6406f59
1 ACLOCAL_AMFLAGS = -I m4
2 AM_CPPFLAGS = -I$(srcdir)/Core -I$(srcdir)/DirectXMath -I$(srcdir)/Model \
3         -DWIDL_EXPLICIT_AGGREGATE_RETURNS -DMODELVIEWER_DATADIR='"$(pkgdatadir)"'
4 AM_CXXFLAGS = @MODELVIEWER_CXXFLAGS@ @VKD3D_CFLAGS@ @XCB_CFLAGS@ @ZLIB_CFLAGS@
5 AM_LDFLAGS = @VKD3D_LIBS@ @VULKAN_LIBS@ @XCB_LIBS@ @ZLIB_LIBS@
7 hlsl_shaders = \
8         Core/shaders/DoFPass1CS.hlsl \
9         Core/shaders/DoFTilePassCS.hlsl \
10         Core/shaders/DoFTilePassFixupCS.hlsl \
11         Core/shaders/DoFPreFilterCS.hlsl \
12         Core/shaders/DoFPreFilterFastCS.hlsl \
13         Core/shaders/DoFPreFilterFixupCS.hlsl \
14         Core/shaders/DoFPass2CS.hlsl \
15         Core/shaders/DoFPass2FastCS.hlsl \
16         Core/shaders/DoFPass2FixupCS.hlsl \
17         Core/shaders/DoFPass2DebugCS.hlsl \
18         Core/shaders/DoFMedianFilterCS.hlsl \
19         Core/shaders/DoFMedianFilterSepAlphaCS.hlsl \
20         Core/shaders/DoFMedianFilterFixupCS.hlsl \
21         Core/shaders/DoFCombineCS.hlsl \
22         Core/shaders/DoFCombine2CS.hlsl \
23         Core/shaders/DoFCombineFastCS.hlsl \
24         Core/shaders/DoFCombineFast2CS.hlsl \
25         Core/shaders/DoFDebugRedCS.hlsl \
26         Core/shaders/DoFDebugGreenCS.hlsl \
27         Core/shaders/DoFDebugBlueCS.hlsl \
28         Core/shaders/FXAAPass1_RGB_CS.hlsl \
29         Core/shaders/FXAAPass1_Luma_CS.hlsl \
30         Core/shaders/FXAAPass1_RGB2_CS.hlsl \
31         Core/shaders/FXAAPass1_Luma2_CS.hlsl \
32         Core/shaders/FXAAResolveWorkQueueCS.hlsl \
33         Core/shaders/FXAAPass2HCS.hlsl \
34         Core/shaders/FXAAPass2VCS.hlsl \
35         Core/shaders/FXAAPass2H2CS.hlsl \
36         Core/shaders/FXAAPass2V2CS.hlsl \
37         Core/shaders/FXAAPass2HDebugCS.hlsl \
38         Core/shaders/FXAAPass2VDebugCS.hlsl \
39         Core/shaders/ScreenQuadVS.hlsl \
40         Core/shaders/BufferCopyPS.hlsl \
41         Core/shaders/PresentSDRPS.hlsl \
42         Core/shaders/PresentHDRPS.hlsl \
43         Core/shaders/MagnifyPixelsPS.hlsl \
44         Core/shaders/BilinearUpsamplePS.hlsl \
45         Core/shaders/BicubicHorizontalUpsamplePS.hlsl \
46         Core/shaders/BicubicVerticalUpsamplePS.hlsl \
47         Core/shaders/SharpeningUpsamplePS.hlsl \
48         Core/shaders/GenerateMipsLinearCS.hlsl \
49         Core/shaders/GenerateMipsLinearOddCS.hlsl \
50         Core/shaders/GenerateMipsLinearOddXCS.hlsl \
51         Core/shaders/GenerateMipsLinearOddYCS.hlsl \
52         Core/shaders/GenerateMipsGammaCS.hlsl \
53         Core/shaders/GenerateMipsGammaOddCS.hlsl \
54         Core/shaders/GenerateMipsGammaOddXCS.hlsl \
55         Core/shaders/GenerateMipsGammaOddYCS.hlsl \
56         Core/shaders/PerfGraphBackgroundVS.hlsl \
57         Core/shaders/PerfGraphVS.hlsl \
58         Core/shaders/PerfGraphPS.hlsl \
59         Core/shaders/CameraMotionBlurPrePassCS.hlsl \
60         Core/shaders/CameraMotionBlurPrePassLinearZCS.hlsl \
61         Core/shaders/MotionBlurPrePassCS.hlsl \
62         Core/shaders/MotionBlurFinalPassCS.hlsl \
63         Core/shaders/MotionBlurFinalPassPS.hlsl \
64         Core/shaders/CameraVelocityCS.hlsl \
65         Core/shaders/TemporalBlendCS.hlsl \
66         Core/shaders/BoundNeighborhoodCS.hlsl \
67         Core/shaders/ParticleSpawnCS.hlsl \
68         Core/shaders/ParticleUpdateCS.hlsl \
69         Core/shaders/ParticleDispatchIndirectArgsCS.hlsl \
70         Core/shaders/ParticleFinalDispatchIndirectArgsCS.hlsl \
71         Core/shaders/ParticleLargeBinCullingCS.hlsl \
72         Core/shaders/ParticleBinCullingCS.hlsl \
73         Core/shaders/ParticleTileRenderCS.hlsl \
74         Core/shaders/ParticleTileRenderFastCS.hlsl \
75         Core/shaders/ParticleTileRenderSlowDynamicCS.hlsl \
76         Core/shaders/ParticleTileRenderFastDynamicCS.hlsl \
77         Core/shaders/ParticleTileRenderSlowLowResCS.hlsl \
78         Core/shaders/ParticleTileRenderFastLowResCS.hlsl \
79         Core/shaders/ParticleTileRender2CS.hlsl \
80         Core/shaders/ParticleTileRenderFast2CS.hlsl \
81         Core/shaders/ParticleTileRenderSlowDynamic2CS.hlsl \
82         Core/shaders/ParticleTileRenderFastDynamic2CS.hlsl \
83         Core/shaders/ParticleTileRenderSlowLowRes2CS.hlsl \
84         Core/shaders/ParticleTileRenderFastLowRes2CS.hlsl \
85         Core/shaders/ParticleTileCullingCS.hlsl \
86         Core/shaders/ParticleDepthBoundsCS.hlsl \
87         Core/shaders/ParticleSortIndirectArgsCS.hlsl \
88         Core/shaders/ParticlePreSortCS.hlsl \
89         Core/shaders/ParticleInnerSortCS.hlsl \
90         Core/shaders/ParticleOuterSortCS.hlsl \
91         Core/shaders/ParticlePS.hlsl \
92         Core/shaders/ParticleVS.hlsl \
93         Core/shaders/ToneMapCS.hlsl \
94         Core/shaders/ToneMap2CS.hlsl \
95         Core/shaders/ToneMapHDRCS.hlsl \
96         Core/shaders/ToneMapHDR2CS.hlsl \
97         Core/shaders/ApplyBloomCS.hlsl \
98         Core/shaders/ApplyBloom2CS.hlsl \
99         Core/shaders/DebugLuminanceHdrCS.hlsl \
100         Core/shaders/DebugLuminanceHdr2CS.hlsl \
101         Core/shaders/DebugLuminanceLdrCS.hlsl \
102         Core/shaders/DebugLuminanceLdr2CS.hlsl \
103         Core/shaders/GenerateHistogramCS.hlsl \
104         Core/shaders/DebugDrawHistogramCS.hlsl \
105         Core/shaders/AdaptExposureCS.hlsl \
106         Core/shaders/DownsampleBloomCS.hlsl \
107         Core/shaders/DownsampleBloomAllCS.hlsl \
108         Core/shaders/UpsampleAndBlurCS.hlsl \
109         Core/shaders/BlurCS.hlsl \
110         Core/shaders/BloomExtractAndDownsampleHdrCS.hlsl \
111         Core/shaders/BloomExtractAndDownsampleLdrCS.hlsl \
112         Core/shaders/ExtractLumaCS.hlsl \
113         Core/shaders/AverageLumaCS.hlsl \
114         Core/shaders/CopyBackPostBufferCS.hlsl \
115         Core/shaders/AoPrepareDepthBuffers1CS.hlsl \
116         Core/shaders/AoPrepareDepthBuffers2CS.hlsl \
117         Core/shaders/LinearizeDepthCS.hlsl \
118         Core/shaders/DebugSSAOCS.hlsl \
119         Core/shaders/AoRender1CS.hlsl \
120         Core/shaders/AoRender2CS.hlsl \
121         Core/shaders/AoBlurUpsampleBlendOutCS.hlsl \
122         Core/shaders/AoBlurUpsamplePreMinBlendOutCS.hlsl \
123         Core/shaders/AoBlurUpsampleCS.hlsl \
124         Core/shaders/AoBlurUpsamplePreMinCS.hlsl \
125         Core/shaders/ResolveTAACS.hlsl \
126         Core/shaders/SharpenTAACS.hlsl \
127         Core/shaders/TextVS.hlsl \
128         Core/shaders/TextAntialiasPS.hlsl \
129         Core/shaders/TextShadowPS.hlsl \
130         ModelViewer/shaders/FillLightGridCS_8.hlsl \
131         ModelViewer/shaders/FillLightGridCS_16.hlsl \
132         ModelViewer/shaders/FillLightGridCS_24.hlsl \
133         ModelViewer/shaders/FillLightGridCS_32.hlsl \
134         ModelViewer/shaders/DepthViewerVS.hlsl \
135         ModelViewer/shaders/DepthViewerPS.hlsl \
136         ModelViewer/shaders/ModelViewerVS.hlsl \
137         ModelViewer/shaders/ModelViewerPS.hlsl \
138         ModelViewer/shaders/WaveTileCountPS.hlsl \
139         Core/shaders/DoFCommon.hlsli \
140         Core/shaders/DoFRS.hlsli \
141         Core/shaders/PixelPacking.hlsli \
142         Core/shaders/ColorSpaceUtility.hlsli \
143         Core/shaders/PixelPacking_RGBE.hlsli \
144         Core/shaders/PixelPacking_RGBM.hlsli \
145         Core/shaders/PixelPacking_R11G11B10.hlsli \
146         Core/shaders/FXAAPass1CS.hlsli \
147         Core/shaders/FXAARootSignature.hlsli \
148         Core/shaders/FXAAPass2CS.hlsli \
149         Core/shaders/PresentRS.hlsli \
150         Core/shaders/ToneMappingUtility.hlsli \
151         Core/shaders/ShaderUtility.hlsli \
152         Core/shaders/GenerateMipsCS.hlsli \
153         Core/shaders/PerfGraphRS.hlsli \
154         Core/shaders/MotionBlurRS.hlsli \
155         Core/shaders/PixelPacking_Velocity.hlsli \
156         Core/shaders/ParticleUpdateCommon.hlsli \
157         Core/shaders/TemporalRS.hlsli \
158         Core/shaders/ParticleUtility.hlsli \
159         Core/shaders/ParticleRS.hlsli \
160         Core/shaders/PostEffectsRS.hlsli \
161         Core/shaders/SSAORS.hlsli \
162         Core/shaders/AoRenderCS.hlsli \
163         Core/shaders/AoBlurAndUpsampleCS.hlsli \
164         Core/shaders/TextRS.hlsli \
165         ModelViewer/shaders/FillLightGridCS.hlsli \
166         ModelViewer/shaders/LightGrid.hlsli \
167         ModelViewer/shaders/ModelViewerRS.hlsli
169 compiled_shaders = \
170         Core/compiled_shaders/DoFPass1CS.h \
171         Core/compiled_shaders/DoFTilePassCS.h \
172         Core/compiled_shaders/DoFTilePassFixupCS.h \
173         Core/compiled_shaders/DoFPreFilterCS.h \
174         Core/compiled_shaders/DoFPreFilterFastCS.h \
175         Core/compiled_shaders/DoFPreFilterFixupCS.h \
176         Core/compiled_shaders/DoFPass2CS.h \
177         Core/compiled_shaders/DoFPass2FastCS.h \
178         Core/compiled_shaders/DoFPass2FixupCS.h \
179         Core/compiled_shaders/DoFPass2DebugCS.h \
180         Core/compiled_shaders/DoFMedianFilterCS.h \
181         Core/compiled_shaders/DoFMedianFilterSepAlphaCS.h \
182         Core/compiled_shaders/DoFMedianFilterFixupCS.h \
183         Core/compiled_shaders/DoFCombineCS.h \
184         Core/compiled_shaders/DoFCombine2CS.h \
185         Core/compiled_shaders/DoFCombineFastCS.h \
186         Core/compiled_shaders/DoFCombineFast2CS.h \
187         Core/compiled_shaders/DoFDebugRedCS.h \
188         Core/compiled_shaders/DoFDebugGreenCS.h \
189         Core/compiled_shaders/DoFDebugBlueCS.h \
190         Core/compiled_shaders/FXAAPass1_RGB_CS.h \
191         Core/compiled_shaders/FXAAPass1_Luma_CS.h \
192         Core/compiled_shaders/FXAAPass1_RGB2_CS.h \
193         Core/compiled_shaders/FXAAPass1_Luma2_CS.h \
194         Core/compiled_shaders/FXAAResolveWorkQueueCS.h \
195         Core/compiled_shaders/FXAAPass2HCS.h \
196         Core/compiled_shaders/FXAAPass2VCS.h \
197         Core/compiled_shaders/FXAAPass2H2CS.h \
198         Core/compiled_shaders/FXAAPass2V2CS.h \
199         Core/compiled_shaders/FXAAPass2HDebugCS.h \
200         Core/compiled_shaders/FXAAPass2VDebugCS.h \
201         Core/compiled_shaders/ScreenQuadVS.h \
202         Core/compiled_shaders/BufferCopyPS.h \
203         Core/compiled_shaders/PresentSDRPS.h \
204         Core/compiled_shaders/PresentHDRPS.h \
205         Core/compiled_shaders/MagnifyPixelsPS.h \
206         Core/compiled_shaders/BilinearUpsamplePS.h \
207         Core/compiled_shaders/BicubicHorizontalUpsamplePS.h \
208         Core/compiled_shaders/BicubicVerticalUpsamplePS.h \
209         Core/compiled_shaders/SharpeningUpsamplePS.h \
210         Core/compiled_shaders/GenerateMipsLinearCS.h \
211         Core/compiled_shaders/GenerateMipsLinearOddCS.h \
212         Core/compiled_shaders/GenerateMipsLinearOddXCS.h \
213         Core/compiled_shaders/GenerateMipsLinearOddYCS.h \
214         Core/compiled_shaders/GenerateMipsGammaCS.h \
215         Core/compiled_shaders/GenerateMipsGammaOddCS.h \
216         Core/compiled_shaders/GenerateMipsGammaOddXCS.h \
217         Core/compiled_shaders/GenerateMipsGammaOddYCS.h \
218         Core/compiled_shaders/PerfGraphBackgroundVS.h \
219         Core/compiled_shaders/PerfGraphVS.h \
220         Core/compiled_shaders/PerfGraphPS.h \
221         Core/compiled_shaders/CameraMotionBlurPrePassCS.h \
222         Core/compiled_shaders/CameraMotionBlurPrePassLinearZCS.h \
223         Core/compiled_shaders/MotionBlurPrePassCS.h \
224         Core/compiled_shaders/MotionBlurFinalPassCS.h \
225         Core/compiled_shaders/MotionBlurFinalPassPS.h \
226         Core/compiled_shaders/CameraVelocityCS.h \
227         Core/compiled_shaders/TemporalBlendCS.h \
228         Core/compiled_shaders/BoundNeighborhoodCS.h \
229         Core/compiled_shaders/ParticleSpawnCS.h \
230         Core/compiled_shaders/ParticleUpdateCS.h \
231         Core/compiled_shaders/ParticleDispatchIndirectArgsCS.h \
232         Core/compiled_shaders/ParticleFinalDispatchIndirectArgsCS.h \
233         Core/compiled_shaders/ParticleLargeBinCullingCS.h \
234         Core/compiled_shaders/ParticleBinCullingCS.h \
235         Core/compiled_shaders/ParticleTileRenderCS.h \
236         Core/compiled_shaders/ParticleTileRenderFastCS.h \
237         Core/compiled_shaders/ParticleTileRenderSlowDynamicCS.h \
238         Core/compiled_shaders/ParticleTileRenderFastDynamicCS.h \
239         Core/compiled_shaders/ParticleTileRenderSlowLowResCS.h \
240         Core/compiled_shaders/ParticleTileRenderFastLowResCS.h \
241         Core/compiled_shaders/ParticleTileRender2CS.h \
242         Core/compiled_shaders/ParticleTileRenderFast2CS.h \
243         Core/compiled_shaders/ParticleTileRenderSlowDynamic2CS.h \
244         Core/compiled_shaders/ParticleTileRenderFastDynamic2CS.h \
245         Core/compiled_shaders/ParticleTileRenderSlowLowRes2CS.h \
246         Core/compiled_shaders/ParticleTileRenderFastLowRes2CS.h \
247         Core/compiled_shaders/ParticleTileCullingCS.h \
248         Core/compiled_shaders/ParticleDepthBoundsCS.h \
249         Core/compiled_shaders/ParticleSortIndirectArgsCS.h \
250         Core/compiled_shaders/ParticlePreSortCS.h \
251         Core/compiled_shaders/ParticleInnerSortCS.h \
252         Core/compiled_shaders/ParticleOuterSortCS.h \
253         Core/compiled_shaders/ParticlePS.h \
254         Core/compiled_shaders/ParticleVS.h \
255         Core/compiled_shaders/ToneMapCS.h \
256         Core/compiled_shaders/ToneMap2CS.h \
257         Core/compiled_shaders/ToneMapHDRCS.h \
258         Core/compiled_shaders/ToneMapHDR2CS.h \
259         Core/compiled_shaders/ApplyBloomCS.h \
260         Core/compiled_shaders/ApplyBloom2CS.h \
261         Core/compiled_shaders/DebugLuminanceHdrCS.h \
262         Core/compiled_shaders/DebugLuminanceHdr2CS.h \
263         Core/compiled_shaders/DebugLuminanceLdrCS.h \
264         Core/compiled_shaders/DebugLuminanceLdr2CS.h \
265         Core/compiled_shaders/GenerateHistogramCS.h \
266         Core/compiled_shaders/DebugDrawHistogramCS.h \
267         Core/compiled_shaders/AdaptExposureCS.h \
268         Core/compiled_shaders/DownsampleBloomCS.h \
269         Core/compiled_shaders/DownsampleBloomAllCS.h \
270         Core/compiled_shaders/UpsampleAndBlurCS.h \
271         Core/compiled_shaders/BlurCS.h \
272         Core/compiled_shaders/BloomExtractAndDownsampleHdrCS.h \
273         Core/compiled_shaders/BloomExtractAndDownsampleLdrCS.h \
274         Core/compiled_shaders/ExtractLumaCS.h \
275         Core/compiled_shaders/AverageLumaCS.h \
276         Core/compiled_shaders/CopyBackPostBufferCS.h \
277         Core/compiled_shaders/AoPrepareDepthBuffers1CS.h \
278         Core/compiled_shaders/AoPrepareDepthBuffers2CS.h \
279         Core/compiled_shaders/LinearizeDepthCS.h \
280         Core/compiled_shaders/DebugSSAOCS.h \
281         Core/compiled_shaders/AoRender1CS.h \
282         Core/compiled_shaders/AoRender2CS.h \
283         Core/compiled_shaders/AoBlurUpsampleBlendOutCS.h \
284         Core/compiled_shaders/AoBlurUpsamplePreMinBlendOutCS.h \
285         Core/compiled_shaders/AoBlurUpsampleCS.h \
286         Core/compiled_shaders/AoBlurUpsamplePreMinCS.h \
287         Core/compiled_shaders/ResolveTAACS.h \
288         Core/compiled_shaders/SharpenTAACS.h \
289         Core/compiled_shaders/TextVS.h \
290         Core/compiled_shaders/TextAntialiasPS.h \
291         Core/compiled_shaders/TextShadowPS.h \
292         ModelViewer/compiled_shaders/FillLightGridCS_8.h \
293         ModelViewer/compiled_shaders/FillLightGridCS_16.h \
294         ModelViewer/compiled_shaders/FillLightGridCS_24.h \
295         ModelViewer/compiled_shaders/FillLightGridCS_32.h \
296         ModelViewer/compiled_shaders/DepthViewerVS.h \
297         ModelViewer/compiled_shaders/DepthViewerPS.h \
298         ModelViewer/compiled_shaders/ModelViewerVS.h \
299         ModelViewer/compiled_shaders/ModelViewerPS.h \
300         ModelViewer/compiled_shaders/WaveTileCountPS.h
302 logos = ModelViewer/logo.png \
303         ModelViewer/logo44.png \
304         ModelViewer/small_logo.png \
305         ModelViewer/splash_screen.png \
306         ModelViewer/store_logo.png \
307         ModelViewer/wide_logo.png
309 models = ModelViewer/models/sponza.h3d
311 model_textures = ModelViewer/textures/models/background.dds \
312         ModelViewer/textures/models/background_normal.dds \
313         ModelViewer/textures/models/chain_texture.dds \
314         ModelViewer/textures/models/chain_texture_normal.dds \
315         ModelViewer/textures/models/gi_flag.dds \
316         ModelViewer/textures/models/lion.dds \
317         ModelViewer/textures/models/lion_normal.dds \
318         ModelViewer/textures/models/spnza_bricks_a.dds \
319         ModelViewer/textures/models/spnza_bricks_a_normal.dds \
320         ModelViewer/textures/models/spnza_bricks_a_specular.dds \
321         ModelViewer/textures/models/sponza_arch.dds \
322         ModelViewer/textures/models/sponza_arch_normal.dds \
323         ModelViewer/textures/models/sponza_arch_specular.dds \
324         ModelViewer/textures/models/sponza_ceiling_a.dds \
325         ModelViewer/textures/models/sponza_ceiling_a_specular.dds \
326         ModelViewer/textures/models/sponza_column_a.dds \
327         ModelViewer/textures/models/sponza_column_a_normal.dds \
328         ModelViewer/textures/models/sponza_column_a_specular.dds \
329         ModelViewer/textures/models/sponza_column_b.dds \
330         ModelViewer/textures/models/sponza_column_b_normal.dds \
331         ModelViewer/textures/models/sponza_column_b_specular.dds \
332         ModelViewer/textures/models/sponza_column_c.dds \
333         ModelViewer/textures/models/sponza_column_c_normal.dds \
334         ModelViewer/textures/models/sponza_column_c_specular.dds \
335         ModelViewer/textures/models/sponza_curtain.dds \
336         ModelViewer/textures/models/sponza_curtain_blue.dds \
337         ModelViewer/textures/models/sponza_curtain_green.dds \
338         ModelViewer/textures/models/sponza_details.dds \
339         ModelViewer/textures/models/sponza_details_specular.dds \
340         ModelViewer/textures/models/sponza_fabric.dds \
341         ModelViewer/textures/models/sponza_fabric_blue.dds \
342         ModelViewer/textures/models/sponza_fabric_green.dds \
343         ModelViewer/textures/models/sponza_fabric_specular.dds \
344         ModelViewer/textures/models/sponza_flagpole.dds \
345         ModelViewer/textures/models/sponza_flagpole_specular.dds \
346         ModelViewer/textures/models/sponza_floor_a.dds \
347         ModelViewer/textures/models/sponza_floor_a_specular.dds \
348         ModelViewer/textures/models/sponza_roof.dds \
349         ModelViewer/textures/models/sponza_thorn.dds \
350         ModelViewer/textures/models/sponza_thorn_normal.dds \
351         ModelViewer/textures/models/sponza_thorn_specular.dds \
352         ModelViewer/textures/models/vase.dds \
353         ModelViewer/textures/models/vase_hanging.dds \
354         ModelViewer/textures/models/vase_normal.dds \
355         ModelViewer/textures/models/vase_plant.dds \
356         ModelViewer/textures/models/vase_plant_specular.dds \
357         ModelViewer/textures/models/vase_round.dds \
358         ModelViewer/textures/models/vase_round_normal.dds \
359         ModelViewer/textures/models/vase_round_specular.dds \
360         ModelViewer/textures/models/white.dds
362 textures = ModelViewer/textures/default.dds \
363         ModelViewer/textures/default_normal.dds \
364         ModelViewer/textures/default_specular.dds \
365         ModelViewer/textures/fire.dds \
366         ModelViewer/textures/smoke.dds \
367         ModelViewer/textures/spark_tex.dds
369 logodir = $(pkgdatadir)
370 logo_DATA = $(logos)
372 modeldir = $(pkgdatadir)/models
373 model_DATA = $(models)
375 model_texturedir = $(pkgdatadir)/textures/models
376 model_texture_DATA = $(model_textures)
378 texturedir = $(pkgdatadir)/textures
379 texture_DATA = $(textures)
381 BUILT_SOURCES = $(compiled_shaders)
383 bin_PROGRAMS = ModelViewer/vkmodelviewer
385 ModelViewer_vkmodelviewer_SOURCES = \
386         Core/BufferManager.cpp \
387         Core/CameraController.cpp \
388         Core/Camera.cpp \
389         Core/ColorBuffer.cpp \
390         Core/CommandAllocatorPool.cpp \
391         Core/CommandContext.cpp \
392         Core/CommandListManager.cpp \
393         Core/CommandSignature.cpp \
394         Core/DDSTextureLoader.cpp \
395         Core/DepthBuffer.cpp \
396         Core/DepthOfField.cpp \
397         Core/DescriptorHeap.cpp \
398         Core/DynamicDescriptorHeap.cpp \
399         Core/EngineProfiling.cpp \
400         Core/EngineTuning.cpp \
401         Core/FileUtility.cpp \
402         Core/FXAA.cpp \
403         Core/GameCore.cpp \
404         Core/GameInput.cpp \
405         Core/GpuBuffer.cpp \
406         Core/GpuTimeManager.cpp \
407         Core/GraphicsCommon.cpp \
408         Core/GraphicsCore.cpp \
409         Core/GraphRenderer.cpp \
410         Core/LinearAllocator.cpp \
411         Core/Math/Frustum.cpp \
412         Core/MotionBlur.cpp \
413         Core/ParticleEffect.cpp \
414         Core/ParticleEffectManager.cpp \
415         Core/PipelineState.cpp \
416         Core/PixelBuffer.cpp \
417         Core/port.cpp \
418         Core/PostEffects.cpp \
419         Core/RootSignature.cpp \
420         Core/SamplerManager.cpp \
421         Core/ShadowBuffer.cpp \
422         Core/ShadowCamera.cpp \
423         Core/SSAO.cpp \
424         Core/SystemTime.cpp \
425         Core/TemporalEffects.cpp \
426         Core/TextRenderer.cpp \
427         Core/TextureManager.cpp \
428         Core/Utility.cpp \
429         Model/Model.cpp \
430         Model/ModelH3D.cpp \
431         ModelViewer/ForwardPlusLighting.cpp \
432         ModelViewer/ModelViewer.cpp \
433         xinput/xinput.c \
434         Core/BufferManager.h \
435         Core/Camera.h \
436         Core/CameraController.h \
437         Core/Color.h \
438         Core/ColorBuffer.h \
439         Core/CommandAllocatorPool.h \
440         Core/CommandContext.h \
441         Core/CommandListManager.h \
442         Core/CommandSignature.h \
443         Core/d3dx12.h \
444         Core/dds.h \
445         Core/DDSTextureLoader.h \
446         Core/DepthBuffer.h \
447         Core/DepthOfField.h \
448         Core/DescriptorHeap.h \
449         Core/DynamicDescriptorHeap.h \
450         Core/EngineTuning.h \
451         Core/EngineProfiling.h \
452         Core/EsramAllocator.h \
453         Core/FileUtility.h \
454         Core/FXAA.h \
455         Core/GameCore.h \
456         Core/GameInput.h \
457         Core/GpuBuffer.h \
458         Core/GpuResource.h \
459         Core/GpuTimeManager.h \
460         Core/GraphicsCommon.h \
461         Core/GraphicsCore.h \
462         Core/GraphRenderer.h \
463         Core/Hash.h \
464         Core/LinearAllocator.h \
465         Core/MotionBlur.h \
466         Core/pch.h \
467         Core/ParticleEffect.h \
468         Core/ParticleEffectManager.h \
469         Core/ParticleEffectProperties.h \
470         Core/ParticleShaderStructs.h \
471         Core/PixelBuffer.h \
472         Core/PipelineState.h \
473         Core/port.h \
474         Core/port_wrl.h \
475         Core/PostEffects.h \
476         Core/RootSignature.h \
477         Core/SamplerManager.h \
478         Core/ShadowBuffer.h \
479         Core/ShadowCamera.h \
480         Core/SSAO.h \
481         Core/SystemTime.h \
482         Core/TemporalEffects.h \
483         Core/TextRenderer.h \
484         Core/TextureManager.h \
485         Core/Utility.h \
486         Core/VectorMath.h \
487         Core/Fonts/consola24.h \
488         Core/Math/BoundingPlane.h \
489         Core/Math/BoundingSphere.h \
490         Core/Math/Common.h \
491         Core/Math/Frustum.h \
492         Core/Math/Functions.inl \
493         Core/Math/Matrix3.h \
494         Core/Math/Matrix4.h \
495         Core/Math/Quaternion.h \
496         Core/Math/Random.h \
497         Core/Math/Scalar.h \
498         Core/Math/Transform.h \
499         Core/Math/Vector.h \
500         DirectXMath/DirectXMath.h \
501         DirectXMath/DirectXMathConvert.inl \
502         DirectXMath/DirectXMathVector.inl \
503         DirectXMath/DirectXMathMatrix.inl \
504         DirectXMath/DirectXMathMisc.inl \
505         Model/Model.h \
506         ModelViewer/ForwardPlusLighting.h \
507         xinput/xinput.h
509 VKMV_V_HLSLC = $(vkmv_v_hlslc_@AM_V@)
510 vkmv_v_hlslc_ = $(vkmv_v_hlslc_@AM_DEFAULT_V@)
511 vkmv_v_hlslc_0 = @echo "  HLSLC   " $@;
512 vkmv_v_hlslc_1 =
514 EXTRA_DIST = $(hlsl_shaders) \
515         $(compiled_shaders) \
516         $(logos) \
517         $(models) \
518         $(model_textures) \
519         $(textures) \
520         DirectXMath/README \
521         DirectXMath/COPYING
523 .SECONDEXPANSION:
524 $(compiled_shaders): %.h: $$(*D)/../shaders/$$(*F).hlsl
525         $(VKMV_V_HLSLC)$(HLSLC) $@ $<