Blame view

buildroot/buildroot-2016.08.1/package/libfreeglut/libfreeglut.mk 928 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  ################################################################################
  #
  # libfreeglut
  #
  ################################################################################
  
  LIBFREEGLUT_VERSION = 3.0.0
  LIBFREEGLUT_SOURCE = freeglut-$(LIBFREEGLUT_VERSION).tar.gz
  LIBFREEGLUT_SITE = http://downloads.sourceforge.net/freeglut
  LIBFREEGLUT_LICENSE = MIT
  LIBFREEGLUT_LICENSE_FILES = COPYING
  LIBFREEGLUT_INSTALL_STAGING = YES
  LIBFREEGLUT_DEPENDENCIES = \
  	libgl \
  	libglu \
  	xlib_libXi \
  	xlib_libXrandr \
  	xlib_libXxf86vm
  
  LIBFREEGLUT_CONF_OPTS = -DFREEGLUT_BUILD_DEMOS=OFF
  
  # package depends on X.org which depends on !BR2_STATIC_LIBS
  ifeq ($(BR2_SHARED_LIBS),y)
  LIBFREEGLUT_CONF_OPTS += \
  	-DFREEGLUT_BUILD_SHARED_LIBS=ON \
  	-DFREEGLUT_BUILD_STATIC_LIBS=OFF
  else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
  LIBFREEGLUT_CONF_OPTS += \
  	-DFREEGLUT_BUILD_SHARED_LIBS=ON \
  	-DFREEGLUT_BUILD_STATIC_LIBS=ON
  endif
  
  $(eval $(cmake-package))