[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
timer-applet 1.3.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,236 kB
  • ctags: 345
  • sloc: ansic: 3,781; sh: 869; xml: 301; makefile: 143
file content (52 lines) | stat: -rw-r--r-- 1,260 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
SUBDIRS = tests
AM_CPPFLAGS = -DGNOMELOCALEDIR=\""$(datadir)/locale/"\" \
	-DG_LOG_DOMAIN=\""Gloo"\" \
	$(GNOME_CFLAGS)

AM_CFLAGS = -Wall -Werror

noinst_LIBRARIES = libgloo.a

LIBS = $(GNOME_LIBS)

libgloo_a_SOURCES = \
		gloo-enums.h \
		gloo-presets.h \
		gloo-presets.c \
		gloo-pulse-button.h \
		gloo-pulse-button.c \
		gloo-timer.c \
		gloo-timer.h \
		gloo-types.c \
		gloo-types.h

built_sources = gloo-types.h gloo-types.c

if MAINTAINER_MODE
# Generate gloo-types.h and gloo-types.c
enum_headers = gloo-enums.h
stamp_files = stamp-gloo-types.h

MAINTAINERCLEANFILES = $(built_sources) $(stamp_files)

BUILT_SOURCES = $(built_sources)

gloo-types.h: stamp-gloo-types.h
	@true

stamp-gloo-types.h: $(enum_headers) gloo-types-h.template
	( cd $(srcdir) \
	  && glib-mkenums --template gloo-types-h.template $(enum_headers) ) \
	  > gloo-types.h.xgen \
	&& ( cmp -s gloo-types.h.xgen gloo-types.h \
		|| cp gloo-types.h.xgen gloo-types.h ) \
	&& rm -f gloo-types.h.xgen \
	&& echo timestamp > stamp-gloo-types.h

gloo-types.c: $(enum_headers) gloo-types-c.template
	( cd $(srcdir) \
	  && glib-mkenums --template gloo-types-c.template $(enum_headers) ) \
	> gloo-types.c.xgen \
	&& cp gloo-types.c.xgen gloo-types.c \
	&& rm -f gloo-types.c.xgen
endif