Sun, 01 Oct 2023 14:25:26 +0200
improve Makefiles
68
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | xmlns="http://unixwork.de/uwproj" |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | targetNamespace="http://unixwork.de/uwproj" |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | elementFormDefault="qualified" |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | version="0.1" |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | > |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | <xs:element name="project" type="ProjectType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | <xs:complexType name="ProjectType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | <xs:sequence> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | <xs:element name="config" type="ConfigType" minOccurs="0"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | <xs:element name="dependency" type="DependencyType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | <xs:element name="target" type="TargetType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | </xs:sequence> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | <xs:complexType name="ConfigType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | <xs:sequence> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | <xs:element name="var" type="ConfigVarType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | </xs:sequence> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | <xs:complexType name="ConfigVarType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | <xs:simpleContent> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
26 | <xs:extension base="xs:string"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | <xs:attribute name="name" type="xs:string" use="required"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | <xs:attribute name="exec" type="xs:boolean" default="false"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | </xs:extension> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | </xs:simpleContent> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | <xs:complexType name="PkgConfigType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
34 | <xs:simpleContent> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
35 | <xs:extension base="xs:string"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
36 | <xs:attribute name="atleast" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
37 | <xs:attribute name="exact" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
38 | <xs:attribute name="max" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
39 | </xs:extension> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 | </xs:simpleContent> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
41 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | <xs:simpleType name="LangType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | <xs:restriction base="xs:string"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
45 | <xs:enumeration value="c"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
46 | <xs:enumeration value="cpp"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | </xs:restriction> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
48 | </xs:simpleType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
49 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
50 | <xs:complexType name="DependencyType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
51 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
52 | <xs:element name="lang" type="LangType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
53 | <xs:element name="cflags" type="FlagsType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
54 | <xs:element name="cxxflags" type="FlagsType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
55 | <xs:element name="ldflags" type="FlagsType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
56 | <xs:element name="pkgconfig" type="PkgConfigType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
57 | <xs:element name="test" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
58 | <xs:element name="make" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
59 | </xs:choice> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
60 | <xs:attribute name="name" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
61 | <xs:attribute name="platform" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
62 | <xs:attribute name="not" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
63 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
65 | <xs:complexType name="FlagsType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
66 | <xs:simpleContent> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | <xs:extension base="xs:string"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | <xs:attribute name="exec" type="xs:boolean" default="false"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | </xs:extension> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | </xs:simpleContent> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
73 | <xs:complexType name="TargetType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | <xs:element name="feature" type="FeatureType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
76 | <xs:element name="option" type="OptionType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
77 | <xs:element name="define" type="DefineType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | <xs:element name="dependencies" type="DependenciesType"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | <xs:element name="alldependencies"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
80 | <xs:complexType/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
81 | </xs:element> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
82 | </xs:choice> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
83 | <xs:attribute name="name" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
84 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
85 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | <xs:complexType name="FeatureType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
87 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
88 | <xs:group ref="TargetDataGroup"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | </xs:choice> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
90 | <xs:attribute name="name" type="xs:string" use="required"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | <xs:attribute name="arg" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | <xs:attribute name="default" type="xs:boolean" default="false"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
94 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | <xs:complexType name="OptionType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
96 | <xs:sequence> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | <xs:element name="value" type="OptionValueType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | <xs:element name="default" type="OptionDefaultType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
99 | </xs:sequence> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
100 | <xs:attribute name="arg" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
101 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
102 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
103 | <xs:complexType name="OptionValueType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
104 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
105 | <xs:group ref="TargetDataGroup"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
106 | </xs:choice> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
107 | <xs:attribute name="str" type="xs:string" use="required"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
108 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
109 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
110 | <xs:complexType name="OptionDefaultType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
111 | <xs:attribute name="value" type="xs:string" use="required"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
112 | <xs:attribute name="platform" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
113 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
114 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
115 | <xs:group name="TargetDataGroup"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
116 | <xs:choice> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
117 | <xs:element name="define" type="DefineType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
118 | <xs:element name="dependencies" type="DependenciesType" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
119 | <xs:element name="make" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
120 | </xs:choice> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
121 | </xs:group> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
122 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
123 | <xs:complexType name="DefineType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
124 | <xs:attribute name="name" type="xs:string" use="required"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
125 | <xs:attribute name="value" type="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
126 | </xs:complexType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
127 | |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
128 | <xs:simpleType name="DependenciesType"> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
129 | <xs:restriction base="xs:string"/> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
130 | </xs:simpleType> |
ae763178ee1e
replace autoconf with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
131 | </xs:schema> |