Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8786aa5 in mainline


Ignore:
Timestamp:
2010-01-04T15:21:19Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
b766352
Parents:
e405228
Message:

remove Stanse-specific constructs from makefiles
add generic support for checkers via generating an universal jobfiles (for kernel, boot loader, libraries and tasks)
add Stanse preprocessor which uses this universal jobfiles to run Stanse

Files:
1 added
140 edited
1 moved

Legend:

Unmodified
Added
Removed
  • Makefile

    re405228 r8786aa5  
    3131
    3232CSCOPE = cscope
    33 STANSE = stanse
     33CONFIG = tools/config.py
    3434
    35 .PHONY: all config config_default distclean clean cscope stanse
     35.PHONY: all config config_default distclean clean cscope precheck
    3636
    3737all: Makefile.config config.h config.defs
    38         $(MAKE) -C kernel
    39         $(MAKE) -C uspace
    40         $(MAKE) -C boot
     38        $(MAKE) -C kernel PRECHECK=$(PRECHECK)
     39        $(MAKE) -C uspace PRECHECK=$(PRECHECK)
     40        $(MAKE) -C boot PRECHECK=$(PRECHECK)
    4141
    42 stanse: Makefile.config config.h config.defs
    43         $(MAKE) -C kernel clean
    44         $(MAKE) -C kernel EXTRA_TOOL=stanse
    45         $(STANSE) --checker ReachabilityChecker --jobfile kernel/kernel.job
     42precheck: clean
     43        $(MAKE) all PRECHECK=y
    4644
    4745cscope:
     
    5553
    5654config_default: HelenOS.config
    57         tools/config.py HelenOS.config default
     55        $(CONFIG) HelenOS.config default
    5856
    5957config: HelenOS.config
    60         tools/config.py HelenOS.config
     58        $(CONFIG) HelenOS.config
    6159
    6260distclean: clean
  • boot/arch/arm32/Makefile.inc

    re405228 r8786aa5  
    3030
    3131$(BASE)/image.boot:
    32         $(MAKE) -C arch/$(BARCH)/loader
     32        $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
    3333        cp arch/$(BARCH)/loader/image.boot $@
    3434
  • boot/arch/arm32/loader/Makefile

    re405228 r8786aa5  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/arm32/loader/Makefile.build

    re405228 r8786aa5  
    6565%.o: %.S $(DEPEND)
    6666        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     67ifeq ($(PRECHECK),y)
     68        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     69endif
    6770
    6871%.o: %.c $(DEPEND)
    6972        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     73ifeq ($(PRECHECK),y)
     74        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     75endif
    7076
    7177$(DEPEND):
  • boot/arch/arm32/loader/Makefile.common

    re405228 r8786aa5  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839
  • boot/arch/arm32/loader/Makefile.toolchain

    re405228 r8786aa5  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • boot/arch/ia64/Makefile.inc

    re405228 r8786aa5  
    3030
    3131$(BASE)/image.boot:
    32         $(MAKE) -C arch/$(BARCH)/loader
     32        $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
    3333        cp arch/$(BARCH)/loader/image.boot $@
    3434
  • boot/arch/ia64/loader/Makefile

    re405228 r8786aa5  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4545                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4646        done
    47         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     47        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4848        find . -name '*.o' -follow -exec rm \{\} \;
    4949        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/ia64/loader/Makefile.build

    re405228 r8786aa5  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     70endif
    6871
    6972%.o: %.c $(DEPEND)
    7073        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • boot/arch/ia64/loader/Makefile.common

    re405228 r8786aa5  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839HELLO = hello.efi
  • boot/arch/ia64/loader/Makefile.toolchain

    re405228 r8786aa5  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia64/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • boot/arch/mips32/Makefile.inc

    re405228 r8786aa5  
    3030
    3131$(BASE)/image.boot:
    32         $(MAKE) -C arch/$(BARCH)/loader
     32        $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
    3333        cp arch/$(BARCH)/loader/image.boot $@
    3434
  • boot/arch/mips32/loader/Makefile

    re405228 r8786aa5  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/mips32/loader/Makefile.build

    re405228 r8786aa5  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     70endif
    6871
    6972%.o: %.c $(DEPEND)
    7073        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • boot/arch/mips32/loader/Makefile.common

    re405228 r8786aa5  
    3636DEPEND_PREV = $(DEPEND).prev
    3737RAW = image.raw
     38JOB = image.job
    3839OUTPUT = image.boot
    3940
  • boot/arch/mips32/loader/Makefile.toolchain

    re405228 r8786aa5  
    3737TARGET = mipsel-linux-gnu
    3838TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32/bin
     39
     40JOBFILE = ../../../../tools/jobfile.py
    3941
    4042ifeq ($(MACHINE),lgxemul)
  • boot/arch/ppc32/Makefile.inc

    re405228 r8786aa5  
    4242
    4343arch/$(BARCH)/loader/image.boot:
    44         $(MAKE) -C arch/$(BARCH)/loader
     44        $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
    4545
    4646clean: generic_clean
  • boot/arch/ppc32/loader/Makefile

    re405228 r8786aa5  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/ppc32/loader/Makefile.build

    re405228 r8786aa5  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     70endif
    6871
    6972%.o: %.c $(DEPEND)
    7073        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • boot/arch/ppc32/loader/Makefile.common

    re405228 r8786aa5  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839
  • boot/arch/ppc32/loader/Makefile.toolchain

    re405228 r8786aa5  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • boot/arch/sparc64/Makefile.inc

    re405228 r8786aa5  
    5555
    5656arch/$(BARCH)/loader/image.boot:
    57         $(MAKE) -C arch/$(BARCH)/loader
     57        $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
    5858
    5959clean: generic_clean
  • boot/arch/sparc64/loader/Makefile

    re405228 r8786aa5  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/sparc64/loader/Makefile.build

    re405228 r8786aa5  
    7777%.o: %.S $(DEPEND)
    7878        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     79ifeq ($(PRECHECK),y)
     80        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     81endif
    7982
    8083%.o: %.c $(DEPEND)
    8184        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     85ifeq ($(PRECHECK),y)
     86        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     87endif
    8288
    8389$(DEPEND):
  • boot/arch/sparc64/loader/Makefile.common

    re405228 r8786aa5  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839
  • boot/arch/sparc64/loader/Makefile.toolchain

    re405228 r8786aa5  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • kernel/Makefile

    re405228 r8786aa5  
    3333all: ../version ../Makefile.config ../config.h ../config.defs
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build EXTRA_TOOL=$(EXTRA_TOOL)
     35        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3636
    3737clean:
    3838        rm -f $(DEPEND) $(DEPEND_PREV) $(RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* $(ARCH_INCLUDE) $(GENARCH_INCLUDE) arch/*/_link.ld
    3939        find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm \{\} \;
    40         find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o.preproc' -follow -exec rm \{\} \;
  • kernel/Makefile.build

    re405228 r8786aa5  
    375375%.o: %.S $(DEPEND)
    376376        $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@
     377ifeq ($(PRECHECK),y)
     378        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(GCC_CFLAGS) -D__ASM__
     379endif
    377380
    378381%.o: %.s $(DEPEND)
    379382        $(AS) $(AFLAGS) $< -o $@
     383ifeq ($(PRECHECK),y)
     384        $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
     385endif
    380386
    381387#
     
    385391test/fpu/%.o: test/fpu/%.c $(DEPEND)
    386392        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@
    387 ifeq ($(EXTRA_TOOL),stanse)
    388         ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
     393ifeq ($(PRECHECK),y)
     394        $(JOBFILE) $(JOB) $< $@ cc test $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    389395endif
    390396
     
    394400%.o: %.c $(DEPEND)
    395401        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) -c $< -o $@
    396 ifeq ($(EXTRA_TOOL),stanse)
    397         ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
     402ifeq ($(PRECHECK),y)
     403        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
    398404endif
    399405
     
    405411        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(EMPTY_MAP) -o $@ -Map $(MAP_PREV)
    406412        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    407         tools/genmap.py $(MAP_PREV) $(DUMP) $@
     413        $(GENMAP) $(MAP_PREV) $(DUMP) $@
    408414       
    409415        # Do it once again, this time to get correct even the symbols
     
    413419        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SIZEOK_MAP) -o $@ -Map $(MAP_PREV)
    414420        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    415         tools/genmap.py $(MAP_PREV) $(DUMP) $@
     421        $(GENMAP) $(MAP_PREV) $(DUMP) $@
    416422
    417423$(DEPEND): $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
  • kernel/Makefile.common

    re405228 r8786aa5  
    4444ARCH_INCLUDE = generic/include/arch
    4545GENARCH_INCLUDE = generic/include/genarch
     46
     47GENMAP = tools/genmap.py
     48JOBFILE = ../tools/jobfile.py
  • tools/jobfile.py

    re405228 r8786aa5  
    2828#
    2929"""
    30 Add a source/object file pair to a Stanse jobfile
     30Add a source/object file pair to a checker jobfile
    3131"""
    3232
     
    3737def usage(prname):
    3838        "Print usage syntax"
    39         print prname + " <JOBFILE> <SOURCE> <OBJECT> [OPTIONS ...]"
     39        print prname + " <JOBFILE> <SOURCE> <TARGET> <TOOL> <CATEGORY> [OPTIONS ...]"
    4040
    4141def main():
    42         if (len(sys.argv) < 4):
     42        if (len(sys.argv) < 6):
    4343                usage(sys.argv[0])
    4444                return
     
    4646        jobfname = sys.argv[1]
    4747        srcfname = sys.argv[2]
    48         objfname = sys.argv[3]
     48        tgtfname = sys.argv[3]
     49        toolname = sys.argv[4]
     50        category = sys.argv[5]
    4951        cwd = os.getcwd()
    50         options = " ".join(sys.argv[4:])
     52        options = " ".join(sys.argv[6:])
    5153       
    5254        jobfile = file(jobfname, "a")
    5355        fcntl.lockf(jobfile, fcntl.LOCK_EX)
    54         jobfile.write("{%s},{%s},{%s},{%s}\n" % (srcfname, objfname, cwd, options))
     56        jobfile.write("{%s},{%s},{%s},{%s},{%s},{%s}\n" % (srcfname, tgtfname, toolname, category, cwd, options))
    5557        fcntl.lockf(jobfile, fcntl.LOCK_UN)
    5658        jobfile.close()
  • uspace/Makefile

    re405228 r8786aa5  
    9898
    9999$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    100         $(MAKE) -C $(basename $@) all
     100        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    101101
    102102$(LIBS_BUILD): $(LIBC_BUILD)
    103         $(MAKE) -C $(basename $@) all
     103        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    104104
    105105$(LIBC_BUILD):
    106         $(MAKE) -C $(basename $@) all
     106        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
  • uspace/app/bdsh/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/bdsh/Makefile.build

    re405228 r8786aa5  
    7979%.o: %.c $(DEPEND)
    8080        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     81ifeq ($(PRECHECK),y)
     82        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     83endif
    8184
    8285$(DEPEND):
  • uspace/app/bdsh/Makefile.common

    re405228 r8786aa5  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
     40JOB = bdsh.job
    4041OUTPUT = bdsh
  • uspace/app/edit/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/edit/Makefile.build

    re405228 r8786aa5  
    5757%.o: %.c $(DEPEND)
    5858        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     59ifeq ($(PRECHECK),y)
     60        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     61endif
    5962
    6063$(DEPEND):
  • uspace/app/edit/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = edit.job
    3940OUTPUT = edit
  • uspace/app/getterm/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/getterm/Makefile.build

    re405228 r8786aa5  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     62ifeq ($(PRECHECK),y)
     63        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     64endif
    6265
    6366$(DEPEND):
  • uspace/app/getterm/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = getterm.job
    3940OUTPUT = getterm
  • uspace/app/init/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/init/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/app/init/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = init.job
    3940OUTPUT = init
  • uspace/app/klog/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/klog/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/app/klog/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = klog.job
    3940OUTPUT = klog
  • uspace/app/redir/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/redir/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/app/redir/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = redir.job
    3940OUTPUT = redir
  • uspace/app/tester/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/tester/Makefile.build

    re405228 r8786aa5  
    7373%.o: %.c $(DEPEND)
    7474        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     75ifeq ($(PRECHECK),y)
     76        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     77endif
    7578
    7679$(DEPEND):
  • uspace/app/tester/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = tester.job
    3940OUTPUT = tester
  • uspace/app/tetris/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/tetris/Makefile.build

    re405228 r8786aa5  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     62ifeq ($(PRECHECK),y)
     63        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     64endif
    6265
    6366$(DEPEND):
  • uspace/app/tetris/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = tetris.job
    3940OUTPUT = tetris
  • uspace/app/trace/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/trace/Makefile.build

    re405228 r8786aa5  
    6161%.o: %.c $(DEPEND)
    6262        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     63ifeq ($(PRECHECK),y)
     64        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     65endif
    6366
    6467$(DEPEND):
  • uspace/app/trace/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = trace.job
    3940OUTPUT = trace
  • uspace/lib/libblock/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBBLOCK)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBBLOCK)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libblock/Makefile.build

    re405228 r8786aa5  
    5353%.o: %.c $(DEPEND)
    5454        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     55ifeq ($(PRECHECK),y)
     56        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     57endif
    5558
    5659$(DEPEND):
  • uspace/lib/libblock/Makefile.common

    re405228 r8786aa5  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = libblock.job
    3637LIBBLOCK = libblock.a
  • uspace/lib/libc/Makefile

    re405228 r8786aa5  
    3333all: ../../../Makefile.config ../../../config.h ../../../config.defs
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build
     35        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3636
    3737clean:
    38         rm -f $(DEPEND) $(DEPEND_PREV) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld
     38        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld
    3939        find generic/ arch/*/ -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libc/Makefile.build

    re405228 r8786aa5  
    112112%.o: %.S $(DEPEND)
    113113        $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
     114ifeq ($(PRECHECK),y)
     115        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__
     116endif
    114117
    115118%.o: %.s $(DEPEND)
    116119        $(AS) $(AFLAGS) $< -o $@
     120ifeq ($(PRECHECK),y)
     121        $(JOBFILE) $(JOB) $< $@ as asm $(AFLAGS)
     122endif
    117123
    118124%.o: %.c $(DEPEND)
    119125        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     126ifeq ($(PRECHECK),y)
     127        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     128endif
    120129
    121130$(DEPEND): $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH)
  • uspace/lib/libc/Makefile.common

    re405228 r8786aa5  
    3333DEPEND = Makefile.depend
    3434DEPEND_PREV = $(DEPEND).prev
     35JOB = libc.job
    3536LIBC = libc.a
    3637INCLUDE_KERNEL = include/kernel
  • uspace/lib/libc/Makefile.toolchain

    re405228 r8786aa5  
    7878#
    7979
     80JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
     81
    8082ifeq ($(COMPILER),gcc_cross)
    8183        CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc
  • uspace/lib/libfs/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBFS)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBFS)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libfs/Makefile.build

    re405228 r8786aa5  
    5353%.o: %.c $(DEPEND)
    5454        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     55ifeq ($(PRECHECK),y)
     56        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     57endif
    5558
    5659$(DEPEND):
  • uspace/lib/libfs/Makefile.common

    re405228 r8786aa5  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = libfs.job
    3637LIBFS = libfs.a
  • uspace/lib/softfloat/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTFLOAT)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTFLOAT)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/softfloat/Makefile.build

    re405228 r8786aa5  
    6363%.o: %.c $(DEPEND)
    6464        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     65ifeq ($(PRECHECK),y)
     66        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     67endif
    6568
    6669$(DEPEND):
  • uspace/lib/softfloat/Makefile.common

    re405228 r8786aa5  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = softfloat.job
    3637LIBSOFTFLOAT = libsoftfloat.a
  • uspace/lib/softint/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTINT)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTINT)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/softint/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/lib/softint/Makefile.common

    re405228 r8786aa5  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = softint.job
    3637LIBSOFTINT = libsoftint.a
  • uspace/srv/bd/ata_bd/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/ata_bd/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/bd/ata_bd/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = ata_bd.job
    3940OUTPUT = ata_bd
  • uspace/srv/bd/file_bd/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/file_bd/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/bd/file_bd/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = file_bd.job
    3940OUTPUT = file_bd
  • uspace/srv/bd/gxe_bd/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/gxe_bd/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/bd/gxe_bd/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = gxe_bd.job
    3940OUTPUT = gxe_bd
  • uspace/srv/bd/rd/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/rd/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/bd/rd/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = rd.job
    3940OUTPUT = rd
  • uspace/srv/char/i8042/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/char/i8042/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/char/i8042/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = i8042.job
    3940OUTPUT = i8042
  • uspace/srv/cir/fhc/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/cir/fhc/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/cir/fhc/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = fhc.job
    3940OUTPUT = fhc
  • uspace/srv/cir/obio/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/cir/obio/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/cir/obio/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = obio.job
    3940OUTPUT = obio
  • uspace/srv/clip/Makefile

    re405228 r8786aa5  
    3333all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build
     35        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3636
    3737clean:
    38         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     38        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    3939        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/clip/Makefile.build

    re405228 r8786aa5  
    5757%.o: %.c $(DEPEND)
    5858        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     59ifeq ($(PRECHECK),y)
     60        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     61endif
    5962
    6063$(DEPEND):
  • uspace/srv/clip/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = clip.job
    3940OUTPUT = clip
  • uspace/srv/console/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/console/Makefile.build

    re405228 r8786aa5  
    7171%.o: %.c $(DEPEND)
    7272        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     73ifeq ($(PRECHECK),y)
     74        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     75endif
    7376
    7477%.o: %.ppm
  • uspace/srv/console/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = console.job
    3940OUTPUT = console
  • uspace/srv/devmap/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/devmap/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/devmap/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = devmap.job
    3940OUTPUT = devmap
  • uspace/srv/fb/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fb/Makefile.build

    re405228 r8786aa5  
    9595%.o: %.c $(DEPEND)
    9696        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     97ifeq ($(PRECHECK),y)
     98        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     99endif
    97100
    98101$(DEPEND):
  • uspace/srv/fb/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = fb.job
    3940OUTPUT = fb
  • uspace/srv/fs/devfs/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/devfs/Makefile.build

    re405228 r8786aa5  
    5959%.o: %.c $(DEPEND)
    6060        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     61ifeq ($(PRECHECK),y)
     62        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     63endif
    6164
    6265$(DEPEND):
  • uspace/srv/fs/devfs/Makefile.common

    re405228 r8786aa5  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
     40JOB = devfs.job
    4041OUTPUT = devfs
  • uspace/srv/fs/fat/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/fat/Makefile.build

    re405228 r8786aa5  
    6262%.o: %.c $(DEPEND)
    6363        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     64ifeq ($(PRECHECK),y)
     65        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     66endif
    6467
    6568$(DEPEND):
  • uspace/srv/fs/fat/Makefile.common

    re405228 r8786aa5  
    3939DEPEND = Makefile.depend
    4040DEPEND_PREV = $(DEPEND).prev
     41JOB = fat.job
    4142OUTPUT = fat
  • uspace/srv/fs/tmpfs/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/tmpfs/Makefile.build

    re405228 r8786aa5  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     62ifeq ($(PRECHECK),y)
     63        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     64endif
    6265
    6366$(DEPEND):
  • uspace/srv/fs/tmpfs/Makefile.common

    re405228 r8786aa5  
    3939DEPEND = Makefile.depend
    4040DEPEND_PREV = $(DEPEND).prev
     41JOB = tmpfs.job
    4142OUTPUT = tmpfs
  • uspace/srv/kbd/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/kbd/Makefile.build

    re405228 r8786aa5  
    159159%.o: %.c $(DEPEND)
    160160        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     161ifeq ($(PRECHECK),y)
     162        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     163endif
    161164
    162165$(DEPEND):
  • uspace/srv/kbd/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = kbd.job
    3940OUTPUT = kbd
  • uspace/srv/loader/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/loader/Makefile.build

    re405228 r8786aa5  
    6666%.o: %.c $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     70endif
    6871
    6972%.o: %.s $(DEPEND)
    7073        $(AS) $(AFLAGS) $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • uspace/srv/loader/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = loader.job
    3940OUTPUT = loader
  • uspace/srv/mouse/c_mouse/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/mouse/c_mouse/Makefile.build

    re405228 r8786aa5  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     62ifeq ($(PRECHECK),y)
     63        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     64endif
    6265
    6366$(DEPEND):
  • uspace/srv/mouse/c_mouse/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = c_mouse.job
    3940OUTPUT = c_mouse
  • uspace/srv/ns/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/ns/Makefile.build

    re405228 r8786aa5  
    5959%.o: %.c $(DEPEND)
    6060        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     61ifeq ($(PRECHECK),y)
     62        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     63endif
    6164
    6265$(DEPEND):
  • uspace/srv/ns/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = ns.job
    3940OUTPUT = ns
  • uspace/srv/part/mbr_part/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/part/mbr_part/Makefile.build

    re405228 r8786aa5  
    5858%.o: %.c $(DEPEND)
    5959        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     60ifeq ($(PRECHECK),y)
     61        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     62endif
    6063
    6164$(DEPEND):
  • uspace/srv/part/mbr_part/Makefile.common

    re405228 r8786aa5  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
     40JOB = mbr_part.job
    4041OUTPUT = mbr_part
  • uspace/srv/pci/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838$(LIBPCI):
    39         $(MAKE) -C libpci
     39        $(MAKE) -C libpci PRECHECK=$(PRECHECK)
    4040
    4141clean:
    4242        $(MAKE) -C libpci clean
    43         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     43        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4444        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/pci/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/pci/Makefile.common

    re405228 r8786aa5  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
     40JOB = pci.job
    4041OUTPUT = pci
  • uspace/srv/pci/libpci/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBPCI)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBPCI)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/pci/libpci/Makefile.build

    re405228 r8786aa5  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     58ifeq ($(PRECHECK),y)
     59        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     60endif
    5861
    5962$(DEPEND):
  • uspace/srv/pci/libpci/Makefile.common

    re405228 r8786aa5  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = libpci.job
    3637LIBPCI = libpci.a
  • uspace/srv/vfs/Makefile

    re405228 r8786aa5  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/vfs/Makefile.build

    re405228 r8786aa5  
    6161%.o: %.c $(DEPEND)
    6262        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     63ifeq ($(PRECHECK),y)
     64        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     65endif
    6366
    6467$(DEPEND):
  • uspace/srv/vfs/Makefile.common

    re405228 r8786aa5  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = vfs.job
    3940OUTPUT = vfs
Note: See TracChangeset for help on using the changeset viewer.