1 | INCLUDES = \ |
---|
2 | -I$(top_srcdir) \ |
---|
3 | @YELP_CFLAGS@ \ |
---|
4 | -DG_LOG_DOMAIN=\"Yelp\" \ |
---|
5 | -DPREFIX=\""$(prefix)"\" \ |
---|
6 | -DSYSCONFDIR=\""$(sysconfdir)"\" \ |
---|
7 | -DDATADIR=\""$(datadir)"\" \ |
---|
8 | -DLIBDIR=\""$(libdir)"\" \ |
---|
9 | -DIMAGEDIR=\""$(datadir)/images/yelp"\" \ |
---|
10 | -DGNOMELOCALEDIR=\""$(yelplocaledir)"\" \ |
---|
11 | -DLIBGNOME_MAN2HTML=\"$(LIBGNOME_MAN2HTML)\" \ |
---|
12 | -DLIBGNOME_INFO2HTML=\"$(LIBGNOME_INFO2HTML)\" \ |
---|
13 | -DSERVERDIR=\"$(libexecdir)\" |
---|
14 | |
---|
15 | |
---|
16 | if HTML_WIDGET_GTKHTML1 |
---|
17 | html_widget_impl=yelp-html-gtkhtml1.c |
---|
18 | else |
---|
19 | html_widget_impl=yelp-html-gtkhtml2.c |
---|
20 | endif |
---|
21 | |
---|
22 | libexec_PROGRAMS = yelp-db2html |
---|
23 | bin_PROGRAMS = yelp |
---|
24 | |
---|
25 | noinst_PROGRAMS = test-uri test-reader |
---|
26 | |
---|
27 | test_uri_SOURCES = \ |
---|
28 | test-uri.c \ |
---|
29 | yelp-uri.c yelp-uri.h \ |
---|
30 | yelp-error.c yelp-error.h \ |
---|
31 | yelp-util.c yelp-util.h |
---|
32 | |
---|
33 | test_uri_LDADD = \ |
---|
34 | @YELP_LIBS@ |
---|
35 | |
---|
36 | test_reader_SOURCES = \ |
---|
37 | test-reader.c \ |
---|
38 | yelp-uri.c yelp-uri.h \ |
---|
39 | yelp-cache.c yelp-cache.h \ |
---|
40 | yelp-reader.c yelp-reader.h \ |
---|
41 | yelp-error.c yelp-error.h \ |
---|
42 | yelp-util.c yelp-util.h \ |
---|
43 | yelp-marshal-main.c |
---|
44 | |
---|
45 | test_reader_LDADD = \ |
---|
46 | @YELP_LIBS@ |
---|
47 | |
---|
48 | install-exec-local: |
---|
49 | rm -f $(DESTDIR)$(bindir)/gnome-help |
---|
50 | ln -s yelp $(DESTDIR)$(bindir)/gnome-help |
---|
51 | |
---|
52 | yelp-marshal.h: yelp-marshal.list |
---|
53 | cd $(srcdir) && \ |
---|
54 | ( @GLIB_GENMARSHAL@ --prefix=yelp_marshal yelp-marshal.list --header > yelp-marshal1.tmp \ |
---|
55 | && mv yelp-marshal1.tmp yelp-marshal.h ) \ |
---|
56 | || ( rm -f yelp-marshal1.tmp && exit 1 ) |
---|
57 | |
---|
58 | yelp-marshal.c: yelp-marshal.h |
---|
59 | cd $(srcdir) && \ |
---|
60 | ( @GLIB_GENMARSHAL@ --prefix=yelp_marshal yelp-marshal.list --body > yelp-marshal2.tmp \ |
---|
61 | && mv yelp-marshal2.tmp yelp-marshal.c ) \ |
---|
62 | || ( rm -f yelp-marshal2.tmp && exit 1 ) |
---|
63 | |
---|
64 | yelp-marshal-main.c: yelp-marshal.c |
---|
65 | |
---|
66 | yelp_db2html_SOURCES = \ |
---|
67 | yelp-db2html.c |
---|
68 | |
---|
69 | yelp_db2html_LDADD = \ |
---|
70 | @DB2HTML_LIBS@ |
---|
71 | |
---|
72 | yelp_SOURCES = \ |
---|
73 | $(gnome_yelp_idl_sources) \ |
---|
74 | yelp-base.c yelp-base.h \ |
---|
75 | yelp-cache.c yelp-cache.h \ |
---|
76 | yelp-error.c yelp-error.h \ |
---|
77 | yelp-history.c yelp-history.h \ |
---|
78 | $(html_widget_impl) yelp-html.h \ |
---|
79 | yelp-index-model.c yelp-index-model.h \ |
---|
80 | yelp-info.c yelp-info.h \ |
---|
81 | yelp-main.c \ |
---|
82 | yelp-man.c yelp-man.h \ |
---|
83 | yelp-marshal-main.c \ |
---|
84 | yelp-reader.c yelp-reader.h \ |
---|
85 | yelp-section.c yelp-section.h \ |
---|
86 | yelp-scrollkeeper.c yelp-scrollkeeper.h \ |
---|
87 | yelp-util.c yelp-util.h \ |
---|
88 | yelp-view-content.c yelp-view-content.h \ |
---|
89 | yelp-view-index.c yelp-view-index.h \ |
---|
90 | yelp-view-toc.c yelp-view-toc.h \ |
---|
91 | yelp-window.c yelp-window.h \ |
---|
92 | yelp-uri.c yelp-uri.h |
---|
93 | |
---|
94 | yelp_LDADD = \ |
---|
95 | @YELP_LIBS@ \ |
---|
96 | @HTML_WIDGET_LIBS@ \ |
---|
97 | $(POPT_LIBS) |
---|
98 | |
---|
99 | gnome_yelp_idl_sources = \ |
---|
100 | GNOME_Yelp-stubs.c \ |
---|
101 | GNOME_Yelp-skels.c \ |
---|
102 | GNOME_Yelp.in \ |
---|
103 | GNOME_Yelp-common.c \ |
---|
104 | GNOME_Yelp.h |
---|
105 | |
---|
106 | $(gnome_yelp_idl_sources): gnome_yelp_idl_stamp |
---|
107 | |
---|
108 | gnome_yelp_idl_stamp: $(top_srcdir)/idl/GNOME_Yelp.idl $(ORBIT_IDL) |
---|
109 | $(ORBIT_IDL) $(YELP_IDL_INCLUDES) -I$(top_srcdir) $< |
---|
110 | touch $@ |
---|
111 | |
---|
112 | $(yelp_OBJECTS): yelp-marshal.h gnome_yelp_idl_stamp |
---|
113 | |
---|
114 | serverdir = $(libdir)/bonobo/servers |
---|
115 | server_in_files = GNOME_Yelp.server.in |
---|
116 | server_DATA = $(server_in_files:.server.in=.server) |
---|
117 | |
---|
118 | @INTLTOOL_SERVER_RULE@ |
---|
119 | |
---|
120 | CLEANFILES = \ |
---|
121 | $(gnome_yelp_idl_sources) \ |
---|
122 | gnome_yelp_idl_stamp \ |
---|
123 | GNOME_Yelp.server |
---|
124 | |
---|
125 | EXTRA_DIST = \ |
---|
126 | yelp-marshal.list \ |
---|
127 | $(server_in_files) \ |
---|
128 | $(server_DATA) |
---|