[go: up one dir, main page]

Menu

[9c7066]: / src / Makefile.am  Maximize  Restore  History

Download this file

89 lines (72 with data), 2.5 kB

 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
## Makefile.am -- Process this file with automake to produce Makefile.in
noinst_LTLIBRARIES = libroxterm.la
AM_LDFLAGS = -static
if HAVE_G_FILE_SET_CONTENTS
MISSING =
else
MISSING = missing.c
endif
# This is to avoid building everything if just the version number changes
BUILT_SOURCES = rtconfig.h version.h
DISTCLEANFILES = $(BUILT_SOURCES)
rtconfig.h: ../config.h
@sed 's/ CONFIG_H/ RTCONFIG_H/;/define PACKAGE_/d;/define VERSION/d' ../config.h > rtconfig.h.tmp
@test -f rtconfig.h || touch rtconfig.h
@diff rtconfig.h rtconfig.h.tmp > /dev/null 2>&1 && rm rtconfig.h.tmp || true
@test -f rtconfig.h.tmp && echo "Updating rtconfig.h" || echo "rtconfig.h is unchanged"
@test -f rtconfig.h.tmp && rm -f rtconfig.h || true
@test -f rtconfig.h.tmp && mv rtconfig.h.tmp rtconfig.h || true
version.h: ../config.h
@echo '#ifndef VERSION_H' > version.h.tmp
@echo '#define VERSION_H' >> version.h.tmp
@echo '' >> version.h.tmp
@grep -B1 VERSION ../config.h | sed 's/^--//' >> version.h.tmp
@echo '' >> version.h.tmp
@echo '#endif /* VERSION_H */' >> version.h.tmp
@test -f version.h || touch version.h
@diff version.h version.h.tmp > /dev/null 2>&1 && rm version.h.tmp || true
@test -f version.h.tmp && echo "Updating version.h" || echo "version.h is unchanged"
@test -f version.h.tmp && rm -f version.h || true
@test -f version.h.tmp && mv version.h.tmp version.h || true
libroxterm_la_SOURCES = \
colourscheme.c colourscheme.h \
defns.h \
dlg.c dlg.h \
display.c display.h \
dragrcv.c dragrcv.h \
dynopts.c dynopts.h \
encodings.c encodings.h \
globalopts.c globalopts.h \
logo.c logo.h \
options.c options.h \
optsfile.c optsfile.h \
rtdbus.c rtdbus.h \
$(MISSING)
bin_PROGRAMS = roxterm roxterm-config
roxterm_SOURCES = \
about.c about.h \
main.c \
multitab.c multitab.h \
menutree.c menutree.h \
optsdbus.c optsdbus.h \
roxterm.c roxterm.h \
shortcuts.c shortcuts.h \
uri.c uri.h
if DO_OWN_TAB_DRAGGING
roxterm_SOURCES += tabdrag.c tabdrag.h
endif
if ENABLE_SM
roxterm_SOURCES += session.c session.h
endif
roxterm_LDADD = @roxterm_LIBS@ libroxterm.la
roxterm_config_CFLAGS += -DROXTERM_CAPPLET
roxterm_config_SOURCES = \
capplet.c capplet.h \
colourgui.c colourgui.h \
configlet.c configlet.h \
getname.c getname.h \
optsdbus.c optsdbus.h \
profilegui.c profilegui.h
roxterm_config_LDADD = @roxterm_config_LIBS@ libroxterm.la
pkgdata_DATA = roxterm-config.glade
EXTRA_DIST = roxterm-config.glade missing.c