ede/ede-panel/Jamfile

43 lines
1.1 KiB
Plaintext
Raw Normal View History

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 ;
2009-10-03 11:33:08 +04:00
# make it as library, so applets can use it too
ObjectC++Flags Netwm.cpp : -g3 -fPIC $(FLTKINCLUDE) $(EDELIBINCLUDE) ;
2009-10-03 11:33:08 +04:00
StaticLibrary libnetwm : Netwm.cpp ;
NETWMLIB = -L$(SUBDIR) -lnetwm ;
EdeProgram ede-panel : Panel.cpp AppletManager.cpp ede-panel.cpp ;
LinkAgainst ede-panel : $(NETWMLIB) ;
# also must use this flag or program will crash
LINKFLAGS on ede-panel = -rdynamic ;
rule PanelApplet
{
local target ;
# append default extension
target = $(<:S=$(SUFLIB_SHARED)) ;
Main $(target) : $(>) ;
ObjectC++Flags $(>) : -fPIC $(FLTKINCLUDE) -I [ FDirName $(TOP) ede-panel ] $(EDELIBINCLUDE) ;
2009-10-03 11:33:08 +04:00
LinkAgainst $(target) : $(NETWMLIB) $(3) $(EDELIBLIB) $(EDELIB_GUI_LIB) $(FLTKLIB) $(STDLIB) ;
2009-10-03 11:33:08 +04:00
LINKFLAGS on $(target) = -shared -rdynamic [ on $(target) return $(LINKFLAGS) ] ;
InstallProgram $(EDE_PANEL_APPLETS_DIR) : $(target) ;
2009-10-03 11:33:08 +04:00
Clean clean : $(target) ;
}
2009-10-03 11:49:30 +04:00
SubInclude TOP ede-panel applets ;