annotate src/tinyxml.mk @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents 00517d15f4fc
children a7a61d0a104f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1818
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1391
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
3
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
4 PKG := tinyxml
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.6.2
1818
03b448fa1a9c update packages fltk tinyxml
Mark Brand <mabrand@mabrand.nl>
parents: 1466
diff changeset
7 $(PKG)_CHECKSUM := cba3f50dd657cb1434674a03b21394df9913d764
1394
e060d91fe3b6 simplified build file of package tinyxml
Volker Grabsch <vog@notjusthosting.com>
parents: 1391
diff changeset
8 $(PKG)_SUBDIR := $(PKG)
e060d91fe3b6 simplified build file of package tinyxml
Volker Grabsch <vog@notjusthosting.com>
parents: 1391
diff changeset
9 $(PKG)_FILE := $(PKG)_$(subst .,_,$($(PKG)_VERSION)).tar.gz
e060d91fe3b6 simplified build file of package tinyxml
Volker Grabsch <vog@notjusthosting.com>
parents: 1391
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
1391
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
12
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://sourceforge.net/projects/tinyxml/files/tinyxml/' | \
4601
dc3eb553f5e9 update UPDATE rule for sourceforge projects with version directories
John D
parents: 3480
diff changeset
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1394
diff changeset
16 head -1
1391
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
17 endef
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
18
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
19 define $(PKG)_BUILD
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
20 cd '$(1)' && $(MXE_CXX) -c -O3 -Wall -Wno-unknown-pragmas -Wno-format -D TIXML_USE_STL '$(1)'/*.cpp
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
21 cd '$(1)' && $(MXE_AR) cr libtinyxml.a *.o
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
22 $(MXE_RANLIB) '$(1)/libtinyxml.a'
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(INSTALL) -d '$(HOST_LIBDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
24 $(INSTALL) -m644 '$(1)'/*.a '$(HOST_LIBDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
25 $(INSTALL) -d '$(HOST_INCDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
26 $(INSTALL) -m644 '$(1)'/*.h '$(HOST_INCDIR)'
1391
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
27
5375
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 4601
diff changeset
28 #'$(MXE_CXX)' \
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 4601
diff changeset
29 # -W -Wall -D TIXML_USE_STL -Werror -ansi -pedantic \
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 4601
diff changeset
30 # '$(2).cpp' -o '$(HOST_BINDIR)/test-tinyxml.exe' \
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 4601
diff changeset
31 # -ltinyxml
1391
ff977838d8b5 new package: tinyxml
Alexandre Bacquart <tek512@gmail.com>
parents:
diff changeset
32 endef