1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-24 04:15:57 +00:00

Add nmake.vc build system, add tcl 9 compatibility, half-fix unload, half-add version-info

This commit is contained in:
Harald Oehlmann
2024-12-09 19:33:45 +01:00
parent 041c74fe4d
commit 1456af0e8b
15 changed files with 4540 additions and 1351 deletions

View File

@@ -314,6 +314,18 @@ VPATH = $(srcdir):$(srcdir)/../backend
.c.@OBJEXT@:
$(COMPILE) -c `@CYGPATH@ $<` -o $@
$(srcdir)/manifest.uuid:
printf "git-" >$(srcdir)/manifest.uuid
(cd $(srcdir); git rev-parse HEAD >>$(srcdir)/manifest.uuid || \
(printf "svn-r" >$(srcdir)/manifest.uuid ; \
svn info --show-item last-changed-revision >>$(srcdir)/manifest.uuid) || \
printf "unknown" >$(srcdir)/manifest.uuid)
sampleUuid.h: $(srcdir)/manifest.uuid
echo "#define SAMPLE_VERSION_UUID \\" >$@
cat $(srcdir)/manifest.uuid >>$@
echo "" >>$@
#========================================================================
# Distribution creation
# You may need to tweak this target to make it work correctly.
@@ -462,4 +474,3 @@ uninstall-binaries:
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: