mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
edd5ab3215
cross compiling for windows.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
if BUILD_AV
|
|
|
|
lib_LTLIBRARIES += libtoxav.la
|
|
libtoxav_la_include_HEADERS = ../toxav/toxav.h
|
|
libtoxav_la_includedir = $(includedir)/tox
|
|
|
|
libtoxav_la_SOURCES = ../toxav/event.h \
|
|
../toxav/event.c \
|
|
../toxav/rtp.h \
|
|
../toxav/rtp.c \
|
|
../toxav/msi.h \
|
|
../toxav/msi.c \
|
|
../toxav/media.h \
|
|
../toxav/media.c \
|
|
../toxav/toxav.h \
|
|
../toxav/toxav.c
|
|
|
|
|
|
libtoxav_la_CFLAGS = -I../toxcore \
|
|
-I../toxav \
|
|
$(LIBSODIUM_CFLAGS) \
|
|
$(NACL_CFLAGS) \
|
|
$(AV_CFLAGS) \
|
|
$(PTHREAD_CFLAGS)
|
|
|
|
libtoxav_la_LDFLAGS = $(TOXAV_LT_LDFLAGS) \
|
|
$(LIBSODIUM_LDFLAGS) \
|
|
$(NACL_LDFLAGS) \
|
|
$(EXTRA_LT_LDFLAGS) \
|
|
$(WINSOCK2_LIBS)
|
|
|
|
libtoxav_la_LIBADD = libtoxcore.la \
|
|
$(LIBSODIUM_LIBS) \
|
|
$(NACL_LIBS) \
|
|
$(PTHREAD_LIBS) \
|
|
$(AV_LIBS)
|
|
|
|
endif |