]> git.lyx.org Git - lyx.git/blob - src/support/Makefile.am
Provide do_put methods for inserting all remaining basic type values
[lyx.git] / src / support / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 SUBDIRS = . tests
4
5 CLEANFILES += $(BUILT_SOURCES)
6
7 EXTRA_DIST = package.C.in pch.h \
8         os_cygwin.C os_unix.C os_win32.C os_win32.h
9
10 noinst_LTLIBRARIES = libsupport.la
11
12 libsupport_la_LIBADD = $(LIBSHLWAPI) $(QT4_CORE_LIB)
13 libsupport_la_LDFLAGS = $(QT4_CORE_LDFLAGS)
14
15 BUILT_SOURCES = $(PCH_FILE) package.C
16
17 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
18 AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
19
20 libsupport_la_SOURCES = \
21         FileMonitor.h \
22         FileMonitor.C \
23         RandomAccessList.h \
24         abort.C \
25         chdir.C \
26         convert.C \
27         convert.h \
28         copy.C \
29         copied_ptr.h \
30         cow_ptr.h \
31         debugstream.h \
32         docstream.C \
33         docstream.h \
34         docstring.C \
35         docstring.h \
36         environment.h \
37         environment.C \
38         filefilterlist.C \
39         filefilterlist.h \
40         filename.C \
41         filename.h \
42         filetools.C \
43         filetools.h \
44         fontutils.C \
45         fontutils.h \
46         forkedcall.C \
47         forkedcall.h \
48         forkedcallqueue.C \
49         forkedcallqueue.h \
50         forkedcontr.C \
51         forkedcontr.h \
52         fs_extras.C \
53         fs_extras.h \
54         getcwd.C \
55         kill.C \
56         limited_stack.h \
57         lstrings.C \
58         lstrings.h \
59         lyxalgo.h \
60         lyxlib.h \
61         lyxmanip.h \
62         lyxtime.C \
63         lyxtime.h \
64         lyxsum.C \
65         mkdir.C \
66         os.C \
67         os.h \
68         path.C \
69         path.h \
70         package.C \
71         package.h \
72         qstring_helpers.C \
73         qstring_helpers.h \
74         rename.C \
75         socktools.C \
76         socktools.h \
77         std_istream.h \
78         std_ostream.h \
79         systemcall.C \
80         systemcall.h \
81         tempname.C \
82         textutils.h \
83         translator.h \
84         types.h \
85         userinfo.C \
86         userinfo.h \
87         unicode.C \
88         unicode.h \
89         unlink.C
90
91
92 package.C: build_package
93
94 # Solaris sed does not like spaces bewteen the ;-delimited commands
95 build_package: package.C.in
96         @rm -f tmp_package ;\
97         sed "s,%LYX_DIR%,$(LYX_ABS_INSTALLED_DATADIR),;\
98 s,%LOCALEDIR%,$(LYX_ABS_INSTALLED_LOCALEDIR),;\
99 s,%TOP_SRCDIR%,$(LYX_ABS_TOP_SRCDIR),;\
100 s,%PROGRAM_SUFFIX%,$(program_suffix)," \
101                 $(srcdir)/package.C.in > tmp_package ;\
102         if cmp -s tmp_package package.C ; then \
103                 rm -f tmp_package ;\
104         else \
105                 rm -f package.C ;\
106                 mv tmp_package package.C ;\
107         fi