diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-09-14 17:39:02 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-09-19 12:44:06 +0100 |
commit | 90fa745b793dc439d59bdab2255867fb7dfb5420 (patch) | |
tree | 9e505a53f95d8decd721dba96e52b5d96a2bd617 /psi | |
parent | 9e6faf9495945ba6471f693fe01a0f1d1f538edf (diff) | |
download | ghostpdl-90fa745b793dc439d59bdab2255867fb7dfb5420.tar.gz |
Add gpdl support for SmartOffice integration.
No actual SmartOffice code here, just the framework for adding
the (private) "SO" interpreter.
Diffstat (limited to 'psi')
-rw-r--r-- | psi/msvc.mak | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/psi/msvc.mak b/psi/msvc.mak index c8fd659e8..f6f186f2b 100644 --- a/psi/msvc.mak +++ b/psi/msvc.mak @@ -689,6 +689,28 @@ WITH_CAL=0 !endif !endif +# Should we build using SO... +SOSRCDIR=so +!ifdef WITH_SO +!if "$(WITH_SO)"!="0" +WITH_SO=1 +!else +WITH_SO=0 +!endif +!else +!if exist ("$(SOSRCDIR)") +WITH_SO=1 +!else +WITH_SO=0 +!endif +!endif +!if "$(WITH_SO)"=="1" +ENABLE_SO=$(D_)SO_INCLUDED$(_D) +GPDL_SO_TOP_OBJ=$(GPDLOBJ)/$(GPDL_SO_TOP_OBJ_FILE) +SO_INCLUDE=$(I_)$(SOSRCDIR)$(_I) +!endif + + # We can't build cups libraries in a Metro friendly way, # so if building for Metro, disable cups regardless of the # request |