Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

linux-profile 1.0KB

1234567891011121314151617181920212223242526272829
  1. # Configuration for profiling on Linux with gprof
  2. include $(TOP)/configs/default
  3. CONFIG_NAME = linux-profile
  4. # Compiler and flags
  5. CC = gcc
  6. CXX = g++
  7. CFLAGS = -pg -O -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG
  8. CXXFLAGS = -pg -O -ansi -pedantic -Wall -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG
  9. GLUT_CFLAGS = -fexceptions
  10. # Need to have -L/usr/X11R6/lib in these:
  11. GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
  12. GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
  13. GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXt -L/usr/X11R6/lib -lX11
  14. # Need to make static libs for profiling:
  15. MKLIB_OPTIONS = -static
  16. GL_LIB_NAME = lib$(GL_LIB).a
  17. GLU_LIB_NAME = lib$(GLU_LIB).a
  18. GLUT_LIB_NAME = lib$(GLUT_LIB).a
  19. GLW_LIB_NAME = lib$(GLW_LIB).a
  20. OSMESA_LIB_NAME = lib$(OSMesa).a
  21. APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread