make/project.xml

Fri, 09 Jun 2023 21:45:29 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 09 Jun 2023 21:45:29 +0200
changeset 752
2b153bc3eb57
parent 751
9598ff469033
child 758
606519b4a867
permissions
-rw-r--r--

fix make install

<?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">
		<cflags type="exec">curl-config --cflags</cflags>
		<ldflags type="exec">curl-config libs</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>-lm -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