Add to Gambit REPL some functions to send SMS and take pictures (this functionnality...
[gambit-c.git] / prebuilt / macosx / makefile.in
blob276a5d9f4e797690647cc6e758d745514094cbcd
1 # makefile for Gambit-C build on MacOS X.
3 # Copyright (c) 1994-2012 by Marc Feeley, All Rights Reserved.
5 herefromroot = prebuilt/macosx
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_MF@
23 C_PREPROC = @C_PREPROC_MF@
24 FLAGS_OBJ = @FLAGS_OBJ_MF@
25 FLAGS_DYN = @FLAGS_DYN_MF@
26 FLAGS_LIB = @FLAGS_LIB_MF@
27 FLAGS_EXE = @FLAGS_EXE_MF@
28 DEFS = @DEFS@
29 LIBS = @LIBS@
31 GAMBCLIB_DEFS = @GAMBCLIB_DEFS_MF@
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:
67 RCFILES = makefile.in build build-phase2.in remote-shell \
68 InstallationCheck.in postflight.in \
69 gambc.ai gambc.tif gambc.pmproj.in \
70 welcome.html.in readme.html.in conclusion.html.in uninstall-gambc.in
72 GENDISTFILES =
74 DISTFILES = $(RCFILES) $(GENDISTFILES)
76 all:
78 all-pre:
80 all-post:
82 prebuilt:
83 PATH="$(rootfromhere)/gsi:$$PATH" ../remote-connect macosx "" "(define tmpdir \"gambtmp1\")(define gambc-dist \"$(PACKAGE_TARNAME)\")(define timeout 600)(ssh timeout (string-append \"sudo rm -rf \" tmpdir \";mkdir \" tmpdir \";\"))(scp-to timeout (string-append \"$(rootfromhere)/\" gambc-dist \".tgz\") (string-append tmpdir \"/.\"))(ssh timeout (string-append \"cd \" tmpdir \";tar zxf \" gambc-dist \".tgz;cd \" gambc-dist \";sudo $(herefromroot)/build\"))(scp-from timeout (string-append tmpdir \"/\" gambc-dist \"/$(PACKAGE_TARNAME)-*\") \"$(rootfromhere)\")"
85 install-pre:
87 install-post: all
89 uninstall-pre:
91 uninstall-post:
93 mostlyclean-pre:
95 mostlyclean-post:
97 clean-pre: mostlyclean-pre
99 clean-post: mostlyclean-post
101 distclean-pre: clean-pre
103 distclean-post: clean-post
105 bootclean-pre: distclean-pre
107 bootclean-post: distclean-post
109 realclean-pre: bootclean-pre
111 realclean-post: bootclean-post
112 rm -f build-phase2 build-phase2.out makefile
114 rc-setup-pre:
115 $(RC) add $(RCFILES)
117 rc-setup-post:
119 dist-pre dist-devel-pre:
120 mkdir $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)
121 chmod 777 $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)
122 @echo " Copying distribution files:"
123 @for file in $(DISTFILES); do \
124 echo " $(herefromroot)/$$file"; \
125 ln $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot) 2> /dev/null \
126 || cp -p $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot); \
127 done
129 dist-post dist-devel-post:
131 all-recursive install-recursive uninstall-recursive mostlyclean-recursive clean-recursive distclean-recursive bootclean-recursive realclean-recursive rc-setup-recursive dist-recursive dist-devel-recursive:
132 @if test -n "$(SUBDIRS)"; then \
133 for subdir in ""$(SUBDIRS); do \
134 target=`echo $@ | sed 's/-recursive//'`; \
135 echo making $$target in $$subdir; \
136 (cd $$subdir && $(MAKE) $$target) || exit 1; \
137 done \
140 all: all-post
142 all-post: all-recursive
144 all-recursive: all-pre
146 install: install-post
148 install-post: install-recursive
150 install-recursive: install-pre
152 uninstall: uninstall-post
154 uninstall-post: uninstall-recursive
156 uninstall-recursive: uninstall-pre
158 mostlyclean: mostlyclean-post
160 mostlyclean-post: mostlyclean-recursive
162 mostlyclean-recursive: mostlyclean-pre
164 clean: clean-post
166 clean-post: clean-recursive
168 clean-recursive: clean-pre
170 distclean: distclean-post
172 distclean-post: distclean-recursive
174 distclean-recursive: distclean-pre
176 bootclean: bootclean-post
178 bootclean-post: bootclean-recursive
180 bootclean-recursive: bootclean-pre
182 realclean: realclean-post
184 realclean-post: realclean-recursive
186 realclean-recursive: realclean-pre
188 rc-setup: rc-setup-post
190 rc-setup-post: rc-setup-recursive
192 rc-setup-recursive: rc-setup-pre
194 dist: dist-post
196 dist-post: dist-recursive
198 dist-recursive: dist-pre
200 dist-devel: dist-devel-post
202 dist-devel-post: dist-devel-recursive
204 dist-devel-recursive: dist-devel-pre
206 makefile: makefile.in $(rootfromhere)/config.status
207 cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
209 # Tell versions [3.59,3.63) of GNU make not to export all variables.
210 # Otherwise a system limit (for SysV at least) may be exceeded.
211 .NOEXPORT: