Skip to content
dmake - formerly used by openoffice.org
C Shell Makefile Batchfile Assembly R Other
Branch: master
Clone or download
Latest commit 01290a6 Apr 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dbug Make dbug compile. Mar 9, 2015
mac factor out multiple Basename() calls + remove arg for really_dostat Mar 9, 2015
man fix POD errors Apr 12, 2019
msdos remove overhead of unimplemented .SYMBOL feature Mar 9, 2015
os2 factor out multiple Basename() calls + remove arg for really_dostat Mar 9, 2015
qssl remove overhead of unimplemented .SYMBOL feature Mar 9, 2015
readme From libreoffice: spelling, RCS tag removal. Feb 28, 2015
startup Stop tracking autoconf-generated files. Feb 28, 2015
tests make dir per test so can run parallel Apr 12, 2019
tos factor out multiple Basename() calls + remove arg for really_dostat Mar 9, 2015
unix add "rem" as noop on Win32 Mar 9, 2015
win95 use MS CRT's malloc null check, dont do our own Mar 9, 2015
winnt use MS CRT's malloc null check, dont do our own Mar 9, 2015
.appveyor.yml appveyor Apr 13, 2019
.gitignore add VC >= 2003 specific make batch files Mar 9, 2015
.travis.yml travis osx Apr 12, 2019
AUTHORS correct permissions Apr 12, 2019
COPYING correct permissions Apr 12, 2019
ChangeLog correct permissions Apr 12, 2019
INSTALL correct permissions Apr 12, 2019
Makefile.am correct permissions Apr 12, 2019
NEWS correct permissions Apr 12, 2019
README.md make dir per test so can run parallel Apr 12, 2019
acinclude.m4 correct permissions Apr 12, 2019
alloc.h use MS CRT's malloc null check, dont do our own Mar 9, 2015
autogen.sh autoreconf needs "-i" flag. Feb 28, 2015
configure.ac correct permissions Apr 12, 2019
dag.c more efficient global bools Mar 9, 2015
db.h initial import Sep 22, 2000
dmake.c use MS CRT's malloc null check, dont do our own Mar 9, 2015
dmake.h more efficient global bools Mar 9, 2015
dmakeroot.h.in
dmdump.c
dmstring.c use strpbrk instead of textbook inefficient roll your own version Mar 9, 2015
dstdarg.h initial import Sep 22, 2000
expand.c gcc picked up error - returns string, not char Apr 12, 2019
extern.h replace all stat usage with GetFileAttributesEx on Win32 Mar 9, 2015
function.c
getinp.c remove rarely or unused global vars, build strings at compile time Mar 9, 2015
hash.c
imacs.c more efficient global bools Mar 9, 2015
infer.c From libreoffice: spelling, RCS tag removal. Feb 28, 2015
itypes.h INTEGRATION: CWS ooo20040329 (1.2.54); FILE MERGED Apr 21, 2004
macparse.c
make.bat correct permissions Apr 12, 2019
make.c add visibility to var for debugging Mar 9, 2015
make.cmd correct permissions Apr 12, 2019
makefile.mk INTEGRATION: CWS dmake45 (1.4.2); FILE MERGED Jun 29, 2006
parse.c From libreoffice: spelling, RCS tag removal. Feb 28, 2015
path.c more efficient global bools Mar 9, 2015
percent.c initial import Sep 22, 2000
posix.h INTEGRATION: CWS dmake43p01 (1.2.80); FILE MERGED Apr 20, 2006
prove Add "prove", to run individual test. Feb 28, 2015
quit.c From libreoffice: spelling, RCS tag removal. Feb 28, 2015
rcsclean.awk initial import Sep 22, 2000
rulparse.c more efficient global bools Mar 9, 2015
stat.c remove overhead of unimplemented .SYMBOL feature Mar 9, 2015
state.c INTEGRATION: CWS os2port01 (1.2.18); FILE MERGED Sep 20, 2007
stdmacs.h From libreoffice: spelling, RCS tag removal. Feb 28, 2015
struct.h
sysintf.c factor out multiple Basename() calls + remove arg for really_dostat Mar 9, 2015
vextern.h more efficient global bools Mar 9, 2015

README.md

Dmake

Dmake is a make utility similar to GNU make or the Workshop dmake. This utility has an irregular syntax but is available for FreeBSD, Linux, Solaris, Win32 and other platforms. It is used by the OpenOffice.org build system, although for some time now Apache OpenOffice.Org and its derivatives have been considering replacing it definitely with a GNUmake-only build system.

This version of dmake is a modified version of Dennis Vadura's GPL'ed dmake. The original sources were available on WTIcorp.com. As this site has not been reachable for some time the SUN OpenOffice.org team adopted this utility and continued its development in OOo's Version Control System. With the move of OOo to the Apache Software Foundation, this software is completely abandoned and not recommended for general use.

Added features in dmake:

  • smaller/greater arithmetic like:
.IF 400<=200
  • Boolean expressions "or", "and" and nesting thereof:
.IF (("$(OS)"=="MACOSX"&&"$(COM)"=="GCC")||"$(OS)"=="LINUX"||"$(OS)"=="SOLARIS") && "$(GUIBASE)"=="unx"

Those are only two examples, read the NEWS file for more features and changes. Note: Beside fixed bugs the dmake versions are downward compatible.

Building from a git checkout

./autogen.sh
make # must be GNU make
make -j40 check # pick high value as lots of tests "sleep" for timestamps

To run a single test:

./prove tests/targets-14
You can’t perform that action at this time.