Ignore:
Timestamp:
Aug 25, 2016, 11:46:25 PM (9 years ago)
Author:
bird
Message:

kWorker: A little more hacking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kWorker/Makefile.kmk

    r2836 r2838  
    2424#
    2525
    26 ## @todo fixme!!!
    27 KBUILD_WITH_STATIC_MSVCRT = 1
    2826
    2927SUB_DEPTH = ../..
     
    3230
    3331PROGRAMS += kWorker
    34 kWorker_TEMPLATE = BIN
     32kWorker_TEMPLATE = BIN-STATIC-THREADED
    3533kWorker_INCS = kStuff/include
    3634kWorker_DEFS.debug = K_STRICT
     
    3937kWorker_LIBS = \
    4038        $(kStuff_1_TARGET) \
    41         $(LIB_KDEP) \
    42         $(LIB_KUTIL)
     39        $(kWorkerLib_1_TARGET)
    4340include $(KBUILD_PATH)/sdks/WINDDK71.kmk
    4441kWorker_LIBS.win = \
    45         $(TEMPLATE_BIN_LIBS) \
     42        $(TEMPLATE_BIN-STATIC-THREADED_LIBS) \
    4643        $(PATH_SDK_WINDDK71_LIB_WNET)/ntdll.lib
    4744kWorker_LDFLAGS.win = \
     
    5047
    5148#
     49# Stuff from ../libs.  Need to rebuilt it with static CRT.
     50#
     51LIBRARIES += kWorkerLib
     52kWorkerLib_TEMPLATE = LIB-STATIC-THREADED
     53kWorkerLib_DEFPATH = ../lib # Need fix from r2837.
     54kWorkerLib_DEFPATH := $(PATH_SUB_CURRENT)/../lib
     55kWorkerLib_SOURCES = \
     56        crc32.c \
     57        md5.c
     58kWorkerLib_SOURCES.win = \
     59        nt_fullpath.c \
     60        quoted_spawn.c \
     61       nt/nthlpcore.c \
     62       nt/nthlpfs.c \
     63       nt/ntdir.c \
     64       nt/ntstat.c \
     65       nt/ntunlink.c
     66
     67#
    5268# kStuff library.
    5369#
    5470LIBRARIES += kStuff
    55 kStuff_TEMPLATE = LIB
     71kStuff_TEMPLATE = LIB-STATIC-THREADED
    5672kStuff_DEFS.debug = K_STRICT
    5773kStuff_INCS = kStuff/include
Note: See TracChangeset for help on using the changeset viewer.