Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140840
Collapse All | Expand All

(-)libharu-1.2.3.1/work/haru/Makefile.original (-8 / +8 lines)
Lines 4-15 Link Here
4
CC=gcc
4
CC=gcc
5
CPP=gcc
5
CPP=gcc
6
6
7
PREFIX=/usr/local
7
PREFIX=$(DESTDIR)/usr
8
INCPATH=$(PREFIX)/include
8
INCPATH=$(PREFIX)/include/libharu
9
LIBPATH=$(PREFIX)/lib
9
LIBPATH=$(PREFIX)/lib
10
10
11
MYCPPFLAGS=
11
# MYCPPFLAGS=
12
MYLDFLAGS=-lpng -lz -ljpeg
12
# MYLDFLAGS=-lpng -lz -ljpeg
13
13
14
# if you din't have libpng and never use PNG image, use these options.
14
# if you din't have libpng and never use PNG image, use these options.
15
#MYCPPFLAGS=-DNOPNG
15
#MYCPPFLAGS=-DNOPNG
Lines 27-40 Link Here
27
#MYCPPFLAGS=-O3 -DNOJPEG -DNOPNG -DNOZLIB
27
#MYCPPFLAGS=-O3 -DNOJPEG -DNOPNG -DNOZLIB
28
#MYLDFLAGS=
28
#MYLDFLAGS=
29
29
30
ENCRYPTFLAGS=
30
# ENCRYPTFLAGS=
31
31
32
# if you don't need to encryption method, commentout the following line.
32
# if you don't need to encryption method, commentout the following line.
33
ENCRYPTFLAGS=-DUSE_ENCRYPTION
33
# ENCRYPTFLAGS=-DUSE_ENCRYPTION
34
34
35
# release mode.
35
# release mode.
36
CPPFLAGS=-I. -Wall -O3 -DNDEBUG $(MYCPPFLAGS) $(ENCRYPTFLAGS)
36
CPPFLAGS= $(MYCPPFLAGS) $(ENCRYPTFLAGS)
37
CFLAGS=-I. -Wall -O3 $(MYCPPFLAGS) $(ENCRYPTFLAGS)
37
CFLAGS= $(MYCPPFLAGS) $(ENCRYPTFLAGS)
38
38
39
# debug mode (no message).
39
# debug mode (no message).
40
#CPPFLAGS=-I. -Wall -O0 $(MYCPPFLAGS) -g $(ENCRYPTFLAGS)
40
#CPPFLAGS=-I. -Wall -O0 $(MYCPPFLAGS) -g $(ENCRYPTFLAGS)

Return to bug 140840