make/uwproj.xsd

Sun, 01 Oct 2023 13:56:42 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 01 Oct 2023 13:56:42 +0200
changeset 72
7e58e0f74e50
parent 71
0bdb910478cc
permissions
-rw-r--r--

improve Makefiles

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

mercurial