forked from lem-project/lem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
50 lines (36 loc) · 1.1 KB
/
Makefile.am
File metadata and controls
50 lines (36 loc) · 1.1 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
SUBDIRS = contrib
export lem_contrib_prefix = ${datadir}/lem
bin_SCRIPTS = bin/${LEM_LAUNCHER}
EXTRA_DIST = bin/${LEM_LAUNCHER}
if GENERATE_NCURSES
bin_SCRIPTS += bin/lem-ncurses$(EXEEXT)
EXTRA_DIST += bin/lem-ncurses$(EXEEXT)
endif
if GENERATE_RPC
bin_SCRIPTS += bin/lem-rpc$(EXEEXT)
EXTRA_DIST += bin/lem-rpc$(EXEEXT)
endif
if GENERATE_XCB
bin_SCRIPTS += bin/lem-xcb$(EXEEXT)
EXTRA_DIST += bin/lem-xcb$(EXEEXT)
endif
if GENERATE_NCURSES_CCL
bin_SCRIPTS += bin/lem-ncurses-ccl$(EXEEXT)
EXTRA_DIST += bin/lem-ncurses-ccl$(EXEEXT)
endif
lem-icon.svg: scripts/gen-desktop.ros
cd $(PWD);ros scripts/gen-desktop.ros --prefix ${prefix} --icon blue
lem-ncurses.desktop: scripts/gen-desktop.ros
cd $(PWD);ros scripts/gen-desktop.ros --prefix ${prefix}
%$(EXEEXT): %.ros
ros build $<
bin/%.ros: roswell/%.ros
cp $< $@
bin/${LEM_LAUNCHER}:
${MKDIR_P} bin
cat roswell/lem | sed -e "s/ncurses/${DEFAULT_FRONTEND}/g" > $@
CLEANFILES = ${bin_SCRIPTS}
CLEANFILES += lem-icon.svg lem-ncurses.desktop
depend:
ros make-depends lem-ncurses bin/lem-ncurses > bin/lem-ncurses.depend
-include bin/lem-ncurses.depend