2005-06-22 11:20:32 -07:00
|
|
|
#
|
|
|
|
# mooterm/Makefile.am
|
|
|
|
#
|
|
|
|
|
|
|
|
SUBDIRS = glade
|
|
|
|
|
|
|
|
widget_sources = \
|
|
|
|
mooterm.c \
|
|
|
|
mooterm.h \
|
|
|
|
mooterm-private.h \
|
|
|
|
mootermbuffer.c \
|
|
|
|
mootermbuffer.h \
|
|
|
|
mootermbuffer-private.h \
|
2005-07-01 02:53:39 -07:00
|
|
|
mooterminput.c \
|
2005-06-22 11:20:32 -07:00
|
|
|
mootermdraw.c \
|
|
|
|
mootermline.h \
|
|
|
|
mootermparser.c \
|
|
|
|
mootermparser.h \
|
|
|
|
mootermselection.c \
|
|
|
|
mootermvt.c \
|
|
|
|
mootermvt.h
|
|
|
|
|
2005-06-22 15:13:12 -07:00
|
|
|
widget_unix_sources = \
|
|
|
|
mootermvt-unix.c \
|
|
|
|
pty.c \
|
|
|
|
pty.h
|
|
|
|
|
|
|
|
widget_win32_sources = \
|
|
|
|
mootermvt-win32.c
|
|
|
|
|
2005-06-22 11:20:32 -07:00
|
|
|
AM_INCLUDES =
|
|
|
|
common_cflags = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_builddir)/$(MOO_SRC_PREFIX) \
|
|
|
|
$(MOO_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(PYGTK_CFLAGS) \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
-DG_LOG_DOMAIN=\"Moo\"
|
2005-06-22 15:13:12 -07:00
|
|
|
|
2005-06-22 11:20:32 -07:00
|
|
|
AM_CFLAGS = $(common_cflags) $(M_CFLAGS) $(CFLAGS)
|
|
|
|
|
2005-06-22 15:13:12 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(widget_sources) \
|
|
|
|
$(widget_unix_sources) \
|
|
|
|
$(widget_win32_sources)
|
|
|
|
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# UNIX
|
|
|
|
#
|
|
|
|
if UNIX_BUILD
|
|
|
|
|
2005-06-22 11:20:32 -07:00
|
|
|
noinst_LTLIBRARIES = libmooterm.la
|
|
|
|
|
2005-06-22 15:13:12 -07:00
|
|
|
libmooterm_la_SOURCES = $(widget_sources) $(widget_unix_sources)
|
|
|
|
|
|
|
|
endif UNIX_BUILD
|
|
|
|
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# MINGW
|
|
|
|
#
|
|
|
|
if MINGW_BUILD
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libmooterm.la
|
|
|
|
|
|
|
|
libmooterm_la_SOURCES = $(widget_sources) $(widget_win32_sources)
|
|
|
|
|
|
|
|
endif MINGW_BUILD
|
|
|
|
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# CYGWIN
|
|
|
|
#
|
|
|
|
if CYGWIN_BUILD
|
|
|
|
|
|
|
|
noinst_PROGRAMS = termhelper
|
|
|
|
|
|
|
|
termhelper_CFLAGS = \
|
|
|
|
$(AM_CFLAGS) \
|
|
|
|
$(CYGWIN_CFLAGS)
|
|
|
|
|
|
|
|
termhelper_SOURCES = $(termhelper_sources)
|
|
|
|
termhelper_LDADD = $(CYGWIN_LDFLAGS) termhelper_res.res
|
|
|
|
|
|
|
|
termhelper_res.res: termhelper_res.rc
|
|
|
|
$(WINDRES) -i termhelper_res.rc --input-format=rc -o termhelper_res.res -O coff
|
|
|
|
|
|
|
|
endif CYGWIN_BUILD
|