mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
b37af47023
Set defines via CPPFLAGS variable not via CFLAGS one. Use AM_CPPFLAGS and AM_CFLAGS variables instead of per-target ones. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
17 lines
277 B
Makefile
17 lines
277 B
Makefile
noinst_LTLIBRARIES = libsearch.la
|
|
|
|
libsearch_la_SOURCES = \
|
|
search.c \
|
|
internal.h \
|
|
lib.c \
|
|
normal.c \
|
|
regex.c \
|
|
glob.c \
|
|
hex.c
|
|
|
|
AM_CPPFLAGS = \
|
|
-DDATADIR=\""$(pkgdatadir)/"\" \
|
|
-DLOCALEDIR=\""$(localedir)"\"
|
|
|
|
AM_CFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CFLAGS)
|