4 |
ACLOCAL_AMFLAGS = -I config |
ACLOCAL_AMFLAGS = -I config |
5 |
|
|
6 |
SUBDIRS = glob config po doc |
SUBDIRS = glob config po doc |
7 |
|
# Only process if target is MS-Windows |
8 |
|
if WINDOWSENV |
9 |
|
SUBDIRS += w32 |
10 |
|
W32INC := -I $(top_srcdir)/w32/include |
11 |
|
W32LIB := -Lw32 -lw32 |
12 |
|
endif |
13 |
|
|
14 |
bin_PROGRAMS = make |
bin_PROGRAMS = make |
15 |
|
|
31 |
debug.h getopt.h gettext.h hash.h |
debug.h getopt.h gettext.h hash.h |
32 |
|
|
33 |
make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ @LIBINTL@ |
make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ @LIBINTL@ |
34 |
|
# Only process if target is MS-Windows |
35 |
|
if WINDOWSENV |
36 |
|
make_LDADD += $(W32LIB) |
37 |
|
endif |
38 |
|
|
39 |
man_MANS = make.1 |
man_MANS = make.1 |
40 |
|
|
41 |
DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@ |
DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@ |
42 |
|
|
43 |
AM_CPPFLAGS = $(GLOBINC) |
AM_CPPFLAGS = $(GLOBINC) |
44 |
|
# Only process if target is MS-Windows |
45 |
|
if WINDOWSENV |
46 |
|
AM_CPPFLAGS += $(W32INC) |
47 |
|
endif |
48 |
|
|
49 |
|
|
50 |
# Extra stuff to include in the distribution. |
# Extra stuff to include in the distribution. |