UNIXworkcode

1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://unixwork.de/uwproj"> 3 <dependency name="curl" platform="windows"> 4 <cflags>-I/mingw/include</cflags> 5 <ldflags>-lcurl</ldflags> 6 </dependency> 7 <dependency name="curl" platform="macos"> 8 <cflags exec="true">curl-config --cflags</cflags> 9 <ldflags exec="true">curl-config --ldflags</ldflags> 10 </dependency> 11 <dependency name="curl"> 12 <pkgconfig>libcurl</pkgconfig> 13 </dependency> 14 <dependency name="curl"> 15 <cflags exec="true">curl-config --cflags</cflags> 16 <ldflags exec="true">curl-config --libs</ldflags> 17 </dependency> 18 19 <dependency name="libxml2" platform="windows"> 20 <cflags exec="true">xml2-config --cflags</cflags> 21 <ldflags exec="true">xml2-config --libs</ldflags> 22 </dependency> 23 <dependency name="libxml2" platform="macos"> 24 <cflags exec="true">xml2-config --cflags</cflags> 25 <ldflags exec="true">xml2-config --libs</ldflags> 26 </dependency> 27 <dependency name="libxml2"> 28 <pkgconfig>libxml-2.0</pkgconfig> 29 </dependency> 30 <dependency name="libxml2"> 31 <cflags exec="true">xml2-config --cflags</cflags> 32 <ldflags exec="true">xml2-config --libs</ldflags> 33 </dependency> 34 35 <dependency name="openssl" platform="windows"> 36 <ldflags>-lssl -lcrypto</ldflags> 37 </dependency> 38 <dependency name="openssl" platform="macos"> 39 <ldflags>-framework CoreFoundation</ldflags> 40 </dependency> 41 <dependency name="openssl" platform="bsd" not="macos"> 42 <ldflags>-lssl -lcrypto</ldflags> 43 </dependency> 44 <dependency name="openssl"> 45 <pkgconfig>openssl</pkgconfig> 46 </dependency> 47 48 <dependency> 49 <lang>c</lang> 50 <ldflags>-lm -lpthread</ldflags> 51 </dependency> 52 53 <dependency platform="bsd" not="macos"> 54 <cflags>-I/usr/local/include</cflags> 55 <ldflags>-L/usr/local/lib</ldflags> 56 </dependency> 57 58 <dependency platform="macos"> 59 <make>OBJ_EXT = .o</make> 60 <make>LIB_EXT = .a</make> 61 </dependency> 62 <dependency platform="unix" not="macos"> 63 <make>OBJ_EXT = .o</make> 64 <make>LIB_EXT = .a</make> 65 </dependency> 66 67 68 <target name="dav"> 69 <dependencies>curl,libxml2,openssl</dependencies> 70 </target> 71 </project> 72 73