Merge branch '1926_ncurses_ctrl_backslash'
[midnight-commander.git] / lib / Makefile.am
blobe92eb506a02b5c467b2c4bc24ea7b574eeb1ceae
1 SUBDIRS = filehighlight mcconfig search skin tty vfs strutil
3 noinst_LTLIBRARIES = libmc.la
5 SUBLIB_includes = \
6         filehighlight.h \
7         mcconfig.h \
8         search.h \
9         skin.h \
10         strescape.h \
11         strutil.h
13 SRC_mc_utils = \
14         utilunix.c \
15         unixcompat.h \
16         util.c util.h
19 libmc_la_SOURCES = \
20         $(SUBLIB_includes) \
21         $(SRC_mc_utils) \
22         fileloc.h \
23         fs.h \
24         glibcompat.c glibcompat.h \
25         global.h \
26         timefmt.h
28 if USE_MAINTAINER_MODE
29 libmc_la_SOURCES += logging.c logging.h
30 endif
33 libmc_la_CFLAGS= $(GLIB_CFLAGS) -I$(top_srcdir) $(PCRE_CFLAGS)
35 libmc_la_LIBADD = \
36         filehighlight/libmcfilehighlight.la \
37         mcconfig/libmcconfig.la \
38         search/libsearch.la \
39         strutil/libmcstrutil.la \
40         skin/libmcskin.la \
41         tty/libmctty.la
43 if ENABLE_VFS
44 libmc_la_LIBADD += vfs/mc-vfs/libvfs-mc.la
45 endif