mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[build] check gnomecanvas package before compiling legacy GCS (#3422)
This module is not supported with the custon lablgtk2 for 24.04
This commit is contained in:
committed by
GitHub
parent
cdae9fa77b
commit
c1fffe906a
@@ -47,6 +47,7 @@ LABLGTK2INIT = $(shell ocamlfind query -p-format lablgtk2.auto-init 2>/dev/null)
|
||||
endif
|
||||
|
||||
LABLGTK2GLADE = $(shell ocamlfind query -p-format lablgtk2.glade 2>/dev/null)
|
||||
LABLGTK2CANVAS = $(shell ocamlfind query -p-format lablgtk2-gnome.gnomecanvas 2>/dev/null)
|
||||
|
||||
ML= gtk_setting_time.ml gtk_strip.ml horizon.ml strip.ml gtk_save_settings.ml saveSettings.ml page_settings.ml pages.ml speech.ml plugin.ml sectors.ml map2d.ml editFP.ml intruders.ml shapes.ml live.ml particules.ml papgets.ml gcs.ml
|
||||
MAIN=gcs
|
||||
@@ -71,6 +72,16 @@ all :
|
||||
opt :
|
||||
@echo Skipping legacy GCS.opt build \(missing lablgtk2.glade\)
|
||||
|
||||
else
|
||||
|
||||
ifeq ($(LABLGTK2CANVAS),)
|
||||
|
||||
all :
|
||||
@echo Skipping legacy GCS build \(missing lablgtk2-gnome.gnomecanvas\)
|
||||
|
||||
opt :
|
||||
@echo Skipping legacy GCS.opt build \(missing lablgtk2-gnome.gnomecanvas\)
|
||||
|
||||
else
|
||||
all : $(MAIN)
|
||||
|
||||
@@ -79,6 +90,7 @@ opt : $(MAIN).opt
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
gcslib :
|
||||
$(Q)$(MAKE) -C lib
|
||||
|
||||
Reference in New Issue
Block a user