diff options
author | Paul Smith <psmith@gnu.org> | 2017-11-19 13:49:26 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2017-11-19 14:07:22 -0500 |
commit | fb779d2f1e26a280f381886f3cdf444102676249 (patch) | |
tree | 4e3dca8cf801845720296a02e2f9266e4c30164b /mk/msdosdjgpp.mk | |
parent | 1af314465e5dfe3e8baa839a32a72e83c04f26ef (diff) | |
download | make-git-fb779d2f1e26a280f381886f3cdf444102676249.tar.gz |
Rework directory structure to use GNU-recommended "src" directory.
Move the source code (other than glob) into the "src" subdirectory.
Update all scripting and recommendations to support this change.
* *.c, *.h, w32/*: Move to src/
* configure.ac, Makefile.am, maintMakefile: Locate new source files.
* Basic.mk.template, mk/*: Update for new source file locations.
* NEWS, README.DOS.template: Update for new locations.
* build.template, build_w32.bat, builddos.bat: Ditto.
* po/POTFILES.in: Ditto
* tests/run_make_tests.pl, tests/scripts/features/load*: Ditto.
* make.1: Move to doc.
* mk/VMS.mk: Add support for building on VMS (hopefully).
* makefile.vms, prepare_w32.bat: Remove.
* SCOPTIONS: Update to define HAVE_CONFIG_H
Diffstat (limited to 'mk/msdosdjgpp.mk')
-rw-r--r-- | mk/msdosdjgpp.mk | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/mk/msdosdjgpp.mk b/mk/msdosdjgpp.mk index a9dd2501..7d617938 100644 --- a/mk/msdosdjgpp.mk +++ b/mk/msdosdjgpp.mk @@ -1,6 +1,6 @@ # GNU -*-Makefile-*- to build GNU make on MS-DOS with DJGPP # -# MS-DOS overrides for use with Makebase.mk. +# MS-DOS overrides for use with Basic.mk. # # Copyright (C) 2017 Free Software Foundation, Inc. # This file is part of GNU Make. @@ -23,12 +23,22 @@ EXEEXT = .exe CC = gcc -prog_SOURCES += getloadavg.c $(glob_SOURCES) +prog_SOURCES += $(loadavg_SOURCES) $(glob_SOURCES) -extra_CPPFLAGS += -I$(SRCDIR)/glob -DINCLUDEDIR=\"c:/djgpp/include\" -DLIBDIR=\"c:/djgpp/lib\" +INCLUDEDIR = c:/djgpp/include +LIBDIR = c:/djgpp/lib +LOCALEDIR = c:/djgpp/share -MKDIR.cmd = command.com /c mkdir $(subst /,\\,$@) -RM.cmd = command.com /c del /F /Q $(subst /,\\,$(OBJECTS) $(PROG)) +extra_CPPFLAGS = -I$(SRCDIR)/glob -$(OUTDIR)/config.h: $(SRCDIR)/configh.dos - command.com /c copy /Y $(subst /,\\,$< $@) +MKDIR = command.com /c mkdir +MKDIR.cmd = $(MKDIR) $(subst /,\\,$@) + +RM = command.com /c del /F /Q +RM.cmd = $(RM) $(subst /,\\,$(OBJECTS) $(PROG)) + +CP = command.com /c copy /Y +CP.cmd = $(CP) $(subst /,\\,$< $@) + +$(OUTDIR)src/config.h: $(SRCDIR)/src/configh.dos + $(CP.cmd) |