Fix makefile dependencies to allow concurrent build (thanks to Adrien Pierard for...
[gambit-c.git] / lib / guide / images / makefile.in
blobc18cf172a46db1dcd3c60ae996b095fc53a82c7c
1 # makefile for GUIDE images, Time-stamp: <2009-06-12 11:52:54 feeley>
3 # Copyright (C) 1994-2009 by Marc Feeley, All Rights Reserved.
5 herefromroot = lib/guide/images
6 rootfromhere = ../../..
7 SUBDIRS =
9 PACKAGE_SHORTNAME = @PACKAGE_SHORTNAME@
10 PACKAGE_NAME = @PACKAGE_NAME@
11 PACKAGE_VERSION = @PACKAGE_VERSION@
12 PACKAGE_STRING = @PACKAGE_STRING@
13 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
14 PACKAGE_TARNAME = @PACKAGE_TARNAME@
16 @SET_MAKE@
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 srcdirpfx = @srcdirpfx@
22 C_COMPILER = @C_COMPILER@
23 C_PREPROC = @C_PREPROC@
24 FLAGS_OBJ = @FLAGS_OBJ@
25 FLAGS_DYN = @FLAGS_DYN@
26 FLAGS_LIB = @FLAGS_LIB@
27 FLAGS_EXE = @FLAGS_EXE@
28 DEFS = @DEFS@
29 LIBS = @LIBS@
31 LIBRARY_DEFS = @LIBRARY_DEFS@
32 LIB_PREFIX = @LIB_PREFIX@
33 LIB_EXTENSION = @LIB_EXTENSION@
34 GAMBCLIB = @GAMBCLIB@
35 GAMBCGSCLIB = @GAMBCGSCLIB@
36 GAMBCGSILIB = @GAMBCGSILIB@
37 INSTALL = @INSTALL@
38 INSTALL_DATA = @INSTALL_DATA@
39 INSTALL_LIB = @INSTALL_LIB@
40 INSTALL_PROGRAM = @INSTALL_PROGRAM@
41 LN_S = @LN_S@
42 RANLIB = @RANLIB@
43 RC = @RC@
44 GIT = @GIT@
45 HG = @HG@
47 prefix = @prefix@
48 exec_prefix = @exec_prefix@
49 includedir = @includedir@
50 libdir = @libdir@
51 bindir = @bindir@
52 docdir = @docdir@
53 infodir = @infodir@
54 emacsdir = @emacsdir@
55 libexecdir = @libexecdir@
56 datarootdir = @datarootdir@
57 datadir = @datadir@
58 htmldir = @htmldir@
59 dvidir = @dvidir@
60 pdfdir = @pdfdir@
61 psdir = @psdir@
62 localedir = @localedir@
63 mandir = @mandir@
65 .SUFFIXES:
66 .SUFFIXES: .png
68 PNG_FILES = filenew.png fileopen.png filesave.png print.png undo.png redo.png editcut.png editcopy.png editpaste.png cont.png leap.png step.png
70 RCFILES = makefile.in $(PNG_FILES)
72 GENDISTFILES =
74 DISTFILES = $(RCFILES) $(GENDISTFILES)
76 all:
78 all-pre:
80 all-post:
82 install-pre:
84 install-post: all
86 uninstall-pre:
88 uninstall-post:
90 mostlyclean-pre:
92 mostlyclean-post:
94 clean-pre: mostlyclean-pre
96 clean-post: mostlyclean-post
98 distclean-pre: clean-pre
100 distclean-post: clean-post
102 bootclean-pre: distclean-pre
104 bootclean-post: distclean-post
106 realclean-pre: bootclean-pre
108 realclean-post: bootclean-post
109 rm -f makefile
111 rc-setup-pre:
112 $(RC) add $(RCFILES)
114 rc-setup-post:
116 dist-pre dist-devel-pre:
117 mkdir $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)
118 chmod 777 $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)
119 @echo " Copying distribution files:"
120 @for file in $(DISTFILES); do \
121 echo " $(herefromroot)/$$file"; \
122 ln $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot) 2> /dev/null \
123 || cp -p $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot); \
124 done
126 dist-post dist-devel-post:
128 all-recursive install-recursive uninstall-recursive mostlyclean-recursive clean-recursive distclean-recursive bootclean-recursive realclean-recursive rc-setup-recursive dist-recursive dist-devel-recursive:
129 @if test -n "$(SUBDIRS)"; then \
130 for subdir in ""$(SUBDIRS); do \
131 target=`echo $@ | sed 's/-recursive//'`; \
132 echo making $$target in $$subdir; \
133 (cd $$subdir && $(MAKE) $$target) || exit 1; \
134 done \
137 all: all-post
139 all-post: all-recursive
141 all-recursive: all-pre
143 install: install-post
145 install-post: install-recursive
147 install-recursive: install-pre
149 uninstall: uninstall-post
151 uninstall-post: uninstall-recursive
153 uninstall-recursive: uninstall-pre
155 mostlyclean: mostlyclean-post
157 mostlyclean-post: mostlyclean-recursive
159 mostlyclean-recursive: mostlyclean-pre
161 clean: clean-post
163 clean-post: clean-recursive
165 clean-recursive: clean-pre
167 distclean: distclean-post
169 distclean-post: distclean-recursive
171 distclean-recursive: distclean-pre
173 bootclean: bootclean-post
175 bootclean-post: bootclean-recursive
177 bootclean-recursive: bootclean-pre
179 realclean: realclean-post
181 realclean-post: realclean-recursive
183 realclean-recursive: realclean-pre
185 rc-setup: rc-setup-post
187 rc-setup-post: rc-setup-recursive
189 rc-setup-recursive: rc-setup-pre
191 dist: dist-post
193 dist-post: dist-recursive
195 dist-recursive: dist-pre
197 dist-devel: dist-devel-post
199 dist-devel-post: dist-devel-recursive
201 dist-devel-recursive: dist-devel-pre
203 makefile: makefile.in $(rootfromhere)/config.status
204 cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
206 # Tell versions [3.59,3.63) of GNU make not to export all variables.
207 # Otherwise a system limit (for SysV at least) may be exceeded.
208 .NOEXPORT: