summaryrefslogtreecommitdiffhomepage
path: root/mixguile/Makefile.am
blob: 1005360f76da860d2dce7855a584198c2ad825f7 (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
## Process this file with automake to produce Makefile.in

# Copyright (C) 2001, 2010, 2014 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.

SCM_FILES = mixguile.scm mixguile-commands.scm mixguile-vm-stat.scm
EXTRA_DIST = $(SCM_FILES)

if MAKE_GUILE

noinst_LIBRARIES = libmixguile.a

SCM_PATHS = -DSCM_FILE=\""$(pkgdatadir)/mixguile.scm"\"\
            -DLOCAL_SCM_FILE=\"mixguile.scm\"

pkgdata_DATA = $(SCM_FILES)
AM_CFLAGS += -I$(includedir) -I$(top_srcdir) $(SCM_PATHS)
libmixguile_a_AM_CFLAGS = -I$(includedir) -I$(top_srcdir) \
                          -DG_LOG_DOMAIN=\"libmixguile\"
libmixguile_a_SOURCES = mixguile.h mixguile.c \
                        mixguile_cmd_dispatcher.h mixguile_cmd_dispatcher.c \
                        xmixguile_cmd_dispatcher.h xmixguile_cmd_dispatcher.c

bin_PROGRAMS = mixguile
mixguile_LDADD = $(top_builddir)/mixlib/libmix.a \
                 $(top_builddir)/lib/libreplace.a \
                 libmixguile.a $(INTLLIBS)
mixguile_SOURCES = mixguile_main.c

endif