mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
build: Add a pkg-config file for libvkd3d-utils.
This commit is contained in:
parent
2f76b66a43
commit
0b656c8354
14
Makefile.am
14
Makefile.am
@ -97,9 +97,9 @@ EXTRA_DIST = LICENSE
|
|||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkginclude_HEADERS = $(vkd3d_public_headers)
|
pkginclude_HEADERS = $(vkd3d_public_headers)
|
||||||
nodist_pkgconfig_DATA = libvkd3d.pc
|
nodist_pkgconfig_DATA = libvkd3d.pc libvkd3d-utils.pc
|
||||||
CLEANFILES += libvkd3d.pc
|
CLEANFILES += libvkd3d.pc libvkd3d-utils.pc
|
||||||
EXTRA_DIST += libs/vkd3d/libvkd3d.pc.in
|
EXTRA_DIST += libs/vkd3d/libvkd3d.pc.in libs/vkd3d-utils/libvkd3d-utils.pc.in
|
||||||
|
|
||||||
bin_PROGRAMS = vkd3d-compiler
|
bin_PROGRAMS = vkd3d-compiler
|
||||||
vkd3d_compiler_SOURCES = programs/vkd3d-compiler/main.c
|
vkd3d_compiler_SOURCES = programs/vkd3d-compiler/main.c
|
||||||
@ -144,6 +144,14 @@ $(spv_shaders): %.spv: %
|
|||||||
|
|
||||||
EXTRA_DIST += $(hlsl_shaders)
|
EXTRA_DIST += $(hlsl_shaders)
|
||||||
|
|
||||||
|
libvkd3d-utils.pc: $(srcdir)/libs/vkd3d-utils/libvkd3d-utils.pc.in
|
||||||
|
sed -e 's![@]prefix[@]!$(prefix)!g' \
|
||||||
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
||||||
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
||||||
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
||||||
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
||||||
|
$< > $@
|
||||||
|
|
||||||
libvkd3d.pc: $(srcdir)/libs/vkd3d/libvkd3d.pc.in
|
libvkd3d.pc: $(srcdir)/libs/vkd3d/libvkd3d.pc.in
|
||||||
sed -e 's![@]prefix[@]!$(prefix)!g' \
|
sed -e 's![@]prefix[@]!$(prefix)!g' \
|
||||||
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
||||||
|
10
libs/vkd3d-utils/libvkd3d-utils.pc.in
Normal file
10
libs/vkd3d-utils/libvkd3d-utils.pc.in
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: vkd3d
|
||||||
|
Description: The vkd3d 3D Graphics Utility Library
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Cflags: -I${includedir}/vkd3d
|
||||||
|
Libs: -L${libdir} -lvkd3d-utils
|
Loading…
Reference in New Issue
Block a user