1 # makefile for Gambit-C build on MacOS X.
3 # Copyright (c) 1994-2012 by Marc Feeley, All Rights Reserved.
5 herefromroot
= prebuilt
/macosx
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@
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@
31 GAMBCLIB_DEFS
= @GAMBCLIB_DEFS_MF@
32 LIB_PREFIX
= @LIB_PREFIX@
33 LIB_EXTENSION
= @LIB_EXTENSION@
35 GAMBCGSCLIB
= @GAMBCGSCLIB@
36 GAMBCGSILIB
= @GAMBCGSILIB@
38 INSTALL_DATA
= @INSTALL_DATA@
39 INSTALL_LIB
= @INSTALL_LIB@
40 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
48 exec_prefix = @
exec_prefix@
49 includedir = @
includedir@
55 libexecdir
= @libexecdir@
56 datarootdir
= @datarootdir@
62 localedir
= @localedir@
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
74 DISTFILES
= $(RCFILES
) $(GENDISTFILES
)
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)\")"
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
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
); \
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; \
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
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
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.