1 #===============================================================================
3 if test "${linux_drm_cpp_flags-unset}" = unset; then
4 linux_drm_cpp_flags
='-I/nyan/glibc/current/include-linux/drm'
5 external_deps_cpp_flags
="$linux_drm_cpp_flags $external_deps_cpp_flags"
7 #===============================================================================
10 #===============================================================================
12 if test "${libdrm_cpp_flags-unset}" = unset; then
13 libdrm_cpp_flags
='-I/nyan/drm/current/include -DHAVE_LIBDRM=1'
14 external_deps_cpp_flags
="$libdrm_cpp_flags $external_deps_cpp_flags"
16 if test "${libdrm_ld_flags-unset}" = unset; then
17 libdrm_ld_flags
='-L/nyan/drm/current/lib -ldrm'
19 #===============================================================================
22 #===============================================================================
24 if test "${libdrm_amdgpu_cpp_flags-unset}" = unset; then
25 libdrm_amdgpu_cpp_flags
='-I/nyan/drm/current/include/libdrm'
26 external_deps_cpp_flags
="$libdrm_amdgpu_cpp_flags $external_deps_cpp_flags"
28 if test "${libdrm_amdgpu_ld_flags-unset}" = unset; then
29 libdrm_amdgpu_ld_flags
='-L/nyan/drm/current/lib -ldrm_amdgpu'
31 #===============================================================================
34 #===============================================================================
35 # legacy libdrm_radeon
36 if test "${libdrm_radeon_cpp_flags-unset}" = unset; then
37 libdrm_radeon_cpp_flags
='-I/nyan/drm/current/include/libdrm'
38 external_deps_cpp_flags
="$libdrm_radeon_cpp_flags $external_deps_cpp_flags"
40 if test "${libdrm_radeon_ld_flags-unset}" = unset; then
41 libdrm_radeon_ld_flags
='-L/nyan/drm/current/lib -ldrm_radeon'
43 #===============================================================================
46 #===============================================================================
48 if test "${libelf_cpp_flags-unset}" = unset; then
50 -I/nyan/libelf/current/include/libelf \
51 -I/nyan/libelf/current/include \
53 external_deps_cpp_flags
="$libelf_cpp_flags $external_deps_cpp_flags"
55 if test "${libelf_static_ld_flags-unset}" = unset; then
56 libelf_static_ld_flags
=/nyan
/libelf
/current
/lib
/libelf.a
58 #===============================================================================
61 #===============================================================================
63 if test "${zlib_cpp_flags-unset}" = unset; then
64 zlib_cpp_flags
='-I/nyan/zlib/current/include -DHAVE_ZLIB=1'
65 external_deps_cpp_flags
="$zlib_cpp_flags $external_deps_cpp_flags"
67 if test "${zlib_static_ld_flags-unset}" = unset; then
68 zlib_static_ld_flags
=/nyan
/zlib
/current
/lib
/libz.a
70 #===============================================================================
73 #===============================================================================
75 if test "${expat_cpp_flags-unset}" = unset; then
76 expat_cpp_flags
='-I/nyan/expat/current/include'
77 external_deps_cpp_flags
="$expat_cpp_flags $external_deps_cpp_flags"
79 if test "${expat_archives-unset}" = unset; then
80 expat_archives
=libexpat.a
81 external_deps_archives
="$expat_archives:$external_deps_archives"
83 if test "${expat_ld_flags-unset}" = unset; then
84 expat_ld_flags
="/nyan/expat/current/lib/$expat_archives"
85 external_deps_static_ld_flags
="$expat_ld_flags $external_deps_static_ld_flags"
87 #===============================================================================
90 #===============================================================================
92 if test "${xorgproto_cpp_flags-unset}" = unset; then
93 xorgproto_cpp_flags
='-I/nyan/xorgproto/current/include'
94 external_deps_cpp_flags
="$xorgproto_cpp_flags $external_deps_cpp_flags"
96 #===============================================================================
99 #===============================================================================
101 if test "${libx11_cpp_flags-unset}" = unset; then
102 libx11_cpp_flags
='-I/nyan/libX11/current/include'
103 external_deps_cpp_flags
="$libx11_cpp_flags $external_deps_cpp_flags"
105 if test "${libx11_ld_flags-unset}" = unset; then
106 libx11_ld_flags
='-L/nyan/libX11/current/lib -lX11'
107 external_deps_ld_flags
="$external_deps_ld_flags $libx11_ld_flags"
109 #===============================================================================
112 #===============================================================================
114 if test "${libx11_xcb_ld_flags-unset}" = unset; then
115 libx11_xcb_ld_flags
='-L/nyan/libX11/current/include -lX11-xcb'
117 #===============================================================================
120 #===============================================================================
122 if test "${libxext_cpp_flags-unset}" = unset; then
123 libxext_cpp_flags
='-I/nyan/libXext/current/include'
124 external_deps_cpp_flags
="$libxext_cpp_flags $external_deps_cpp_flags"
126 if test "${libxext_ld_flags-unset}" = unset; then
127 libxext_ld_flags
='-L/nyan/libXext/current/lib -lXext'
128 external_deps_ld_flags
="$external_deps_ld_flags $libxext_ld_flags"
130 #===============================================================================
133 #===============================================================================
135 if test "${libxcb_cpp_flags-unset}" = unset; then
136 libxcb_cpp_flags
='-I/nyan/libxcb/current/include'
137 external_deps_cpp_flags
="$libxcb_cpp_flags $external_deps_cpp_flags"
139 if test "${libxcb_ld_flags-unset}" = unset; then
140 libxcb_ld_flags
="-L/nyan/libxcb/current/lib \
151 external_deps_ld_flags
="$external_deps_ld_flags $libxcb_ld_flags"
153 #===============================================================================
156 #===============================================================================
158 if test "${libxshmfence_cpp_flags-unset}" = unset; then
159 libxshmfence_cpp_flags
='-I/nyan/libxshmfence/current/include'
160 external_deps_cpp_flags
="$libxshmfence_cpp_flags $external_deps_cpp_flags"
162 if test "${libxshmfence_ld_flags-unset}" = unset; then
163 libxshmfence_ld_flags
="-L/nyan/libxshmfence/current/lib -lxshmfence"
164 external_deps_ld_flags
="$external_deps_ld_flags $libxshmfence_ld_flags"
166 #===============================================================================
169 #===============================================================================
171 if test "${libxxf86vm_cpp_flags-unset}" = unset; then
172 libxxf86vm_cpp_flags
='-I/nyan/libXxf86vm/current/include'
173 external_deps_cpp_flags
="$libxxf86vm_cpp_flags $external_deps_cpp_flags"
175 if test "${libxxf86vm_ld_flags-unset}" = unset; then
176 libxxf86vm_ld_flags
='-L/nyan/libXxf86vm/current/lib -lXxf86vm'
177 external_deps_ld_flags
="$external_deps_ld_flags $libxxf86vm_ld_flags"
179 #===============================================================================
182 #===============================================================================
184 if test "${libxfixes_cpp_flags-unset}" = unset; then
185 libxfixes_cpp_flags
='-I/nyan/libXfixes/current/include'
186 external_deps_cpp_flags
="$libxfixes_cpp_flags $external_deps_cpp_flags"
188 if test "${libxfixes_ld_flags-unset}" = unset; then
189 libxfixes_ld_flags
='-L/nyan/libXfixes/current/lib -lXfixes'
190 external_deps_ld_flags
="$external_deps_ld_flags $libxfixes_ld_flags"
192 #===============================================================================
195 #===============================================================================
197 if test "${libxdamage_cpp_flags-unset}" = unset; then
198 libxdamage_cpp_flags
='-I/nyan/libXdamage/current/include'
199 external_deps_cpp_flags
="$libxdamage_cpp_flags $external_deps_cpp_flags"
201 if test "${libxdamage_ld_flags-unset}" = unset; then
202 libxdamage_ld_flags
='/nyan/libXdamage/current/lib/libXdamage.so'
203 external_deps_ld_flags
="$external_deps_ld_flags $libxdamage_ld_flags"
205 #===============================================================================
208 #===============================================================================
210 if test "${libglvnd_cpp_flags-unset}" = unset; then
211 libglvnd_cpp_flags
='-I/nyan/libglvnd/current/include'
212 external_deps_cpp_flags
="$libglvnd_cpp_flags $external_deps_cpp_flags"
214 #===============================================================================