2009-10-03 11:33:08 +04:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Part of Equinox Desktop Environment (EDE).
|
|
|
|
# Copyright (c) 2009 EDE Authors.
|
|
|
|
#
|
|
|
|
# This program is licensed under terms of the
|
|
|
|
# GNU General Public License version 2 or newer.
|
|
|
|
# See COPYING for details.
|
|
|
|
|
2009-10-03 11:49:30 +04:00
|
|
|
SubDir TOP ede-panel applets start-menu ;
|
2009-10-03 11:33:08 +04:00
|
|
|
|
|
|
|
MENU_SRC = XdgMenuReader.cpp DesktopEntry.cpp MenuRules.cpp ;
|
|
|
|
|
2012-12-27 19:34:59 +04:00
|
|
|
if $(MENU_TESTS) {
|
|
|
|
Library libmenu : $(MENU_SRC) ;
|
|
|
|
ObjectC++Flags $(MENU_SRC) : -fPIC $(FLTKINCLUDE) -I [ FDirName $(TOP) ede-panel ] $(EDELIBINCLUDE) ;
|
|
|
|
|
|
|
|
PanelApplet start_menu : StartMenu.cpp : -L$(SUBDIR) -lmenu ;
|
2009-10-03 11:33:08 +04:00
|
|
|
|
2012-12-27 19:34:59 +04:00
|
|
|
EdeProgram ede-menu-spec-test : ede-menu-spec-test.cpp ;
|
|
|
|
LinkAgainstAsFirst ede-menu-spec-test : -L$(SUBDIR) -lmenu ;
|
|
|
|
} else {
|
|
|
|
PanelApplet start_menu : StartMenu.cpp $(MENU_SRC) ;
|
|
|
|
}
|