comparison mupdf-source/thirdparty/zint/backend_tcl/win/targets.vc @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #------------------------------------------------------------- -*- makefile -*-
2 # targets.vc --
3 #
4 # Part of the nmake based build system for Tcl and its extensions.
5 # This file defines some standard targets for the convenience of extensions
6 # and can be optionally included by the extension makefile.
7 # See TIP 477 (https://core.tcl-lang.org/tips/doc/main/tip/477.md) for docs.
8
9 $(PROJECT): setup pkgindex $(PRJLIB)
10
11 !ifdef PRJ_STUBOBJS
12 $(PROJECT): $(PRJSTUBLIB)
13 $(PRJSTUBLIB): $(PRJ_STUBOBJS)
14 $(LIBCMD) $**
15
16 $(PRJ_STUBOBJS):
17 $(CCSTUBSCMD) %s
18 !endif # PRJ_STUBOBJS
19
20 !ifdef PRJ_MANIFEST
21 $(PROJECT): $(PRJLIB).manifest
22 $(PRJLIB).manifest: $(PRJ_MANIFEST)
23 @nmakehlp -s << $** >$@
24 @MACHINE@ $(MACHINE:IX86=X86)
25 <<
26 !endif
27
28 !if "$(PROJECT)" != "tcl" && "$(PROJECT)" != "tk"
29 $(PRJLIB): $(PRJ_OBJS) $(RESFILE)
30 !if $(STATIC_BUILD)
31 $(LIBCMD) $**
32 !else
33 $(DLLCMD) $**
34 $(_VC_MANIFEST_EMBED_DLL)
35 !endif
36 -@del $*.exp
37 !endif
38
39 !if "$(PRJ_HEADERS)" != "" && "$(PRJ_OBJS)" != ""
40 $(PRJ_OBJS): $(PRJ_HEADERS)
41 !endif
42
43 # If parent makefile has defined stub objects, add their installation
44 # to the default install
45 !if "$(PRJ_STUBOBJS)" != ""
46 default-install: default-install-stubs
47 !endif
48
49 # Unlike the other default targets, these cannot be in rules.vc because
50 # the executed command depends on existence of macro PRJ_HEADERS_PUBLIC
51 # that the parent makefile will not define until after including rules-ext.vc
52 !if "$(PRJ_HEADERS_PUBLIC)" != ""
53 default-install: default-install-headers
54 default-install-headers:
55 @echo Installing headers to '$(INCLUDE_INSTALL_DIR)'
56 @for %f in ($(PRJ_HEADERS_PUBLIC)) do @$(COPY) %f "$(INCLUDE_INSTALL_DIR)"
57 !endif
58
59 !if "$(DISABLE_STANDARD_TARGETS)" == ""
60 DISABLE_STANDARD_TARGETS = 0
61 !endif
62
63 !if "$(DISABLE_TARGET_setup)" == ""
64 DISABLE_TARGET_setup = 0
65 !endif
66 !if "$(DISABLE_TARGET_install)" == ""
67 DISABLE_TARGET_install = 0
68 !endif
69 !if "$(DISABLE_TARGET_clean)" == ""
70 DISABLE_TARGET_clean = 0
71 !endif
72 !if "$(DISABLE_TARGET_test)" == ""
73 DISABLE_TARGET_test = 0
74 !endif
75 !if "$(DISABLE_TARGET_shell)" == ""
76 DISABLE_TARGET_shell = 0
77 !endif
78
79 !if !$(DISABLE_STANDARD_TARGETS)
80 !if !$(DISABLE_TARGET_setup)
81 setup: default-setup
82 !endif
83 !if !$(DISABLE_TARGET_install)
84 install: default-install
85 !endif
86 !if !$(DISABLE_TARGET_clean)
87 clean: default-clean
88 realclean: hose
89 hose: default-hose
90 distclean: realclean default-distclean
91 !endif
92 !if !$(DISABLE_TARGET_test)
93 test: default-test
94 !endif
95 !if !$(DISABLE_TARGET_shell)
96 shell: default-shell
97 !endif
98 !endif # DISABLE_STANDARD_TARGETS