Skip to content

Commit fc0b004

Browse files
authored
Fix debug build after b7f5b4b (Use cloop cmake build) (#8824)
1 parent ce08ec0 commit fc0b004

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

builds/win32/gen_helper.nmake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,21 @@ RPL_AWK_SRC=$(MISC)\def_awk.c
1919
RPL_GREP=$(FB_GEN_DIR)\isc_grep.exe
2020
RPL_GREP_SRC=$(MISC)\isc_grep.c
2121
# These utils are platform and build independent, use fixed temporary dir.
22+
UTL_TMP_DIR=$(FB_TEMP_DIR)\Release\misc
2223

2324
updateCloopInterfaces: $(API_H_FILE) $(API_PAS_FILE)
2425

26+
$(UTL_TMP_DIR):
27+
-mkdir $@ 2>nul
2528

2629
$(API_H_FILE): $(IDL_FILE)
2730
$(CLOOP) $(IDL_FILE) c++ $@ IDL_FB_INTERFACES_H Firebird I
2831

29-
$(RPL_AWK): $(RPL_AWK_SRC)
32+
$(RPL_AWK): $(RPL_AWK_SRC) $(UTL_TMP_DIR)
3033
# NMAKE strips trailing backslash during macro substitution that's why it is here and not in definition.
3134
$(CPP) /Fe$@ /Fo$(UTL_TMP_DIR)\ $(RPL_AWK_SRC)
3235

33-
$(RPL_GREP): $(RPL_GREP_SRC)
36+
$(RPL_GREP): $(RPL_GREP_SRC) $(UTL_TMP_DIR)
3437
$(CPP) /Fe$@ /Fo$(UTL_TMP_DIR)\ $(RPL_GREP_SRC)
3538

3639
$(FB_GEN_DIR)\iberror.pas: $(ERR_CONSTS_PAS) $(FB_ROOT_PATH)\src\include\firebird\impl\msg\*.h

0 commit comments

Comments
 (0)