xref: /TaskScheduler/ThirdParty/Squish/config (revision 2f083884)
1*2f083884Ss.makeev_local# config file used for the Makefile only
2*2f083884Ss.makeev_local
3*2f083884Ss.makeev_local# define to 1 to use Altivec instructions
4*2f083884Ss.makeev_localUSE_ALTIVEC ?= 0
5*2f083884Ss.makeev_local
6*2f083884Ss.makeev_local# define to 1 to use SSE2 instructions
7*2f083884Ss.makeev_localUSE_SSE ?= 0
8*2f083884Ss.makeev_local
9*2f083884Ss.makeev_local# default flags
10*2f083884Ss.makeev_localCXXFLAGS ?= -O2
11*2f083884Ss.makeev_localifeq ($(USE_ALTIVEC),1)
12*2f083884Ss.makeev_localCPPFLAGS += -DSQUISH_USE_ALTIVEC=1
13*2f083884Ss.makeev_localCXXFLAGS += -maltivec
14*2f083884Ss.makeev_localendif
15*2f083884Ss.makeev_localifeq ($(USE_SSE),1)
16*2f083884Ss.makeev_localCPPFLAGS += -DSQUISH_USE_SSE=2
17*2f083884Ss.makeev_localCXXFLAGS += -msse
18*2f083884Ss.makeev_localendif
19*2f083884Ss.makeev_local
20*2f083884Ss.makeev_local# where should we install to
21*2f083884Ss.makeev_localINSTALL_DIR ?= /usr/local
22*2f083884Ss.makeev_local
23