hexchat/src/fe-gtk/Makefile.am

58 lines
1.9 KiB
Makefile
Raw Permalink Normal View History

include $(top_srcdir)/m4/clang-analyze.am
2011-02-23 22:14:30 -05:00
localedir = $(datadir)/locale
2012-07-13 12:04:00 -04:00
bin_PROGRAMS = hexchat
2011-02-23 22:14:30 -05:00
2013-04-03 01:35:42 -04:00
AM_CPPFLAGS = $(GUI_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
2011-02-23 22:14:30 -05:00
hexchat_LDADD = ../common/libhexchatcommon.a $(GUI_LIBS)
2011-02-23 22:14:30 -05:00
EXTRA_DIST = \
2013-08-03 07:08:40 -04:00
ascii.h banlist.h chanlist.h chanview.h chanview-tabs.c \
2011-02-23 22:14:30 -05:00
chanview-tree.c custom-list.h editlist.h fe-gtk.h fkeys.h gtkutil.h joind.h \
maingui.h menu.h notifygui.h notifications palette.h pixmaps.h plugin-notification.h \
2013-07-24 20:47:01 -04:00
plugin-tray.h plugingui.c plugingui.h rawlog.h sexy-iso-codes.h \
sexy-spell-entry.h textgui.h urlgrab.h userlistgui.h xtext.h \
../../data/hexchat.gresource.xml
2011-02-23 22:14:30 -05:00
BUILT_SOURCES = resources.c
CLEANFILES = $(BUILT_SOURCES)
2011-02-23 22:14:30 -05:00
if DO_PLUGIN
plugingui_c = plugingui.c
endif
if HAVE_ISO_CODES
iso_codes_c = sexy-iso-codes.c
endif
if USE_LIBNOTIFY
notify_c = notifications/notification-libnotify.c
else
2015-02-04 21:38:45 -05:00
if HAVE_GTK_MAC
notify_c = notifications/notification-osx.m
hexchat_LDFLAGS = -framework Foundation
else
notify_c = notifications/notification-dummy.c
endif
2015-02-04 21:38:45 -05:00
endif
2013-08-03 07:08:40 -04:00
hexchat_SOURCES = ascii.c banlist.c chanlist.c chanview.c custom-list.c \
2011-02-23 22:14:30 -05:00
dccgui.c editlist.c fe-gtk.c fkeys.c gtkutil.c ignoregui.c joind.c menu.c \
maingui.c notifygui.c $(notify_c) palette.c pixmaps.c plugin-tray.c $(plugingui_c) \
plugin-notification.c rawlog.c resources.c servlistgui.c setup.c $(iso_codes_c) \
sexy-spell-entry.c textgui.c urlgrab.c userlistgui.c xtext.c
hexchat_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/src/common
resources.c: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/data/hexchat.gresource.xml)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-source $<
if DO_STATIC_ANALYSIS
analyze_plists = $(hexchat_SOURCES:%.c=%.plist)
all-local: $(analyze_plists)
MOSTLYCLEANFILES = $(analyze_plists)
endif