lsteamclient: Build using makedep rules.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-20 08:23:56 +02:00
parent 7cf466db02
commit c59345eb5b
16 changed files with 416 additions and 17 deletions

View file

@ -83,6 +83,7 @@ J = $(patsubst -j%,%,$(filter -j%,$(MAKEFLAGS)))
include $(SRC)/make/utility.mk
include $(SRC)/make/rules-source.mk
include $(SRC)/make/rules-common.mk
include $(SRC)/make/rules-makedep.mk
include $(SRC)/make/rules-meson.mk
include $(SRC)/make/rules-cmake.mk
include $(SRC)/make/rules-autoconf.mk
@ -305,24 +306,13 @@ $(eval $(call rules-cmake,glslang,64))
## lsteamclient
##
LSTEAMCLIENT_CFLAGS = -Wno-attributes
LSTEAMCLIENT_CXXFLAGS = -Wno-attributes
LSTEAMCLIENT_LDFLAGS = -static-libgcc -static-libstdc++ -ldl
LSTEAMCLIENT_WINEMAKER_ARGS = \
-DSTEAM_API_EXPORTS \
-Dprivate=public \
-Dprotected=public
LSTEAMCLIENT_DEPENDS = wine
$(eval $(call rules-source,lsteamclient,$(SRCDIR)/lsteamclient))
$(eval $(call rules-winemaker,lsteamclient,32,lsteamclient.dll))
$(eval $(call rules-winemaker,lsteamclient,64,lsteamclient.dll))
$(eval $(call rules-makedep,lsteamclient,32))
$(eval $(call rules-makedep,lsteamclient,64))
##
##
## openxr
## Note 32-bit is not supported by SteamVR, so we don't build it.