]> git.lyx.org Git - lyx.git/blob - src/support/Makefile.am
Fix a bunch of doxygen warnings.
[lyx.git] / src / support / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 noinst_LTLIBRARIES = libsupport.la
4
5 CLEANFILES = path_defines.C
6
7 INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
8
9 EXTRA_DIST = path_defines.C.in os_unix.C os_win32.C os_os2.C
10
11 if USE_COMPRESSION
12 COMPRESSION = gzstream.C gzstream.h
13 endif
14
15 BUILT_SOURCES = path_defines.C
16
17 libsupport_la_SOURCES = \
18         BoostFormat.h \
19         FileInfo.C \
20         FileInfo.h \
21         FileMonitor.h \
22         FileMonitor.C \
23         abort.C \
24         atoi.C \
25         boost-inst.C \
26         chdir.C \
27         copy.C \
28         copied_ptr.h \
29         cow_ptr.h \
30         debugstream.h \
31         filename.C \
32         filename.h \
33         filetools.C \
34         filetools.h \
35         forkedcall.C \
36         forkedcall.h \
37         forkedcallqueue.C \
38         forkedcallqueue.h \
39         forkedcontr.C \
40         forkedcontr.h \
41         getcwd.C \
42         $(COMPRESSION) kill.C \
43         limited_stack.h \
44         lstrings.C \
45         lstrings.h \
46         lyxalgo.h \
47         lyxfunctional.h \
48         lyxlib.h \
49         lyxmanip.h \
50         lyxtime.C \
51         lyxtime.h \
52         lyxsum.C \
53         mkdir.C \
54         nt_defines.h \
55         os.C \
56         os.h \
57         os2_defines.h \
58         os2_errortable.h \
59         path.C \
60         path.h \
61         path_defines.C \
62         path_defines.h \
63         putenv.C \
64         rename.C \
65         rmdir.C \
66         snprintf.h \
67         snprintf.c \
68         sstream.h \
69         std_istream.h \
70         std_ostream.h \
71         std_sstream.h \
72         systemcall.C \
73         systemcall.h \
74         tempname.C \
75         textutils.h \
76         tostr.h \
77         tostr.C \
78         translator.h \
79         types.h \
80         userinfo.C \
81         userinfo.h \
82         unlink.C
83
84
85 path_defines.C: build_path_defines
86
87 build_path_defines: path_defines.C.in
88         @rm -f tmp_path_defines ;\
89         ABS_SRCDIR=`cd $(top_srcdir) && pwd` ;\
90         ABS_BUILDDIR=`cd ../.. && pwd` ;\
91         sed "s,%LYX_DIR%,$(pkgdatadir), ;\
92                 s,%LOCALEDIR%,$(datadir)/locale, ;\
93                 s,%BUILDDIR%,$${ABS_BUILDDIR}, ;\
94                 s,%TOP_SRCDIR%,$${ABS_SRCDIR}," \
95                 $(srcdir)/path_defines.C.in > tmp_path_defines ;\
96         if cmp -s tmp_path_defines path_defines.C ; then \
97                 rm -f tmp_path_defines ;\
98         else \
99                 rm -f path_defines.C ;\
100                 mv tmp_path_defines path_defines.C ;\
101         fi