Makefile.am 1.34 KB
Newer Older
1
AM_CPPFLAGS = 						\
Miguel de Icaza's avatar
Miguel de Icaza committed
2 3
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	-I$(top_srcdir)					\
4
	$(GNUMERIC_CFLAGS)
Miguel de Icaza's avatar
Miguel de Icaza committed
5

6
if WITH_CORBA
7
noinst_LIBRARIES = libGnumericIDL.a
Miguel de Icaza's avatar
Miguel de Icaza committed
8 9
endif

10
GNUMERIC_GENERATED = 			\
11 12 13 14 15
	GNOME_Gnumeric-common.c		\
	GNOME_Gnumeric-skels.c		\
	GNOME_Gnumeric-stubs.c		\
	GNOME_Gnumeric.h

16 17 18
# A hint is needed to build the header(s) first:
BUILT_SOURCES = GNOME_Gnumeric.h

19
if ENABLE_EVOLUTION
20
EVOLUTION_GENERATED =			\
21 22 23 24
	Evolution-Composer.h		\
	Evolution-Composer-common.c	\
	Evolution-Composer-skels.c	\
	Evolution-Composer-stubs.c
25
BUILT_SOURCES += Evolution-Composer.h
26 27
endif

28
nodist_libGnumericIDL_a_SOURCES =	\
29 30
	$(GNUMERIC_GENERATED)		\
	$(EVOLUTION_GENERATED)
Miguel de Icaza's avatar
Miguel de Icaza committed
31

Morten Welinder's avatar
Morten Welinder committed
32
stamp_Gnumeric_idl: $(srcdir)/GNOME_Gnumeric.idl
Jody Goldberg's avatar
Jody Goldberg committed
33
	$(ORBIT_IDL) -I$(srcdir) $< && touch $@
Miguel de Icaza's avatar
Miguel de Icaza committed
34

35
$(GNUMERIC_GENERATED): stamp_Gnumeric_idl
36

Jody Goldberg's avatar
Jody Goldberg committed
37
if ENABLE_EVOLUTION
38
EVOLUTION_IDL_DIR = $(shell $(GNOME_CONFIG) --datadir)/idl
39
stamp_evolution_idl:
40
	$(ORBIT_IDL) `$(EVOLUTION_IDL_DIR)/idl/Evolution-Composer.idl && touch $@
41

42
$(EVOLUTION_GENERATED): stamp_evolution_idl
43

Jody Goldberg's avatar
Jody Goldberg committed
44
endif
45

46
idldir   = $(gnumeric_datadir)/idl
Morten Welinder's avatar
Morten Welinder committed
47
idl_DATA = GNOME_Gnumeric.idl
Miguel de Icaza's avatar
Miguel de Icaza committed
48

49
EXTRA_DIST = $(idl_DATA)
50 51

CLEANFILES  = $(nodist_libGnumericIDL_a_SOURCES) \
Jody Goldberg's avatar
Jody Goldberg committed
52
		stamp_Gnumeric_idl stamp_evolution_idl
53

54
1.
55
Frantisek Listopad
56

57 58 59 60
Buh belha klopyta
z komory do kuchyne
vari bramboracku
oplachne starou lzici
61
sedne si u okna
62
diva si udivene
63
To jsem to dopracoval