Icons are changed
[gnuplot] / src / Makefile.am
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2 AUTOMAKE_OPTIONS = ansi2knr foreign 1.2h
3
4 # in the spirit of automake ...
5 pkglibexecdir = $(libexecdir)/@PACKAGE@/@VERSION_MAJOR@
6
7 # Where to send bug reports and comments
8 EMAIL = http://sourceforge.net/projects/gnuplot
9
10 # Default help file location
11 HELPFILE=@GIHDIR@/gnuplot.gih
12
13 # Default X11 driver location
14 X11_DRIVER_DIR=$(pkglibexecdir)
15
16 # Default Postscript prologues location
17 GNUPLOT_PS_DIR=$(pkgdatadir)/$(VERSION_MAJOR)/PostScript
18
19 # There is probably no need to edit anything below this line
20
21 GNUPLOT_X11 = @GNUPLOT_X11@
22 EXTRA_PROGRAMS = gnuplot_x11
23 bin_PROGRAMS = gnuplot
24 pkglibexec_PROGRAMS = $(GNUPLOT_X11)
25 noinst_PROGRAMS = bf_test
26
27 XLIBS = @LIBRARIES_FOR_X@
28 AM_CPPFLAGS = -I../term -I$(top_srcdir)/term -DBINDIR=\"$(bindir)\" -DX11_DRIVER_DIR=\"$(X11_DRIVER_DIR)\" -DGNUPLOT_PS_DIR=\"$(GNUPLOT_PS_DIR)\" -DCONTACT=\"$(EMAIL)\" -DHELPFILE=\"$(HELPFILE)\"
29
30 gnuplot_SOURCES = alloc.c alloc.h ansichek.h axis.c axis.h \
31 breaders.c breaders.h bitmap.c bitmap.h color.c color.h command.c \
32 command.h contour.c contour.h datafile.c datafile.h dynarray.c dynarray.h \
33 eval.c eval.h fit.c fit.h gadgets.c gadgets.h getcolor.c getcolor.h gp_hist.h \
34 gp_time.h gp_types.h gplt_x11.h graph3d.c graph3d.h graphics.c graphics.h \
35 help.c help.h hidden3d.c hidden3d.h history.c internal.c internal.h \
36 interpol.c interpol.h matrix.c matrix.h misc.c misc.h mouse.c mouse.h \
37 mousecmn.h national.h parse.c parse.h plot.c plot.h plot2d.c plot2d.h \
38 plot3d.c plot3d.h pm3d.c pm3d.h readline.c readline.h save.c \
39 save.h scanner.c scanner.h set.c setshow.h show.c specfun.c specfun.h \
40 standard.c standard.h stdfn.c stdfn.h syscfg.h tables.c tables.h \
41 template.h term_api.h term.c term.h time.c unset.c util.c util.h \
42 util3d.c util3d.h variable.c variable.h version.c version.h
43
44 if INCLUDE_BINARY_C
45 gnuplot_SOURCES += binary.c
46 endif
47
48 gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS)
49
50 gnuplot_x11_SOURCES = gplt_x11.c gplt_x11.h gpexecute.c gpexecute.h mousecmn.h
51
52 getcolor_x11.o: getcolor.c
53         $(COMPILE) -c -DGPLT_X11_MODE -o getcolor_x11.o $(srcdir)/getcolor.c
54
55 gnuplot_x11_LDADD = getcolor_x11.o $(XLIBS)
56
57 bf_test_SOURCES = bf_test.c binary.c binary.h alloc.c
58
59 if BUILD_SRC_BEOS_SUBDIR
60 d_beos = beos
61 endif
62
63 SUBDIRS = $(d_beos) wxterminal
64
65 EXTRA_gnuplot_SOURCES = amiga.c corplot.c os9.c strftime.c vms.c
66
67 EXTRA_DIST = GNUmakefile Makefile.maint NeXT OpenStep README \
68 corgraph.asm genopt.com gnuplot.def gnuplot.opt gnuplot.prj header.mac \
69 hrcgraph.asm intergra.x11 lasergnu lineproc.mac linkopt.vms linkopt.ztc \
70 makefile.all makefile.awc os2 pcgraph.asm rgipgnu win x11.opt \
71 $(EXTRA_gnuplot_SOURCES)
72
73 if BUILD_WXWIDGETS
74 gnuplot_SOURCES += wxterminal/gp_cairo.c wxterminal/wxt_gui.cpp
75 endif
76
77 ## we don't need COREOBJS, but CORETERM
78 ## for the term.o dependencies
79 O=o
80 T=$(top_srcdir)/term/
81 # begin makefile.all
82 include makefile.all
83 # end makefile.all
84 term$U.o: $(CORETERM)
85