test/make/project.xml

Fri, 15 Sep 2023 14:06:50 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 15 Sep 2023 14:06:50 +0200
branch
configure-evo
changeset 54
2b8f40c58944
parent 52
afcb57893858
child 55
d626acd09e9f
permissions
-rw-r--r--

make configure script svr4 compatible again

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://unixwork.de/uwproj">
	<!-- makefile config -->
	<config>
		<var name="HOST" exec="true">uname -n</var>
		<var name="PREFIX">$(pwd)/work</var>
		<var name="INSTALL_DIR">$PREFIX</var>
	</config>
	
	<dependency>
		<lang>c++</lang>
	</dependency>

	<!-- library dependencies -->
	<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="openssl">
		<pkgconfig>openssl</pkgconfig>
	</dependency>
	
	<dependency name="openssl" platform="bsd">
		<ldflags>-lssl -lcrypto</ldflags>
	</dependency>
	
	<!-- optional dependencies -->
	<dependency name="libpq">
		<pkgconfig>libpq</pkgconfig>
	</dependency>
	
	<target>
		<feature name="pg" default="true">
			<dependencies>libpq</dependencies>
		</feature>
		<dependencies>libxml2,openssl</dependencies>
	</target>
</project>

mercurial