-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
34 lines (31 loc) · 1.58 KB
/
Makefile.am
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
# This file is part of "psdparse"
# Copyright (C) 2004-2011 Toby Thain, [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
bin_PROGRAMS = psdparse psd2xcf
psdparse_SOURCES = main.c writepng.c writeraw.c unpackbits.c packbits.c write.c \
resources.c icc.c extra.c constants.c util.c pdf.c \
descriptor.c channel.c psd.c scavenge.c mmap.c \
psd_zip.c duotone.c rebuild.c \
psdparse.h version.h
psd2xcf_SOURCES = psd2xcf.c xcf.c psd.c util.c extra.c descriptor.c constants.c \
pdf.c resources.c icc.c channel.c psd_zip.c unpackbits.c \
duotone.c
psdparse_LDFLAGS = $(LIBPNG_LIBS)
psd2xcf_LDFLAGS = -lz
AM_CFLAGS = -W -Wall -O2
AM_CPPFLAGS = -DDIRSEP="'/'" -DDEFAULT_VERBOSE=0 -D_GNU_SOURCE \
-DPSBSUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
$(LIBPNG_CPPFLAGS)