- specifying $(includedir) to AM_CPPFLAGS caused problems when --prefix was set to /usr during cross-compliation since header files for the cross compiler conflicted with files in $(includedir)=/usr/include. - the same applies to $(libdir) in LDFLAGS or something similar
18 lines
294 B
Makefile
18 lines
294 B
Makefile
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_builddir)/include \
|
|
-I$(top_srcdir)/include
|
|
|
|
bin_PROGRAMS = qsesed
|
|
|
|
qsesed_SOURCES = sed.c
|
|
qsesed_LDFLAGS = -L../../lib/sed -L../../lib/cmn
|
|
qsesed_LDADD = -lqsesed -lqsecmn
|
|
|
|
if WIN32
|
|
if WCHAR
|
|
qsesed_LDADD += $(UNICOWS_LIBS)
|
|
endif
|
|
endif
|