File: Makefile.am

package info (click to toggle)
bonobo 1.0.22-2.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,412 kB
  • ctags: 5,445
  • sloc: ansic: 51,714; sh: 7,733; makefile: 1,425; yacc: 318; xml: 266; sed: 16
file content (59 lines) | stat: -rw-r--r-- 1,782 bytes parent folder | download
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
NULL=

SUBDIRS = m4  \
	macros 			\
	idl 				\
	libefs 				\
	bonobo storage-modules 		\
	monikers			\
	components samples	 	\
	gshell				\
	tests doc po

confexecdir = $(libdir)
confexec_DATA = bonoboConf.sh bonoboxConf.sh bonobox_printConf.sh

bonoboincludedir=$(includedir)/gnome-1.0
bonoboinclude_HEADERS = \
	bonobo.h

EXTRA_DIST = config.rpath 					\
	bonoboConf.sh.in			\
	bonoboxConf.sh.in			\
	bonobox_printConf.sh.in			\
	bonobo.spec.in				\
	xml-i18n-extract.in			\
	xml-i18n-merge.in			\
	xml-i18n-update.in			\
	$(NULL)

bonoboConf.sh: $(top_srcdir)/bonoboConf.sh.in Makefile
	sed -e 's?\@BONOBO_LIBDIR\@?$(BONOBO_LIBDIR)?g' \
	    -e 's?\@BONOBO_INCLUDEDIR\@?$(BONOBO_INCLUDEDIR)?g' \
	    -e 's?\@VERSION\@?$(VERSION)?g' \
	    -e 's?\@BONOBO_LIBS\@?$(BONOBO_LIBS)?g' \
	      < $(top_srcdir)/bonoboConf.sh.in > bonoboConf.tmp \
	  && mv bonoboConf.tmp bonoboConf.sh

bonoboxConf.sh: $(top_srcdir)/bonoboxConf.sh.in Makefile
	sed -e 's?\@BONOBO_LIBDIR\@?$(BONOBO_LIBDIR)?g' \
	    -e 's?\@BONOBO_INCLUDEDIR\@?$(BONOBO_INCLUDEDIR)?g' \
	    -e 's?\@VERSION\@?$(VERSION)?g' \
	    -e 's?\@BONOBOX_LIBS\@?$(BONOBOX_LIBS)?g' \
	      < $(top_srcdir)/bonoboxConf.sh.in > bonoboxConf.tmp \
	  && mv bonoboxConf.tmp bonoboxConf.sh

bonobox_printConf.sh: $(top_srcdir)/bonobox_printConf.sh.in Makefile
	sed -e 's?\@BONOBO_LIBDIR\@?$(BONOBO_LIBDIR)?g' \
	    -e 's?\@BONOBO_INCLUDEDIR\@?$(BONOBO_INCLUDEDIR)?g' \
	    -e 's?\@VERSION\@?$(VERSION)?g' \
	    -e 's?\@BONOBOX_PRINT_LIBS\@?$(BONOBOX_PRINT_LIBS)?g' \
	      < $(top_srcdir)/bonobox_printConf.sh.in > bonobox_printConf.tmp \
	  && mv bonobox_printConf.tmp bonobox_printConf.sh

dist-hook: bonobo.spec
	cp bonobo.spec $(distdir)

CLEANFILES=bonoboConf.sh bonoboxConf.sh bonobox_printConf.sh

ACLOCAL_AMFLAGS = -I m4