Code cleanup

This commit is contained in:
Pierre Pronchery 2020-02-03 08:04:32 +01:00
parent e3794aa528
commit ecfbf14a78
4 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,7 @@ subdirs=gtkdoc
targets=browser.1,browser.html,browser.xml,copy.1,copy.html,copy.xml,delete.1,delete.html,delete.xml,desktop.1,desktop.html,desktop.xml,desktopctl.1,desktopctl.html,desktopctl.xml,gtkdoc/Browser.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp,move.1,move.html,move.xml,open.1,open.html,open.xml,pinentry-sudo-askpass,properties.1,properties.html,properties.xml,view.1,view.html,view.xml,zenity-sudo-askpass
dist=Makefile,browser.css.xml,browser.xml.in,copy.css.xml,copy.xml.in,delete.css.xml,delete.xml.in,desktop.css.xml,desktop.xml.in,desktopctl.css.xml,desktopctl.xml.in,docbook.sh,manual.css.xml,mime.conf,move.css.xml,move.xml.in,open.css.xml,open.xml.in,pinentry-sudo-askpass.in,properties.css.xml,properties.xml.in,view.css.xml,view.xml.in,zenity-sudo-askpass.in
#targets
[browser.1]
type=script
script=./docbook.sh

View File

@ -6,6 +6,7 @@ ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,browser.h,callbacks.h,window.h
#targets
[browser]
type=binary
depends=$(OBJDIR)../lib/libBrowser.a
@ -13,6 +14,7 @@ sources=browser.c,callbacks.c,window.c,main.c
ldflags=-L$(OBJDIR)../lib -Wl,-rpath,$(LIBDIR) -lBrowser
install=$(BINDIR)
#sources
[browser.c]
depends=callbacks.h,../common.c,window.h,browser.h,../../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"

View File

@ -5,6 +5,7 @@ ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile
#targets
[libBrowser]
type=library
sources=vfs.c

View File

@ -5,10 +5,12 @@ ldflags_force=`pkg-config --libs libDesktop` -lintl -L$(OBJDIR)../lib -Wl,-rpath
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile
#targets
[browser]
type=plugin
sources=browser.c
install=$(LIBDIR)/Desktop/widget
#sources
[widget.c]
depends=../browser/browser.c,../browser/callbacks.c,../browser/window.c,../browser/browser.h,../browser/callbacks.h,../browser/window.h