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

# Copyright (C) 2001 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
EXTRA_DIST = $(SCM_FILES)

noinst_LIBRARIES = libmixguile.a

if MAKE_GUILE

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

pkgdata_DATA = $(SCM_FILES)
INCLUDES = -I$(includedir) $(SCM_PATHS)
libmixguile_a_INCLUDES = -I$(includedir) -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 \
                 $(top_builddir)/mixguile/libmixguile.a $(INTLLIBS)
mixguile_SOURCES = mixguile_main.c 

else

libmixguile_a_SOURCES =

endif