summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/Makefile.am
blob: 4bd8af63abb173139a09ad5f44f21f657f7f0f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## Process this file with automake to produce Makefile.in

# Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

EXTRA_DIST = mixgtk.glade

if MAKE_GUILE
GUILED = -DMAKE_GUILE
else
GUILED =
endif

if MAKE_GUI

pkgdata_DATA = mixgtk.glade

INCLUDES = -I$(includedir) -I$(top_srcdir) \
           -DGLADE_FILE=\""$(pkgdatadir)/mixgtk.glade"\"\
           -DLOCAL_GLADE_FILE=\""$(srcdir)/mixgtk.glade"\"\
           $(GUILED)
LDADD = $(top_builddir)/mixlib/libmix.a $(top_builddir)/lib/libreplace.a\
        $(top_builddir)/mixguile/libmixguile.a $(INTLLIBS)

AM_LDFLAGS = -Wl,--export-dynamic
bin_PROGRAMS = gmixvm
gmixvm_SOURCES = gmixvm.c mixgtk.h mixgtk.c \
                 mixgtk_config.h mixgtk_config.c \
                 mixgtk_gen_handlers.h mixgtk_gen_handlers.c \
		 mixgtk_cmd_dispatcher.h mixgtk_cmd_dispatcher.c \
                 mixgtk_widgets.h mixgtk_widgets.c \
                 mixgtk_device.h mixgtk_device.c \
                 mixgtk_mixvm.h mixgtk_mixvm.c \
                 mixgtk_mixal.h mixgtk_mixal.c \
                 mixgtk_input.h mixgtk_input.c \
		 mixgtk_fontsel.h mixgtk_fontsel.c \
                 mixgtk_wm.h mixgtk_wm.c
endif