Browser

targets=backup,cvs,dirtree,favorites,git,make,places,preview,properties,selection,subversion,template,trash,undelete,volumes
cppflags_force=-I../../include
cflags_force=`pkg-config --cflags libDesktop` -fPIC
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libDesktop`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,common.c
#modes
[mode::embedded-debug]
cppflags_force=-DEMBEDDED
[mode::embedded-release]
cppflags_force=-DEMBEDDED -DNDEBUG
cflags=-W -Wall -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
[mode::release]
cppflags_force=-DNDEBUG
cflags=-W -Wall -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
#targets
[backup]
type=plugin
sources=backup.c
[cvs]
type=plugin
sources=cvs.c
install=$(LIBDIR)/Browser/plugins
[dirtree]
type=plugin
sources=dirtree.c
ldflags=-L$(OBJDIR)../lib -Wl,-rpath,$(LIBDIR) -lBrowser
install=$(LIBDIR)/Browser/plugins
[favorites]
type=plugin
sources=favorites.c
ldflags=-L$(OBJDIR)../lib -Wl,-rpath,$(LIBDIR) -lBrowser
install=$(LIBDIR)/Browser/plugins
[git]
type=plugin
sources=git.c
install=$(LIBDIR)/Browser/plugins
[make]
type=plugin
sources=make.c
install=$(LIBDIR)/Browser/plugins
[places]
type=plugin
sources=places.c
install=$(LIBDIR)/Browser/plugins
[preview]
type=plugin
sources=preview.c
install=$(LIBDIR)/Browser/plugins
[properties]
type=plugin
sources=properties.c
install=$(LIBDIR)/Browser/plugins
[selection]
type=plugin
sources=selection.c
install=$(LIBDIR)/Browser/plugins
[subversion]
type=plugin
sources=subversion.c
install=$(LIBDIR)/Browser/plugins
[template]
type=plugin
sources=template.c
[trash]
type=plugin
sources=trash.c
install=$(LIBDIR)/Browser/plugins
[undelete]
type=plugin
sources=undelete.c
[volumes]
type=plugin
sources=volumes.c
ldflags=-L$(OBJDIR)../lib -Wl,-rpath,$(LIBDIR) -lBrowser
install=$(LIBDIR)/Browser/plugins
#sources
[backup.c]
depends=trash.c,../../include/Browser.h
[cvs.c]
depends=common.c,../../include/Browser.h
[dirtree.c]
depends=../../include/Browser.h
[favorites.c]
depends=../../include/Browser.h
[git.c]
depends=common.c,../../include/Browser.h
[make.c]
depends=common.c,../../include/Browser.h
[places.c]
depends=../../include/Browser.h
[preview.c]
depends=../../include/Browser.h
[properties.c]
depends=../../include/Browser.h
[selection.c]
depends=../../include/Browser.h,../common.c
[subversion.c]
depends=common.c,../../include/Browser.h
[template.c]
depends=../../include/Browser.h
[trash.c]
depends=../../include/Browser.h
[undelete.c]
depends=../../include/Browser.h
[volumes.c]
depends=../../include/Browser.h