localized: make configs build
[oweals/cde.git] / cde / programs / localized / templates / config.am
1 # process the config files...
2
3 BUILT_SOURCES = sys.resources sys.session sys.font sys.dtwmrc   \
4         Xresources dtfile.config home.session current.session   \
5         display.home.session display.current.session
6
7 if SOLARIS
8 BUILT_SOURCES += Xresources.ow
9 endif
10
11 CLEANFILES = $(BUILT_SOURCES)
12
13 TOP = $(top_builddir)/programs
14 MERGE = $(top_builddir)/programs/localized/util/merge
15
16
17 sys.resources: $(TOP)/dtsession/sys.resources sys.resources.tmsg
18         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
19
20 sys.session: $(TOP)/dtsession/sys.session sys.session.tmsg
21         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
22
23 sys.font: $(TOP)/dtsession/sys.font sys.font.tmsg
24         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
25
26 sys.dtwmrc: $(TOP)/dtwm/sys.dtwmrc sys.dtwmrc.tmsg
27         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
28
29 Xresources: $(TOP)/dtlogin/config/Xresources Xresources.tmsg
30         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
31
32 if SOLARIS
33 Xresources.ow: $(TOP)/dtlogin/config/Xresources.ow Xresources.ow.tmsg
34         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
35 endif
36
37 dtfile.config: $(TOP)/dtfile/dtfile.config dtfile.config.tmsg
38         $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
39
40 home.session: $(TOP)/dtlogin/config/home.session _common.session.tmsg
41         $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
42
43 current.session: $(TOP)/dtlogin/config/current.session _common.session.tmsg
44         $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
45
46 display.home.session: $(TOP)/dtlogin/config/display.home.session _common.session.tmsg
47         $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
48
49 display.current.session: $(TOP)/dtlogin/config/display.current.session _common.session.tmsg
50         $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
51