Add dependency generation for .api files
[panamaz] / Makefile
1
2 dist_VERSION=0.0.99
3 dist_NAME=panamaz
4 dist_EXTRA=README COPYING
5
6 include config.make
7
8 java_MODULES = notzed.nativez notzed.apistatic notzed.apiobject notzed.ffmpeg notzed.clstatic notzed.vkregistry notzed.vkheader
9 native_MODULES = notzed.api
10
11 notzed.apistatic_JDEPMOD = notzed.nativez notzed.api
12 notzed.apiobject_JDEPMOD = notzed.nativez notzed.api
13 notzed.ffmpeg_JDEPMOD = notzed.nativez
14 notzed.clstatic_JDEPMOD = notzed.nativez
15 notzed.vkregistry_JDEPMOD = notzed.nativez
16 notzed.vkheader_JDEPMOD = notzed.nativez
17
18 notzed.apistatic_JMAIN = api.test.TestAPI
19 notzed.apiobject_JMAIN = api.test.TestAPI
20 notzed.ffmpeg_JMAIN = ffmpeg.test.TestFFMPEG
21 notzed.clstatic_JMAIN = opencl.test.clinfo
22 notzed.vkregistry_JMAIN = vulkan.test.TestVulkan
23
24 $(foreach module,$(java_MODULES),$(eval $(module)_JMAINFLAGS=--enable-native-access=notzed.nativez,$(module)))
25
26 include java.make