]> git.lyx.org Git - lyx.git/blob - src/support/Makefile.am
4670add509981d2a6a48ea3b8a0dc477ec51803e
[lyx.git] / src / support / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 DISTCLEANFILES= *.orig *.rej *~ *.bak core
3 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
4 noinst_LTLIBRARIES = libsupport.la
5 LIBS =
6 ETAGS_ARGS = --lang=c++
7 BOOST_INCLUDES = -I$(top_srcdir)/boost
8 INCLUDES = -I${srcdir}/../ $(BOOST_INCLUDES)
9
10 EXTRA_DIST = lyxstring.C lyxstring.h regex.c lyxregex.h \
11              os_unix.C os_win32.C os_os2.C
12
13 if USE_LYXSTRING
14 LYXSTRING = lyxstring.C lyxstring.h
15 endif
16 if USE_REGEX
17 REGEX = regex.c lyxregex.h
18 endif
19
20 libsupport_la_SOURCES = \
21         DebugStream.C \
22         DebugStream.h \
23         FileInfo.C \
24         FileInfo.h \
25         LAssert.C \
26         LAssert.h \
27         LIstream.h \
28         LOstream.h \
29         LRegex.C \
30         LRegex.h \
31         LSubstring.C \
32         LSubstring.h \
33         os.C \
34         os.h \
35         StrPool.C \
36         StrPool.h \
37         abort.C \
38         atoi.C \
39         chdir.C \
40         copy.C \
41         date.C \
42         filetools.C \
43         filetools.h \
44         fmt.C \
45         getUserName.C \
46         getcwd.C \
47         kill.C \
48         lstrings.C \
49         lstrings.h \
50         lxtl.h \
51         lyxalgo.h \
52         lyxfunctional.h \
53         lyxlib.h \
54         lyxmanip.h \
55         $(LYXSTRING) lyxsum.C \
56         mkdir.C \
57         nt_defines.h \
58         os2_defines.h \
59         os2_errortable.h \
60         path.C \
61         path.h \
62         putenv.C \
63         rename.C \
64         rmdir.C \
65         smart_ptr.h \
66         snprintf.h \
67         snprintf.c \
68         sstream.h \
69         $(REGEX) systemcall.C \
70         systemcall.h \
71         tempname.C \
72         textutils.h \
73         translator.h \
74         types.h \
75         unlink.C \
76         utility.h
77
78 libsupport.la: libsupport.o
79
80 libsupport.o: $(libsupport_la_OBJECTS) $(libsupport_la_DEPENDENCIES)
81         $(CXXLINK) $(libsupport_la_OBJECTS)