Lines 69-81
OCAMLLIBDIR=$(shell ocamlc -v | tail -1 | sed -e 's/.* //g' | tr '\\' '/' | tr -
Link Here
|
69 |
# User interface style: |
69 |
# User interface style: |
70 |
# Legal values are |
70 |
# Legal values are |
71 |
# UISTYLE=text |
71 |
# UISTYLE=text |
72 |
# UISTYLE=gtk |
|
|
73 |
# UISTYLE=gtk2 |
72 |
# UISTYLE=gtk2 |
74 |
# UISTYLE=mac |
73 |
# UISTYLE=mac |
75 |
# |
74 |
# |
76 |
# This should be set to an appropriate value automatically, depending |
75 |
# This should be set to an appropriate value automatically, depending |
77 |
# on whether the lablgtk library is available |
76 |
# on whether the lablgtk library is available |
78 |
LABLGTKLIB=$(OCAMLLIBDIR)/lablgtk |
|
|
79 |
LABLGTK2LIB=$(OCAMLLIBDIR)/lablgtk3 |
77 |
LABLGTK2LIB=$(OCAMLLIBDIR)/lablgtk3 |
80 |
##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well |
78 |
##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well |
81 |
## at the moment and we don't want to confuse people by building it by default |
79 |
## at the moment and we don't want to confuse people by building it by default |
Lines 262-274
endif
Link Here
|
262 |
# CFLAGS+=-cclib /subsystem:windows |
260 |
# CFLAGS+=-cclib /subsystem:windows |
263 |
# endif |
261 |
# endif |
264 |
|
262 |
|
265 |
# Gtk GUI |
|
|
266 |
ifeq ($(UISTYLE), gtk) |
267 |
CAMLFLAGS+=-I +lablgtk |
268 |
OCAMLOBJS+=pixmaps.cmo uigtk.cmo linkgtk.cmo |
269 |
OCAMLLIBS+=lablgtk.cma |
270 |
endif |
271 |
|
272 |
# Gtk2 GUI |
263 |
# Gtk2 GUI |
273 |
OCAMLFIND := $(shell command -v ocamlfind 2> /dev/null) |
264 |
OCAMLFIND := $(shell command -v ocamlfind 2> /dev/null) |
274 |
|
265 |
|