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