~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/nan_definitions.mk

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# $Id: nan_definitions.mk,v 1.104 2006/11/22 19:05:35 hos Exp $
 
2
# $Id: nan_definitions.mk,v 1.109 2007/05/04 15:58:20 sirdude Exp $
3
3
#
4
4
# ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
#
59
59
    # Object Config_Guess DIRectory
60
60
    export OCGDIR = $(NAN_OBJDIR)/$(CONFIG_GUESS)
61
61
 
 
62
    # Determines what targets are built
 
63
    export WITH_BF_DYNAMICOPENGL ?= true
 
64
    export WITH_BF_STATICOPENGL ?= false
 
65
    export WITH_BF_BLENDERGAMEENGINE ?= true
 
66
    export WITH_BF_BLENDERPLAYER ?= true
 
67
    export WITH_BF_WEBPLUGIN ?= false
 
68
 
62
69
    export NAN_MOTO ?= $(LCGDIR)/moto
63
70
ifeq ($(FREE_WINDOWS), true)
64
71
    export NAN_SOLID ?= $(LCGDIR)/gcc/solid
128
135
          endif
129
136
      else
130
137
        ifeq ($(OS),linux)
131
 
          export NAN_OPENEXR ?= /usr
132
 
          export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
 
138
                        ifeq ($(WITH_OPENEXR), true)
 
139
                        NAN_OPENEXR?=$(shell pkg-config --variable=prefix OpenEXR )
 
140
                        NAN_OPENEXR_INC?=$(shell pkg-config --cflags OpenEXR )
 
141
                        NAN_OPENEXR_LIBS?=$(addprefix ${NAN_OPENEXR}/lib/lib,$(addsuffix .a,$(shell pkg-config --libs OpenEXR | sed -s "s/-l//g" )))
 
142
                        endif
133
143
        else
134
144
          export NAN_OPENEXR ?= /usr/local
135
145
          export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
136
146
        endif
137
147
      endif
138
 
      export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
 
148
                        ifeq ($(WITH_OPENEXR), true)
 
149
                        export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
 
150
                        endif
139
151
 
140
152
    endif
141
153
  # Platform Dependent settings go below:
394
406
    ifndef NAN_NO_FFMPEG
395
407
          export WITH_FFMPEG ?= true
396
408
    endif
 
409
 
397
410
  else
398
411
  ifeq ($(OS),openbsd)
399
412
 
575
588
 
576
589
    # enable freetype2 support for text objects
577
590
    #export WITH_FREETYPE2 ?= true
 
591
 
578
592
  endif
579
593
 
580
594
endif