make/project.xml

Sun, 16 Apr 2023 14:08:19 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 16 Apr 2023 14:08:19 +0200
changeset 745
aea83a43b09a
parent 742
7e67689241fd
child 746
a569148841ff
permissions
-rw-r--r--

merge

<?xml version="1.0" encoding="UTF-8"?>
<project>
	<dependency name="curl" platform="windows">
		<cflags>-I/mingw/include</cflags>
		<ldflags>-lcurl</ldflags>
	</dependency>
	<dependency name="curl" platform="macos">
		<cflags type="exec">curl-config --cflags</cflags>
		<ldflags type="exec">curl-config --ldflags</ldflags>
	</dependency>
	<dependency name="curl">
		<pkgconfig>libcurl</pkgconfig>
	</dependency>
	<dependency name="curl">
		<test>which curl-config</test>
		<cflags type="exec">curl-config --cflags</cflags>
		<ldflags type="exec">curl-config --ldflags</ldflags>
	</dependency>
	
	<dependency name="libxml2" platform="windows">
		<cflags type="exec">xml2-config --cflags</cflags>
		<ldflags type="exec">xml2-config --libs</ldflags>
	</dependency>
	<dependency name="libxml2" platform="macos">
		<cflags type="exec">xml2-config --cflags</cflags>
		<ldflags type="exec">xml2-config --libs</ldflags>
	</dependency>
	<dependency name="libxml2">
		<pkgconfig>libxml-2.0</pkgconfig>
	</dependency>
	<dependency name="libxml2">
		<cflags type="exec">xml2-config --cflags</cflags>
		<ldflags type="exec">xml2-config --libs</ldflags>
	</dependency>
	
	<dependency name="openssl" platform="windows">
		<ldflags>-lssl -lcrypto</ldflags>
	</dependency>
	<dependency name="openssl" platform="macos">
		<ldflags>-framework CoreFoundation</ldflags>
	</dependency>
	<dependency name="openssl" platform="bsd" not="macos">
		<ldflags>-lssl -lcrypto</ldflags>
	</dependency>
	<dependency name="openssl">
		<pkgconfig>openssl</pkgconfig>
	</dependency>

	<dependency>
		<ldflags>-lpthread</ldflags>
	</dependency>
	
	<dependency platform="bsd" not="macos">
		<cflags>-I/usr/local/include</cflags>
		<ldflags>-L/usr/local/lib</ldflags>
	</dependency>

	<dependency platform="macos">
		<make>OBJ_EXT = .o</make>
		<make>LIB_EXT = .a</make>
	</dependency>
	<dependency platform="unix" not="macos">
		<make>OBJ_EXT = .o</make>
		<make>LIB_EXT = .a</make>
	</dependency>


	<target name="dav">
		<dependencies>curl,libxml2,openssl</dependencies>
	</target>
</project>

mercurial