1## Process this file with automake to produce Makefile.in
2
3CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@
4INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
5RESWRAP  = $(top_builddir)/utils/reswrap
6SUFFIXES = .gif .bmp
7LDADD = ../src/libFOX-1.4.la -lm
8
9
10bin_PROGRAMS = calculator
11
12man_MANS = calculator-14.1
13
14ICONS  = \
15colors.gif \
16information.gif \
17bigcalc.gif \
18constmem.bmp \
19question.gif \
20tinycalc.gif
21
22
23calculator_SOURCES = \
24icons.h \
25icons.cpp \
26Calculator.h \
27Calculator.cpp \
28HelpWindow.h \
29HelpWindow.cpp \
30Preferences.h \
31Preferences.cpp \
32help.cpp \
33main.cpp \
34LICENSE \
35$(ICONS)
36
37
38Calculator.cpp: icons.h icons.cpp
39
40
41icons.h: $(ICONS)
42	$(RESWRAP) -i -o icons.h $^
43
44
45icons.cpp: $(ICONS)
46	$(RESWRAP) -e -o icons.cpp $^
47
48
49CLEANFILES = icons.h icons.cpp
50
51
52EXTRA_DIST = $(man_MANS) \
53             Makefile.bc \
54             Makefile.wc \
55             Makefile.dmc
56
57