File: Makefile.am

package info (click to toggle)
gnumeric 1.4.3-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 71,576 kB
  • ctags: 28,555
  • sloc: ansic: 282,333; xml: 45,788; sh: 8,479; makefile: 3,119; yacc: 1,129; lisp: 200; perl: 173; python: 86
file content (43 lines) | stat: -rw-r--r-- 1,162 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
INCLUDES = \
    -DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
    -I$(top_srcdir)/src	-I$(top_builddir)/src	\
    $(GNUMERIC_CFLAGS)

gnumeric_plugin_corbadir = $(gnumeric_plugindir)/corba
xmldir = $(gnumeric_plugin_corbadir)
gnumeric_plugin_corba_LTLIBRARIES = corba.la
corba_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
corba_la_SOURCES = $(GNUMERIC_GENERATED)	\
	corba-application.c 			\
	corba-workbook.c 			\
	corba-workbook.h 			\
	corba-sheet.c 				\
	corba-sheet.h

GNUMERIC_GENERATED = 		\
	GNOME_Gnumeric-common.c		\
	GNOME_Gnumeric-skels.c		\
	GNOME_Gnumeric-stubs.c		\
	GNOME_Gnumeric.h

stamp_Gnumeric_idl : $(srcdir)/GNOME_Gnumeric.idl 
	$(ORBIT_IDL) -I$(srcdir) $< && touch $@

$(GNUMERIC_GENERATED): stamp_Gnumeric_idl

idldir   = $(gnumeric_datadir)/idl
idl_DATA = GNOME_Gnumeric.idl 

xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)

@INTLTOOL_XML_RULE@

# Do not use built sources BUILT_SOURCES
# it attempts to build the source even if it is not used.
DISTCLEANFILES	= $(GNUMERIC_GENERATED) stamp_Gnumeric_idl $(xml_DATA)
EXTRA_DIST	= $(idl_DATA) $(xml_in_files)

dist-hook :
	cd $(distdir) && rm -f $(DISTCLEANFILES)