make/project.xml

Tue, 09 Apr 2024 21:43:36 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 09 Apr 2024 21:43:36 +0200
changeset 811
9385330bdd38
parent 802
16e5b9d32754
permissions
-rw-r--r--

fix dav repo-url command containing the password base64 encoded

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://unixwork.de/uwproj">
	<dependency name="curl" platform="windows">
		<cflags>-I/mingw/include</cflags>
		<ldflags>-lcurl</ldflags>
	</dependency>
	<dependency name="curl" platform="macos">
		<cflags exec="true">curl-config --cflags</cflags>
		<ldflags exec="true">curl-config --ldflags</ldflags>
	</dependency>
	<dependency name="curl">
		<pkgconfig>libcurl</pkgconfig>
	</dependency>
	<dependency name="curl">
		<cflags exec="true">curl-config --cflags</cflags>
		<ldflags exec="true">curl-config --libs</ldflags>
	</dependency>
	
	<dependency name="libxml2" platform="windows">
		<cflags exec="true">xml2-config --cflags</cflags>
		<ldflags exec="true">xml2-config --libs</ldflags>
	</dependency>
	<dependency name="libxml2" platform="macos">
		<cflags exec="true">xml2-config --cflags</cflags>
		<ldflags exec="true">xml2-config --libs</ldflags>
	</dependency>
	<dependency name="libxml2">
		<pkgconfig>libxml-2.0</pkgconfig>
	</dependency>
	<dependency name="libxml2">
		<cflags exec="true">xml2-config --cflags</cflags>
		<ldflags exec="true">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>
		<lang>c</lang>
		<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