alsa.audio: limit the supported frequencies to common set
[AROS.git] / workbench / libs / glu / mmakefile.src
blob70b6db2b94f7056274b23088a859ac566065db7a
1 #   $Id$
2 include $(TOP)/config/make.cfg
4 ################################################################################
5 # GLU                                                                          #
6 ################################################################################
8 #MM- workbench-libs-complete : workbench-libs-glu-$(AROS_TARGET_TOOLCHAIN)
9 #MM- workbench-libs-glu-yes : workbench-libs-glu
11 #MM workbench-libs-glu : includes workbench-libs-mesa-linklib workbench-libs-glu-fetch
12 #MM workbench-libs-glu-includes : workbench-libs-glu-fetch
14 #MM- includes-copy : workbench-libs-glu-includes
16 REPOSITORIES = ftp://ftp.freedesktop.org/pub/mesa/glu/
17 ARCHBASE := glu-9.0.0
18 PATCHSPEC := $(ARCHBASE)-aros.diff:$(ARCHBASE):-p1
20 top_srcdir = $(PORTSDIR)/glu/$(ARCHBASE)
22 GLU_INCLUDE_FILES := glu.h
24 LIBUTIL_SOURCES = \
25             libutil/error \
26             libutil/glue \
27             libutil/mipmap \
28             libutil/project \
29             libutil/quad \
30             libutil/registry
32 LIBTESS_SOURCES = \
33             libtess/dict \
34             libtess/geom \
35             libtess/memalloc \
36             libtess/mesh \
37             libtess/normal \
38             libtess/priorityq \
39             libtess/render \
40             libtess/sweep \
41             libtess/tess \
42             libtess/tessmono
44 LIBNURBS_SOURCES = \
45             libnurbs/interface/bezierEval \
46             libnurbs/interface/bezierPatch \
47             libnurbs/interface/bezierPatchMesh \
48             libnurbs/interface/glcurveval \
49             libnurbs/interface/glinterface \
50             libnurbs/interface/glrenderer \
51             libnurbs/interface/glsurfeval \
52             libnurbs/interface/incurveeval \
53             libnurbs/interface/insurfeval \
54             libnurbs/internals/arc \
55             libnurbs/internals/arcsorter \
56             libnurbs/internals/arctess \
57             libnurbs/internals/backend \
58             libnurbs/internals/basiccrveval \
59             libnurbs/internals/basicsurfeval \
60             libnurbs/internals/bin \
61             libnurbs/internals/bufpool \
62             libnurbs/internals/cachingeval \
63             libnurbs/internals/ccw \
64             libnurbs/internals/coveandtiler \
65             libnurbs/internals/curve \
66             libnurbs/internals/curvelist \
67             libnurbs/internals/curvesub \
68             libnurbs/internals/dataTransform \
69             libnurbs/internals/displaylist \
70             libnurbs/internals/flist \
71             libnurbs/internals/flistsorter \
72             libnurbs/internals/hull \
73             libnurbs/internals/intersect \
74             libnurbs/internals/knotvector \
75             libnurbs/internals/mapdesc \
76             libnurbs/internals/mapdescv \
77             libnurbs/internals/maplist \
78             libnurbs/internals/mesher \
79             libnurbs/internals/monotonizer \
80             libnurbs/internals/monoTriangulationBackend \
81             libnurbs/internals/mycode \
82             libnurbs/internals/nurbstess \
83             libnurbs/internals/nurbsinterfac \
84             libnurbs/internals/patch \
85             libnurbs/internals/patchlist \
86             libnurbs/internals/quilt \
87             libnurbs/internals/reader \
88             libnurbs/internals/renderhints \
89             libnurbs/internals/slicer \
90             libnurbs/internals/sorter \
91             libnurbs/internals/splitarcs \
92             libnurbs/internals/subdivider \
93             libnurbs/internals/tobezier \
94             libnurbs/internals/trimline \
95             libnurbs/internals/trimregion \
96             libnurbs/internals/trimvertpool \
97             libnurbs/internals/uarray \
98             libnurbs/internals/varray \
99             libnurbs/nurbtess/directedLine \
100             libnurbs/nurbtess/gridWrap \
101             libnurbs/nurbtess/monoChain \
102             libnurbs/nurbtess/monoPolyPart \
103             libnurbs/nurbtess/monoTriangulation \
104             libnurbs/nurbtess/partitionX \
105             libnurbs/nurbtess/partitionY \
106             libnurbs/nurbtess/polyDBG \
107             libnurbs/nurbtess/polyUtil \
108             libnurbs/nurbtess/primitiveStream \
109             libnurbs/nurbtess/quicksort \
110             libnurbs/nurbtess/rectBlock \
111             libnurbs/nurbtess/sampleCompBot \
112             libnurbs/nurbtess/sampleComp \
113             libnurbs/nurbtess/sampleCompRight \
114             libnurbs/nurbtess/sampleCompTop \
115             libnurbs/nurbtess/sampledLine \
116             libnurbs/nurbtess/sampleMonoPoly \
117             libnurbs/nurbtess/searchTree
119 LIBRARY_SOURCES = \
120             $(addprefix $(top_srcdir)/src/, $(LIBUTIL_SOURCES)) \
121             $(addprefix $(top_srcdir)/src/, $(LIBTESS_SOURCES)) \
122             $(EMUL_C_SOURCES)
124 USER_INCLUDES := \
125             -I$(top_srcdir)/src/include \
126             -I$(top_srcdir)/src/libnurbs/internals \
127             -I$(top_srcdir)/src/libnurbs/nurbtess
129 USER_CFLAGS := -DLIBRARYBUILD -fno-asynchronous-unwind-tables -fno-exceptions 
131 CC_SOURCES := \
132     $(addprefix $(top_srcdir)/src/, $(LIBNURBS_SOURCES))
134 EMUL_C_SOURCES = \
135     emul_stdc
137 EMUL_CXX_SOURCES := \
138     emul_stdc++
140 #MM- core-linklibs : linklibs-glu
142 %fetch mmake=workbench-libs-glu-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/glu \
143     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="tar.bz2" \
144     patches_specs=$(PATCHSPEC)
146 %create_patch mmake=workbench-libs-glu-create-patch \
147     archive=$(ARCHBASE) srcdir=$(ARCHBASE) destination=$(PORTSDIR)/glu
149 %build_module mmake=workbench-libs-glu \
150     modname=glu modtype=library linklibname=GLU \
151     files="$(LIBRARY_SOURCES)" cxxfiles="$(EMUL_CXX_SOURCES) $(CC_SOURCES)" \
152     uselibs="GL stdcio stdc"
155 workbench-libs-glu-includes:
156 %copy_includes path=GL dir=$(top_srcdir)/include/GL includes=$(GLU_INCLUDE_FILES)
158 %common