1 # makefile for Xlib-simple example, Time-stamp: <2009-06-09 16:44:56 feeley>
3 # Copyright (c) 1994-2009 by Marc Feeley, All Rights Reserved.
5 herefromroot
= examples
/Xlib-simple
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@
65 .SUFFIXES
: .scm .c @obj@ .o1
67 RCFILES
= makefile.in README Xlib.scm
"Xlib\#.scm" bounce.scm
71 DISTFILES
= $(RCFILES
) $(GENDISTFILES
)
79 examples
: bounce.o1 run
83 @SETDLPATH@
$(rootfromhere
)/gsc
/gsc
-:~~bin
=$(srcdirpfx
)$(rootfromhere
)/bin
,~~lib
=$(srcdirpfx
)$(rootfromhere
)/lib
,~~
include=$(srcdirpfx
)$(rootfromhere
)/include -cc-options
"@X_CFLAGS@" -ld-options
"@X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lX11" $(srcdirpfx
)$*.scm
86 @SETDLPATH@
$(rootfromhere
)/gsi
/gsi
-:~~bin
=$(srcdirpfx
)$(rootfromhere
)/bin
,~~lib
=$(srcdirpfx
)$(rootfromhere
)/lib
,~~
include=$(srcdirpfx
)$(rootfromhere
)/include Xlib
-e
'(load "bounce") (main)'
99 rm -f Xlib.c Xlib@obj@ Xlib.o1 bounce.c bounce@obj@ bounce.o1
101 clean-pre
: mostlyclean-pre
103 clean-post
: mostlyclean-post
104 rm -f
*.gcov
*.gcno
*.gcda
106 distclean-pre
: clean-pre
108 distclean-post
: clean-post
110 bootclean-pre
: distclean-pre
112 bootclean-post
: distclean-post
114 realclean-pre
: bootclean-pre
116 realclean-post
: bootclean-post
124 dist-pre dist-devel-pre
:
125 mkdir
$(rootfromhere
)/$(PACKAGE_TARNAME
)/$(herefromroot
)
126 chmod
777 $(rootfromhere
)/$(PACKAGE_TARNAME
)/$(herefromroot
)
127 @echo
" Copying distribution files:"
128 @for file in
$(DISTFILES
); do \
129 echo
" $(herefromroot)/$$file"; \
130 ln
$(srcdirpfx
)$$file $(rootfromhere
)/$(PACKAGE_TARNAME
)/$(herefromroot
) 2> /dev
/null \
131 || cp
-p
$(srcdirpfx
)$$file $(rootfromhere
)/$(PACKAGE_TARNAME
)/$(herefromroot
); \
134 dist-post dist-devel-post
:
136 all-recursive install-recursive uninstall-recursive mostlyclean-recursive clean-recursive distclean-recursive bootclean-recursive realclean-recursive rc-setup-recursive dist-recursive dist-devel-recursive
:
137 @if
test -n
"$(SUBDIRS)"; then \
138 for subdir in
""$(SUBDIRS
); do \
139 target
=`echo $@ | sed 's/-recursive//'`; \
140 echo making
$$target in
$$subdir; \
141 (cd
$$subdir && $(MAKE
) $$target) || exit
1; \
147 all-post
: all-recursive
149 all-recursive
: all-pre
151 install: install-post
153 install-post
: install-recursive
155 install-recursive
: install-pre
157 uninstall: uninstall-post
159 uninstall-post
: uninstall-recursive
161 uninstall-recursive
: uninstall-pre
163 mostlyclean: mostlyclean-post
165 mostlyclean-post
: mostlyclean-recursive
167 mostlyclean-recursive
: mostlyclean-pre
171 clean-post
: clean-recursive
173 clean-recursive
: clean-pre
175 distclean: distclean-post
177 distclean-post
: distclean-recursive
179 distclean-recursive
: distclean-pre
181 bootclean
: bootclean-post
183 bootclean-post
: bootclean-recursive
185 bootclean-recursive
: bootclean-pre
187 realclean: realclean-post
189 realclean-post
: realclean-recursive
191 realclean-recursive
: realclean-pre
193 rc-setup
: rc-setup-post
195 rc-setup-post
: rc-setup-recursive
197 rc-setup-recursive
: rc-setup-pre
201 dist-post
: dist-recursive
203 dist-recursive
: dist-pre
205 dist-devel
: dist-devel-post
207 dist-devel-post
: dist-devel-recursive
209 dist-devel-recursive
: dist-devel-pre
211 makefile
: makefile.in
$(rootfromhere
)/config.status
212 cd
$(rootfromhere
) && CONFIG_FILES
=$(herefromroot
)/$@ CONFIG_HEADERS
= .
/config.status
214 # Tell versions [3.59,3.63) of GNU make not to export all variables.
215 # Otherwise a system limit (for SysV at least) may be exceeded.