summary refs log tree commit diff stats
path: root/src/fe-gtk/Makefile.am
blob: 9ae2d084a83a6fb5fdd6cb410c177f6fa3d33bad (plain) (blame)
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
localedir = $(datadir)/locale

bin_PROGRAMS = hexchat

AM_CPPFLAGS = $(GUI_CFLAGS) -DLOCALEDIR=\"$(localedir)\"

hexchat_LDADD = ../common/libhexchatcommon.a $(GUI_LIBS)

EXTRA_DIST = \
	ascii.h banlist.h chanlist.h chanview.h chanview-tabs.c \
	chanview-tree.c custom-list.h editlist.h fe-gtk.h fkeys.h gtkutil.h joind.h \
	maingui.h menu.h notifygui.h palette.h pixmaps.h \
	plugin-tray.h plugingui.c plugingui.h rawlog.h sexy-iso-codes.h \
	sexy-spell-entry.h sexy-marshal.h textgui.h urlgrab.h userlistgui.h xtext.h \
	../../data/hexchat.gresource.xml

if DO_PLUGIN
plugingui_c = plugingui.c
endif

if USE_LIBSEXY
sexy_spell = \
	sexy-iso-codes.c sexy-marshal.c sexy-spell-entry.c
endif

hexchat_SOURCES = ascii.c banlist.c chanlist.c chanview.c custom-list.c \
	dccgui.c editlist.c fe-gtk.c fkeys.c gtkutil.c ignoregui.c joind.c menu.c \
	maingui.c notifygui.c palette.c pixmaps.c plugin-tray.c $(plugingui_c) \
	rawlog.c resources.c servlistgui.c setup.c $(sexy_spell) textgui.c \
	urlgrab.c userlistgui.c xtext.c

resources.c: ../../data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=../../data --generate-dependencies ../../data/hexchat.gresource.xml)
	$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=../../data --generate-source $<