File: make.include.osx

package info (click to toggle)
pngwriter 0.5.3-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,224 kB
  • ctags: 247
  • sloc: cpp: 4,202; makefile: 277
file content (47 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download | duplicates (3)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
############## FREETYPE SUPPORT / SOPORTE PARA FREETYPE#####################
#
# Uncomment the following line if you do not wish to compile PNGwriter
# with FreeType2 support.
# (Please note that if you compile PNGwriter without FreeType2 support,
# all projects that you compile that use PNGwriter must be compiled with
# -DNO_FREETYPE).
#
# Descomenta la siguiente linea si no quieres compilar PNGwriter
# con soporte para FreeType2.
# (Nota que si compilas PNGwriter sin soporte para FreeType2, todos los
# proyectos que usen PNGwriter que compiles deberan ser compilados con
# -DNO_FREETYPE).
#
#
# P_FREETYPE = 1
#
# 
# Alternatively, when compiling, call make with the option P_FREETYPE=1


PREFIX=/usr/local

FINK_LOCATION=/sw

DESTDIR=


ifdef P_FREETYPE
FT_ARG = -DNO_FREETYPE
else
FT_ARG = `freetype-config --cflags` `freetype-config --libs`
endif

CXX=c++

CXXFLAGS= -Wall -O3  -mpowerpc -Wno-deprecated $(FT_ARG)

INC= -I../src/ -I$(PREFIX)/include/ -I$(FINK_LOCATION)/include

LIBS= -L../src/ -L$(PREFIX)/lib/ -L$(FINK_LOCATION)/lib/ -lz -lpng -lpngwriter

INSTALL=install

OSXSPECIFIC= ranlib -s $(DESTDIR)$(PREFIX)/lib/libpngwriter.a

SELF=make.include.osx