]> git.lyx.org Git - lyx.git/blob - src/support/Makefile.am
cleaner ld -r
[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         path.C \
58         path.h \
59         putenv.C \
60         rename.C \
61         rmdir.C \
62         smart_ptr.h \
63         snprintf.h \
64         snprintf.c \
65         sstream.h \
66         $(REGEX) systemcall.C \
67         systemcall.h \
68         tempname.C \
69         textutils.h \
70         translator.h \
71         types.h \
72         unlink.C \
73         utility.h
74
75 libsupport.la: libsupport.o
76
77 libsupport.o: $(libsupport_la_OBJECTS) $(libsupport_la_DEPENDENCIES)
78         $(CXXLINK) $(libsupport_la_OBJECTS)