Subversion Repositories Kolibri OS

Rev

Rev 4382 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4379 Serge 1
 
2
3
 
4
5
 
6
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields
4382 Serge 7
CFLAGS   = -c $(CFLAGS_OPT)
4379 Serge 8
9
 
10
LDFLAGS = -nostdlib -shared -s --image-base 0 -T ../newlib/dll.lds --out-implib lib$(EGL).dll.a -e _DllStartup
4382 Serge 11
4379 Serge 12
 
13
14
 
15
16
 
17
18
 
19
20
 
21
MESA_DEFS+= -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_VERSION=\"9.2.5\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
4401 Serge 22
MESA_DEFS+= -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
23
MESA_DEFS+= -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
4379 Serge 24
25
 
26
27
 
28
	src/egl/drivers/dri2/egl_dri2.c		\
29
	src/egl/drivers/dri2/platform_drm.c	\
30
	src/egl/main/eglapi.c			\
31
	src/egl/main/eglarray.c			\
32
	src/egl/main/eglconfig.c		\
33
	src/egl/main/eglcontext.c		\
34
	src/egl/main/eglcurrent.c		\
35
	src/egl/main/egldisplay.c		\
36
	src/egl/main/egldriver.c		\
37
	src/egl/main/eglfallbacks.c		\
38
	src/egl/main/eglglobals.c		\
39
	src/egl/main/eglimage.c			\
40
	src/egl/main/egllog.c			\
41
	src/egl/main/eglmisc.c			\
42
	src/egl/main/eglmode.c			\
43
	src/egl/main/eglscreen.c		\
44
	src/egl/main/eglstring.c		\
45
	src/egl/main/eglsurface.c		\
46
	src/egl/main/eglsync.c			\
47
	src/gbm/backends/dri/gbm_dri.c		\
48
	src/gbm/main/backend.c			\
49
	src/gbm/main/gbm.c			\
50
	$(NULL)
51
52
 
53
54
 
55
56
 
57
58
 
59
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ egl.def $(EGL_OBJS) $(LIBS)
4382 Serge 60
	$(STRIP) $@
4379 Serge 61
#	sed -e "s/ @[^ ]*//" egl1.def > egl.def
62
	mv -f $@ ../../bin
63
	mv -f lib$(EGL).dll.a ../../lib
64
65
 
66
	$(CC) $(CFLAGS) $(MESA_DEFS) $(EGL_DEFS) $(INCLUDES) -o $@ $<
67