Lines 66-78
OCAMLLIBDIR=$(shell ocamlc -v | tail -1 | sed -e 's/.* //g' | tr '\\' '/' | tr -
Link Here
|
66 |
# User interface style: |
66 |
# User interface style: |
67 |
# Legal values are |
67 |
# Legal values are |
68 |
# UISTYLE=text |
68 |
# UISTYLE=text |
69 |
# UISTYLE=gtk |
|
|
70 |
# UISTYLE=gtk2 |
69 |
# UISTYLE=gtk2 |
71 |
# UISTYLE=mac |
70 |
# UISTYLE=mac |
72 |
# |
71 |
# |
73 |
# This should be set to an appropriate value automatically, depending |
72 |
# This should be set to an appropriate value automatically, depending |
74 |
# on whether the lablgtk library is available |
73 |
# on whether the lablgtk library is available |
75 |
LABLGTKLIB=$(OCAMLLIBDIR)/lablgtk |
|
|
76 |
LABLGTK2LIB=$(OCAMLLIBDIR)/lablgtk3 |
74 |
LABLGTK2LIB=$(OCAMLLIBDIR)/lablgtk3 |
77 |
##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well |
75 |
##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well |
78 |
## at the moment and we don't want to confuse people by building it by default |
76 |
## at the moment and we don't want to confuse people by building it by default |
Lines 282-294
ifeq ($(OSARCH), win32)
Link Here
|
282 |
endif |
280 |
endif |
283 |
endif |
281 |
endif |
284 |
|
282 |
|
285 |
# Gtk GUI |
|
|
286 |
ifeq ($(UISTYLE), gtk) |
287 |
CAMLFLAGS+=-I +lablgtk |
288 |
OCAMLOBJS+=pixmaps.cmo uigtk.cmo linkgtk.cmo |
289 |
OCAMLLIBS+=lablgtk.cma |
290 |
endif |
291 |
|
292 |
# Gtk2 GUI |
283 |
# Gtk2 GUI |
293 |
OCAMLFIND := $(shell command -v ocamlfind 2> /dev/null) |
284 |
OCAMLFIND := $(shell command -v ocamlfind 2> /dev/null) |
294 |
|
285 |
|