summaryrefslogtreecommitdiffstats
path: root/gtk/Jamfile
blob: 2d731247802b79e4836d788440d07932b9816f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SubDir TOP gtk ;

#rule GhbConfig
#{
#	Depends $(SUBDIR)/ghb : $(1) ;
#}
#actions GhbConfig
#{
#	cd `dirname $(1)` &&
#	./configure --prefix=/usr
#}
#GhbConfig $(SUBDIR)/config.h : $(SUBDIR)/configure ;

rule GhbApp
{
	Depends all : $(1) ;
}
actions GhbApp
{
	cd `dirname $(1)` &&
	$(MAKE)
}
GhbApp $(SUBDIR)/ghb : libhb.a $(SUBDIR)/config.h ;

rule GhbClean
{
	Depends clean : $(1) ;
}
actions GhbClean
{
	cd $(2) &&
	$(MAKE) clean
}
GhbClean clean_dummy : $(SUBDIR) ;

rule GhbInstall
{
	Depends install : $(1) ;
}
actions GhbInstall
{
	cd $(2) &&
	$(MAKE) install
}
GhbInstall install_dummy : $(SUBDIR) ;