Code cleanup
This commit is contained in:
parent
e94f74a282
commit
5203dd4d43
|
@ -2,6 +2,7 @@ subdirs=gtkdoc
|
||||||
targets=gtkdoc/libDesktop.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp,widget.1,widget.html,widget.xml
|
targets=gtkdoc/libDesktop.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp,widget.1,widget.html,widget.xml
|
||||||
dist=Makefile,docbook.sh,gtkdoc.sh,manual.css.xml,widget.css.xml,widget.xml.in
|
dist=Makefile,docbook.sh,gtkdoc.sh,manual.css.xml,widget.css.xml,widget.xml.in
|
||||||
|
|
||||||
|
#targets
|
||||||
[gtkdoc/libDesktop.types]
|
[gtkdoc/libDesktop.types]
|
||||||
type=script
|
type=script
|
||||||
script=./gtkdoc.sh
|
script=./gtkdoc.sh
|
||||||
|
|
|
@ -10,11 +10,13 @@ ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0`
|
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0`
|
||||||
dist=Makefile
|
dist=Makefile
|
||||||
|
|
||||||
|
#targets
|
||||||
[libDesktop]
|
[libDesktop]
|
||||||
type=library
|
type=library
|
||||||
sources=about.c,accel.c,compat.c,help.c,menubar.c,message.c,mime.c,mimehandler.c,toolbar.c,widget.c
|
sources=about.c,accel.c,compat.c,help.c,menubar.c,message.c,mime.c,mimehandler.c,toolbar.c,widget.c
|
||||||
install=$(PREFIX)/lib
|
install=$(PREFIX)/lib
|
||||||
|
|
||||||
|
#sources
|
||||||
[help.c]
|
[help.c]
|
||||||
depends=../config.h
|
depends=../config.h
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.
|
||||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a
|
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a
|
||||||
dist=Makefile,applications/Root.desktop,applications/Widget.desktop,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
|
dist=Makefile,applications/Root.desktop,applications/Widget.desktop,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
|
||||||
|
|
||||||
|
#targets
|
||||||
[fixme.log]
|
[fixme.log]
|
||||||
type=script
|
type=script
|
||||||
script=./fixme.sh
|
script=./fixme.sh
|
||||||
|
@ -24,17 +25,11 @@ depends=htmllint.sh
|
||||||
type=binary
|
type=binary
|
||||||
sources=mime.c
|
sources=mime.c
|
||||||
|
|
||||||
[mime.c]
|
|
||||||
depends=$(OBJDIR)../src/libDesktop.a
|
|
||||||
|
|
||||||
[mimehandler]
|
[mimehandler]
|
||||||
type=binary
|
type=binary
|
||||||
sources=mimehandler.c
|
sources=mimehandler.c
|
||||||
depends=applications/Root.desktop,applications/Widget.desktop
|
depends=applications/Root.desktop,applications/Widget.desktop
|
||||||
|
|
||||||
[mimehandler.c]
|
|
||||||
depends=$(OBJDIR)../src/libDesktop.a
|
|
||||||
|
|
||||||
[tests.log]
|
[tests.log]
|
||||||
type=script
|
type=script
|
||||||
script=./tests.sh
|
script=./tests.sh
|
||||||
|
@ -44,10 +39,17 @@ depends=$(OBJDIR)mime$(EXEEXT),$(OBJDIR)mimehandler$(EXEEXT),pkgconfig.sh,tests.
|
||||||
type=binary
|
type=binary
|
||||||
sources=widget.c
|
sources=widget.c
|
||||||
|
|
||||||
[widget.c]
|
|
||||||
depends=$(OBJDIR)../src/libDesktop.a
|
|
||||||
|
|
||||||
[xmllint.log]
|
[xmllint.log]
|
||||||
type=script
|
type=script
|
||||||
script=./xmllint.sh
|
script=./xmllint.sh
|
||||||
depends=xmllint.sh
|
depends=xmllint.sh
|
||||||
|
|
||||||
|
#sources
|
||||||
|
[mime.c]
|
||||||
|
depends=$(OBJDIR)../src/libDesktop.a
|
||||||
|
|
||||||
|
[mimehandler.c]
|
||||||
|
depends=$(OBJDIR)../src/libDesktop.a
|
||||||
|
|
||||||
|
[widget.c]
|
||||||
|
depends=$(OBJDIR)../src/libDesktop.a
|
||||||
|
|
|
@ -10,10 +10,12 @@ ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -L $(OBJDIR)../src -lDeskto
|
||||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -L $(OBJDIR)../src -lDesktop
|
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -L $(OBJDIR)../src -lDesktop
|
||||||
dist=Makefile,subst.sh
|
dist=Makefile,subst.sh
|
||||||
|
|
||||||
|
#targets
|
||||||
[widget]
|
[widget]
|
||||||
type=binary
|
type=binary
|
||||||
sources=widget.c
|
sources=widget.c
|
||||||
install=$(BINDIR)
|
install=$(BINDIR)
|
||||||
|
|
||||||
|
#sources
|
||||||
[widget.c]
|
[widget.c]
|
||||||
depends=$(OBJDIR)../src/libDesktop.a
|
depends=$(OBJDIR)../src/libDesktop.a
|
||||||
|
|
Loading…
Reference in New Issue
Block a user