1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-24 17:23:25 +01:00
toxic/cfg/systems/Darwin.mk

19 lines
820 B
Makefile
Raw Normal View History

# Special options for OS X
# This assumes the use of Homebrew. Change the paths if using MacPorts or Fink.
PKG_CONFIG_PATH = $(shell export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/opt/libconfig/lib/pkgconfig:/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig)
LIBS := $(filter-out ncursesw, $(LIBS))
# OS X ships a usable, recent version of ncurses, but calls it ncurses not ncursesw.
LDFLAGS += -lncurses -lalut -ltoxav -ltoxcore -lcurl -lconfig -ltoxencryptsave -g
CFLAGS += -I/usr/local/opt/freealut/include/AL -I/usr/local/opt/glib/include/glib-2.0 -g
2015-08-20 13:39:47 +02:00
OSX_LIBRARIES = -lobjc -lresolv
OSX_FRAMEWORKS = -framework Foundation -framework CoreFoundation -framework AVFoundation \
2015-08-20 21:23:01 +02:00
-framework QuartzCore -framework CoreMedia
2015-08-20 13:39:47 +02:00
OSX_VIDEO = osx_video.m
LDFLAGS += $(OSX_LIBRARIES) $(OSX_FRAMEWORKS)
2015-11-02 21:22:52 +01:00
OBJ += osx_video.o