summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: f1cabec649a7be843c97c62928fc489c4ea40968 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
INCLUDES =								\
	-I$(top_srcdir)							\
	-I$(includedir)							\
	$(YELP_CFLAGS)							\
	-DG_LOG_DOMAIN=\"Yelp\"						\
	-DPREFIX=\""$(prefix)"\"					\
	-DSYSCONFDIR=\""$(sysconfdir)"\"				\
	-DDATADIR=\""$(datadir)"\"					\
	-DLIBDIR=\""$(libdir)"\"					\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"

bin_PROGRAMS = yelp

yelp_SOURCES =								\
	$(gnome_yelp_idl_sources)					\
	yelp-base.c		yelp-base.h				\
	yelp-history.c		yelp-history.h				\
	yelp-html.c		yelp-html.h				\
	yelp-info.c		yelp-info.h				\
	yelp-main.c							\
	yelp-man.c		yelp-man.h				\
	yelp-section.c		yelp-section.h				\
	yelp-scrollkeeper.c	yelp-scrollkeeper.h			\
	yelp-util.c		yelp-util.h				\
	yelp-view-content.c	yelp-view-content.h			\
	yelp-view-home.c	yelp-view-home.h			\
	yelp-view-index.c	yelp-view-index.h			\
	yelp-window.c 		yelp-window.h

yelp_LDADD =								\
	$(YELP_LIBS)

gnome_yelp_idl_sources =						\
	GNOME_Yelp-stubs.c						\
	GNOME_Yelp-skels.c						\
	GNOME_Yelp.in							\
	GNOME_Yelp-common.c						\
	GNOME_Yelp.h

$(gnome_yelp_idl_sources): gnome_yelp_idl_stamp

gnome_yelp_idl_stamp: $(top_srcdir)/idl/GNOME_Yelp.idl $(ORBIT_IDL)
	$(ORBIT_IDL) $(YELP_IDL_INCLUDES) -I$(top_srcdir) $<
	touch $@

$(yelp_OBJECTS): gnome_yelp_idl_stamp

serverdir = $(libdir)/bonobo/servers
server_in_files = GNOME_Yelp.server.in
server_DATA = $(server_in_files:.server.in=.server)

@INTLTOOL_SERVER_RULE@

CLEANFILES =								\
	$(gnome_yelp_idl_sources)					\
	gnome_yelp_idl_stamp						\
	GNOME_Yelp.server

EXTRA_DIST =								\
	$(server_in_files)						\
	$(server_DATA)

BUILT_SOURCES =								\
	$(gnome_yelp_idl_sources)