1 # -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
5 AUTOMAKE_OPTIONS = no-dependencies
6 CC = gcc # to suppress automake warning
8 include $(top_srcdir)/common.mk
10 genericdir = $(prefix)
11 genericdirDATA = readme_en.txt readme_ru.txt readme_fr.txt \
12 readme_de.txt readme_pt.txt readme_pt_BR.txt readme_it.txt readme_es.txt
16 bin_PROGRAMS += xmaxima$(EXEEXT) winkill$(EXEEXT)
19 bin_PROGRAMS += winkill$(EXEEXT)
25 bin_SCRIPTS += winkill_lib.dll win_signals.lisp
28 bin_SCRIPTS += winkill_lib.dll win_signals.lisp
34 ../xmaxima:; $(MAKE) -C .. xmaxima
36 xmaxima.tcl: ../xmaxima; cp ../xmaxima xmaxima.tcl
38 xmaxima$(EXEEXT): xmaxima.tcl
39 -rm -rf xmaxima.vfs img.vfs
40 $(TCLKITSH) $(SDXKIT) qwrap xmaxima.tcl && \
41 $(TCLKITSH) $(SDXKIT) unwrap xmaxima.kit && \
42 $(TCLKITSH) $(SDXKIT) unwrap $(IMGKIT) && \
43 cp -r img.vfs/lib/Img xmaxima.vfs/lib && \
44 $(TCLKITSH) $(SDXKIT) wrap xmaxima.exe \
45 -runtime $(TCLKIT_RUNTIME) xmaxima.kit
47 winkill$(EXEEXT): winkill.c winkill_lib.dll
48 gcc -Wall -o $@ winkill.c
50 winkill_lib.dll: winkill_lib.c
51 gcc -Wall -shared winkill_lib.c -o winkill_lib.dll
53 InfoBefore = InfoBefore.txt InfoBefore_ru.txt InfoBefore_fr.txt \
54 InfoBefore_de.txt InfoBefore_pt.txt InfoBefore_pt_BR.txt \
55 InfoBefore_it.txt InfoBefore_es.txt
56 EXTRA_DIST = ChangeLog $(genericdirDATA) $(InfoBefore) winkill.c winkill_lib.c win_signals.lisp
60 CLEANFILES += tclwinkill.dll xmaxima.tcl xmaxima.kit
63 CLEANFILES += winkill$(EXEEXT) winkill_lib.dll
66 clean-local:; -rm -rf xmaxima.vfs img.vfs