Clone of mesa.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

linux-osmesa 871B

12345678910111213141516171819202122232425262728
  1. # Configuration for building only libOSMesa on Linux, no Xlib driver
  2. # This doesn't really have any Linux dependencies, so it should be usable
  3. # on other (gcc-based) systems.
  4. include $(TOP)/configs/default
  5. CONFIG_NAME = linux-osmesa
  6. # Compiler and flags
  7. CC = gcc
  8. CXX = g++
  9. CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
  10. CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  11. # Work around aliasing bugs - developers should comment this out
  12. CFLAGS += -fno-strict-aliasing
  13. CXXFLAGS += -fno-strict-aliasing
  14. # Directories
  15. SRC_DIRS = gallium mesa glu
  16. DRIVER_DIRS = osmesa
  17. PROGRAM_DIRS = osdemos
  18. # Dependencies
  19. OSMESA_LIB_DEPS = -lm -lpthread
  20. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
  21. APP_LIB_DEPS = -lm -lpthread