1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 16:03:03 +01:00
toxic/build/Makefile.am

61 lines
1.9 KiB
Makefile
Raw Permalink Normal View History

2013-11-16 11:32:13 +01:00
#Don't change this unless needed, else you'll break stuff
bin_PROGRAMS = toxic
toxic_SOURCES = $(top_srcdir)/src/main.c \
$(top_srcdir)/src/chat.h \
$(top_srcdir)/src/chat.c \
$(top_srcdir)/src/configdir.h \
$(top_srcdir)/src/configdir.c \
$(top_srcdir)/src/prompt.h \
$(top_srcdir)/src/prompt.c \
$(top_srcdir)/src/friendlist.h \
$(top_srcdir)/src/friendlist.c \
$(top_srcdir)/src/toxic_windows.h \
2013-09-16 00:16:41 +02:00
$(top_srcdir)/src/windows.c \
$(top_srcdir)/src/groupchat.c \
2013-09-19 23:04:46 +02:00
$(top_srcdir)/src/groupchat.h \
2013-11-10 03:58:44 +01:00
$(top_srcdir)/src/global_commands.c \
2013-11-16 03:39:14 +01:00
$(top_srcdir)/src/global_commands.h \
2013-11-10 03:58:44 +01:00
$(top_srcdir)/src/chat_commands.c \
2013-11-16 03:39:14 +01:00
$(top_srcdir)/src/chat_commands.h \
2013-11-10 03:58:44 +01:00
$(top_srcdir)/src/execute.c \
$(top_srcdir)/src/execute.h \
$(top_srcdir)/src/misc_tools.c \
2013-12-10 09:03:45 +01:00
$(top_srcdir)/src/misc_tools.h \
$(top_srcdir)/src/toxic_strings.c \
2014-02-26 09:51:26 +01:00
$(top_srcdir)/src/toxic_strings.h \
$(top_srcdir)/src/log.c \
$(top_srcdir)/src/log.h \
$(top_srcdir)/src/file_senders.c \
$(top_srcdir)/src/file_senders.h
2013-11-16 03:48:54 +01:00
toxic_CFLAGS = -I$(top_srcdir) \
$(NCURSES_CFLAGS) \
$(LIBSODIUM_CFLAGS) \
$(LIBTOXCORE_CFLAGS)
toxic_CPPFLAGS = '-DTOXICVER="$(TOXIC_VERSION)"'
toxic_LDADD = $(LIBTOXCORE_LDFLAGS) \
$(LIBSODIUM_LDFLAGS) \
$(NCURSES_LIBS) \
$(LIBTOXCORE_LIBS) \
$(LIBSODIUM_LIBS) \
$(WINSOCK2_LIBS)
2014-02-22 23:58:36 +01:00
# For audio support
if BUILD_AV
2014-03-07 03:14:04 +01:00
2014-02-22 23:58:36 +01:00
toxic_SOURCES += $(top_srcdir)/src/audio_call.c \
$(top_srcdir)/src/audio_call.h
2014-03-07 03:14:04 +01:00
toxic_CFLAGS += $(LIBTOXAV_CFLAGS) \
$(OPENAL_CFLAGS)
toxic_LDADD += $(LIBTOXAV_LIBS) \
$(OPENAL_LIBS)
2014-03-07 03:27:48 +01:00
endif