aboutsummaryrefslogtreecommitdiffstats
path: root/pc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pc/Makefile')
-rw-r--r--pc/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/pc/Makefile b/pc/Makefile
index beafd3d6..0dc8bb40 100644
--- a/pc/Makefile
+++ b/pc/Makefile
@@ -101,7 +101,7 @@ DO_LNK = $($(LNK))
DO_BIND= $($(BIND))
#------------------------------------------------------------------------
# To allow Make find files in the support subdirectory.
-VPATH = .;./support
+VPATH = .;./support;./support/malloc
#========================================================================
# End of general configuration. Some platform-specific configuration
# notes appear below.
@@ -241,7 +241,10 @@ ALLOBJS = $(AWKOBJS) awkgram$O getid$O $(OBJ)
# LIBOBJS
# GNU and other stuff that gawk uses as library routines.
-LIBOBJS= getopt$O getopt1$O dfa$O regex$O random$O localeinfo$O
+DYNOBJS= dynarray_resize$O dynarray_emplace_enlarge$O dynarray_finalize$O \
+ dynarray_at_failure$O dynarray_resize_clear$O
+
+LIBOBJS= getopt$O getopt1$O dfa$O random$O localeinfo$O regex$O $(DYNOBJS)
GAWKOBJS = $(ALLOBJS) $(LIBOBJS)
@@ -271,9 +274,11 @@ $(RSPFILE) : $(GAWKOBJS)
# and we have -I. on the compiler command line. unistd.h is
# included by awk.h.
# 2. custom.h is not mentioned because pc ports don't use it.
-$(ALLOBJS) $(LIBOBJS): \
+$(ALLOBJS) $(LIBOBJS) $(DYNOBJS): \
awk.h regex.h config.h gettext.h mbsupport.h protos.h dfa.h getopt.h nonposix.h
+$(DYNOBJS) regex$O: dynarray.h libc-config.h malloc/dynarray.h malloc/dynarray-skeleton.c
+
builtin$O: floatmagic.h random.h popen.h
random$O: random.h