1## Process this file with automake to create Makefile.in
2program_transform_name =
3
4PERL = @PERL@
5moduledir = @FVWM_MODULEDIR@
6
7# If FVWM_BUILD_GOLANG has been defined via --enable-golang, then FvwmPrompt
8# is preferred.  In this case, disable compiling/installing FvwmConsole --
9# eventually, FvwmConsole will go away completely, but for compatibility
10# reasons, remains here only under this condition.
11if !FVWM_BUILD_GOLANG
12
13module_PROGRAMS = FvwmConsole FvwmConsoleC
14
15FvwmConsole_SOURCES = FvwmConsole.c FvwmConsole.h
16FvwmConsoleC_SOURCES = FvwmConsoleC.c FvwmConsole.h getline.c
17
18FvwmConsole_DEPENDENCIES = $(top_builddir)/libs/libfvwm3.a
19FvwmConsoleC_DEPENDENCIES = $(top_builddir)/libs/libfvwm3.a
20
21# Use X_EXTRA_LIBS to get socket(), etc.
22LDADD = -L$(top_builddir)/libs -lfvwm3 $(readline_LIBS) $(freetype_LIBS) \
23	$(X_EXTRA_LIBS) $(XFT_LIBS)
24
25# FIXME:
26# Despite not using X functions explicitly, the code includes
27# fvwmlib.h, which *does* include X headers and xpm.h!
28AM_CPPFLAGS = -I$(top_srcdir) $(readline_CFLAGS) $(xpm_CFLAGS) \
29	      $(freetype_CFLAGS) $(X_CFLAGS) $(XFT_CFLAGS)
30endif !FVWM_BUILD_GOLANG
31