1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <project version="0.3" xmlns="http://unixwork.de/uwproj"> |
2 <project version="0.3" xmlns="http://unixwork.de/uwproj"> |
3 <dependency> |
3 <dependency> |
4 <lang>c</lang> |
4 <lang>c</lang> |
|
5 <make>LD = \$(CC)</make> |
5 </dependency> |
6 </dependency> |
6 |
7 |
7 <dependency name="libadwaita"> |
8 <dependency name="libadwaita"> |
8 <pkgconfig>libadwaita-1</pkgconfig> |
9 <pkgconfig>libadwaita-1</pkgconfig> |
9 <cflags>-DUI_GTK4 -DUI_LIBADWAITA</cflags> |
10 <cflags>-DUI_GTK4 -DUI_LIBADWAITA</cflags> |
38 <test>which qmake-qt4</test> |
39 <test>which qmake-qt4</test> |
39 <cflags exec="true">qmake-qt4 -o - /dev/null | grep DEFINES\ </cflags> |
40 <cflags exec="true">qmake-qt4 -o - /dev/null | grep DEFINES\ </cflags> |
40 <cflags exec="true">qmake-qt4 -o - /dev/null | grep INCPATH\ </cflags> |
41 <cflags exec="true">qmake-qt4 -o - /dev/null | grep INCPATH\ </cflags> |
41 <ldflags exec="true">qmake-qt4 -o - /dev/null | grep LIBS\ </ldflags> |
42 <ldflags exec="true">qmake-qt4 -o - /dev/null | grep LIBS\ </ldflags> |
42 </dependency> |
43 </dependency> |
|
44 --> |
43 <dependency name="qt5"> |
45 <dependency name="qt5"> |
44 <test>which qmake-qt5</test> |
46 <test>which qmake-qt5</test> |
45 <cflags exec="true">qmake-qt5 -o - /dev/null | grep DEFINES\ </cflags> |
47 <lang>cpp</lang> |
46 <cflags exec="true">qmake-qt5 -o - /dev/null | grep INCPATH\ </cflags> |
48 <cflags>-DUI_QT5</cflags> |
47 <ldflags exec="true">qmake-qt5 -o - /dev/null | grep LIBS\ </ldflags> |
49 <cflags exec="true">qmake-qt5 -o - /dev/null | grep "DEFINES " | sed "s/DEFINES[ ]*=//g"</cflags> |
|
50 <cflags exec="true">qmake-qt5 -o - /dev/null | grep "INCPATH " | sed "s/INCPATH[ ]*=//g"</cflags> |
|
51 <ldflags exec="true">qmake-qt5 -o - /dev/null | grep "LIBS " | sed "s/LIBS[ ]*=//g"</ldflags> |
48 </dependency> |
52 </dependency> |
49 --> |
53 |
50 <dependency name="cocoa" platform="macos"> |
54 <dependency name="cocoa" platform="macos"> |
51 <cflags>-DUI_COCOA</cflags> |
55 <cflags>-DUI_COCOA</cflags> |
52 <ldflags>-lobjc -framework Cocoa</ldflags> |
56 <ldflags>-lobjc -framework Cocoa</ldflags> |
53 </dependency> |
57 </dependency> |
54 |
58 |
131 <make>GTKOBJ = draw_gdk.o</make> |
135 <make>GTKOBJ = draw_gdk.o</make> |
132 </value> |
136 </value> |
133 <value str="qt5"> |
137 <value str="qt5"> |
134 <dependencies>qt5</dependencies> |
138 <dependencies>qt5</dependencies> |
135 <make>TOOLKIT = qt</make> |
139 <make>TOOLKIT = qt</make> |
136 <make>LD = $(CXX)</make> |
140 <make>LD = \$(CXX)</make> |
137 </value> |
141 </value> |
138 <value str="qt4"> |
142 <value str="qt4"> |
139 <dependencies>qt4</dependencies> |
143 <dependencies>qt4</dependencies> |
140 <make>TOOLKIT = qt</make> |
144 <make>TOOLKIT = qt</make> |
141 <make>LD = $(CXX)</make> |
145 <make>LD = \$(CXX)</make> |
142 </value> |
146 </value> |
143 <value str="cocoa"> |
147 <value str="cocoa"> |
144 <dependencies>cocoa</dependencies> |
148 <dependencies>cocoa</dependencies> |
145 <make>TOOLKIT = cocoa</make> |
149 <make>TOOLKIT = cocoa</make> |
146 </value> |
150 </value> |