pmake .ORDER bug with -j 1 or misuse?

Garrett Cooper yanefbsd at
Fri Feb 5 04:36:27 UTC 2010

Hi hackers,
    I'm getting used to pmake after using GNU make for the past couple
years, and I'm used to `in-order prerequisites', where if I specified
a list of targets a specific way, then it would execute the targets
serially in-order.
    I tried to do the following with .ORDER, but it doesn't appear to
be working as I expect it to:

[gcooper at optimus /scratch]$ make
[gcooper at optimus /scratch]$ cat BSDmakefile
.ORDER: something do

all: do something

do something:
        @echo ${.TARGET}
[gcooper at optimus /scratch]$ make -j 2

    It does function as I expect it to via -j 2 (executes the
`something', then `do' goals), but not with -j 1 -- could someone help
me understand what behavior is correct so I can adjust my behavior
and/or get a fix started?

More information about the freebsd-hackers mailing list