-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile.am
More file actions
78 lines (66 loc) · 2.25 KB
/
Copy pathMakefile.am
File metadata and controls
78 lines (66 loc) · 2.25 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Makefile.am - Top level automakefile for fourier
SUBDIRS = .
# The braces around ACLOCAL_FLAGS below instead of parentheses are intentional!
# Otherwise autoreconf misparses the line.
ACLOCAL_AMFLAGS=-I m4 ${ACLOCAL_FLAGS}
AM_CFLAGS = ${CFLAGS} ${CPPFLAGS} ${FFTW_CFLAGS}
fourier_SOURCES = fourier.c
fourier.$(OBJEXT): fourier-config.h
fourier_LDADD = ${LIBS} ${FFTW_LIBS}
fourier_CFLAGS =
GIMPTOOL =
bin2_PROGRAMS =
bin2dir =
if MAKEGIMP2
bin2_PROGRAMS += fourier
bin2dir += $(GIMP2_BINDIR)/plug-ins
fourier_LDADD += ${GIMP2_LIBS} ${GTK2_LIBS}
fourier_CFLAGS += ${GIMP2_CFLAGS} ${GTK2_CFLAGS} -DMAKE_FOR_GIMP3=0
GIMPTOOL += ${GIMPTOOL2}
endif
bin3_PROGRAMS =
bin3dir =
if MAKEGIMP3
SUBDIRS += po
bin3_PROGRAMS += fourier
# 'make distcheck' can't write to ${GIMP3_LIBDIR}/plug-ins/fourier because of
# directory permissions, therefore don't install fourier unless you are root.
# bin3dir += $(GIMP3_BINDIR)/plug-ins/fourier
@SNIPPET1@
fourier_LDADD += ${GIMP3_LIBS} ${GTK3_LIBS}
fourier_CFLAGS += ${GIMP3_CFLAGS} ${GTK3_CFLAGS} -DMAKE_FOR_GIMP3=1
GIMPTOOL += ${GIMPTOOL3}
endif
# Avoid using this line below (Dirs gimp-plugin-fourier vs gimp-fourier-plugin).
#doc_DATA = README.md README.Moire
EXTRA_DIST = LICENSE Makefile.gimptool \
bootstrap.sh README.md README.Moire \
debian/gimp2/changelog debian/gimp2/control \
debian/gimp3/changelog debian/gimp3/control \
debian/compat debian/copyright \
debian/fourier-docs.docs debian/rules \
debian/source/format \
rpm/gimp-fourier-plugin.spec.in \
rpm/gimp3-fourier-plugin.spec.in
nodist_EXTRA_DATA = .git .github .deps .libs
DISTCHECK_CONFIGURE_FLAGS = --disable-silent-rules --enable-silent-rules
if MAKEGIMP3
DISTCHECK_CONFIGURE_FLAGS += --enable-fourier_dialog
endif
strip:
$(STRIP) ${builddir}/fourier
# These use gimptool to install/uninstall fourier in user directory
install-user:
$(GIMPTOOL) --install-bin ${builddir}/fourier
uninstall-user:
$(GIMPTOOL) --uninstall-bin fourier
deb_gimp2:
cp -f debian/gimp2/* debian
export DEB_CONFIGURE_EXTRA_FLAGS=""
dpkg-buildpackage -b -rfakeroot -us -uc
dpkg-buildpackage -rfakeroot -Tclean
deb_gimp3:
cp -f debian/gimp3/* debian
export DEB_CONFIGURE_EXTRA_FLAGS="--enable-gimp3-fourier"
dpkg-buildpackage -b -rfakeroot -us -uc
dpkg-buildpackage -rfakeroot -Tclean