fix group-name on netbsd
[factor/jcg.git] / vm / Config.macosx
blobe5aac32b54535ef41642f6ccb57afba9a4ab5bf9
1 include vm/Config.unix
2 CFLAGS += -fPIC
4 PLAF_DLL_OBJS += vm/os-macosx.o vm/mach_signal.o
6 DLL_EXTENSION = .dylib
8 ifdef X11
9         LIBS = -lm -framework Cocoa $(X11_UI_LIBS) -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
10 else
11     LIBS = -lm -framework Cocoa -framework AppKit
12 endif
14 LINKER = gcc $(CFLAGS) -dynamiclib -single_module -std=gnu99 \
15         -current_version $(VERSION) \
16         -compatibility_version $(VERSION) \
17         -fvisibility=hidden \
18         $(LIBS) $(LIBPATH) -o
20 LINK_WITH_ENGINE = -lfactor