summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5980e19c5dbf285aea199d2d8d720220c2f059b5 (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
CFLAGS = -Wall -g
CPPFLAGS = $(shell pkg-config --cflags gtk+-2.0 cairo gconf-2.0)
LDLIBS = $(shell pkg-config --libs gtk+-2.0 cairo gconf-2.0)
LDFLAGS = -g
GCONFTOOL = gconftool-2

targets = akamaru dock
schemas = kiba.schemas
akamaru_objs = main.o akamaru.o
dock_objs = dock.o akamaru.o
objs = $(akamaru_objs) $(dock_objs)

all : $(targets)

akamaru : $(akamaru_objs)

dock : $(dock_objs)

$(objs) : akamaru.h

install-schemas :
	GCONF_CONFIG_SOURCE=$(GCONF_CONFIG_SOURCE) \
		$(GCONFTOOL) --makefile-install-rule $(schemas)

uninstall-schemas : gconf-clean
	GCONF_CONFIG_SOURCE=$(GCONF_CONFIG_SOURCE) \
		$(GCONFTOOL) --makefile-uninstall-rule $(schemas)

gconf-clean :
	$(GCONFTOOL) --recursive-unset /apps/kiba

clean :
	rm -f $(targets) $(objs)