Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 41ff5b3

Browse files
committed
Tweaks to ensure derived files all build correctly.
1 parent 63ffd35 commit 41ff5b3

File tree

6 files changed

+18
-7
lines changed

6 files changed

+18
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ kernel-standalone: kernel
4444
kernel-development: kernel
4545
$(MAKE) -C ./engine -f Makefile.kernel-development libkernel-development
4646

47-
kernel-server: kernel
47+
kernel-server:
4848
$(MAKE) -C ./engine -f Makefile.kernel-server libkernel-server
4949

5050
development: libz libgif libjpeg libpcre libpng libopenssl libexternal libcore kernel kernel-development

engine/Makefile.kernel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ SOURCES=\
4848
linuxstubs.cpp: src/linux.stubs
4949
../prebuilt/bin/Revolution.lnx "../tools/weak_stub_maker.lc" <./src/linux.stubs >./src/linuxstubs.cpp
5050

51+
include/revbuild.h: include/revbuild.h.in
52+
../prebuilt/bin/Revolution.lnx "./encode_version.rev" "./"
53+
54+
../_cache/linux/$(MODE)/$(NAME)/mcstring.o: include/revbuild.h
55+
5156
include Makefile.kernel-common

engine/Makefile.kernel-development

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ TYPE=archive
33

44
SOURCES= \
55
ide.cpp internal_development.cpp lextable.cpp mode_development.cpp \
6-
startupstack.cpp deploy.cpp deploy_linux.cpp deploy_windows.cpp \
6+
deploy.cpp deploy_linux.cpp deploy_windows.cpp \
77
deploy_macosx.cpp deploy_capsule.cpp deploy_sign.cpp deploy_file.cpp \
88
deploy_dmg.cpp bsdiff_build.cpp encodederrors.cpp
99

1010
KERNEL_DEFINES=\
1111
MODE_DEVELOPMENT
1212

13-
hashedstrings.cpp: src/lextable.cpp
13+
src/hashedstrings.cpp: src/lextable.cpp
1414
../prebuilt/bin/Revolution.lnx "./hash_strings.rev" "./src/lextable.cpp" "./src/hashedstrings.cpp" "../prebuilt/bin/perfect.lnx"
1515

1616
encodederrors.cpp: src/executionerrors.h src/parseerrors.h
1717
../prebuilt/bin/Revolution.lnx "./encode_errors.rev" "./src" "./src/encodederrors.cpp"
1818

19-
libkernel-development: hashedstrings.cpp
19+
../_cache/linux/$(MODE)/$(NAME)/ide.o: src/hashedstrings.cpp
2020

2121
include Makefile.kernel-common

engine/Makefile.kernel-server

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,15 @@ CUSTOM_CCFLAGS=\
5252
-Wall -Wno-unused-variable -Wno-switch -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-strict-aliasing \
5353
-fmessage-length=0
5454

55+
include/revbuild.h: include/revbuild.h.in
56+
../prebuilt/bin/Revolution.lnx "./encode_version.rev" "./"
57+
5558
linuxstubs.cpp: src/linux.stubs
56-
../tools/Revolution.lnx "../tools/weak_stub_maker.rev" <./src/linux.stubs >./src/linuxstubs.cpp
59+
../prebuilt/bin/Revolution.lnx "../tools/weak_stub_maker.rev" <./src/linux.stubs >./src/linuxstubs.cpp
5760

5861
encodederrors.cpp: src/executionerrors.h src/parseerrors.h
59-
../tools/Revolution.lnx "./encode_errors.rev" "./src" "./src/encodederrors.cpp"
62+
../prebuilt/bin/Revolution.lnx "./encode_errors.rev" "./src" "./src/encodederrors.cpp"
63+
64+
../_cache/linux/$(MODE)/$(NAME)/mcstring.o: include/revbuild.h
6065

6166
include ../rules/archive.linux.makefile

rules/archive.linux.makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ $(TARGET_PATH): $(OBJECTS) $(DEPS)
1818

1919
.PHONY: $(NAME)
2020
$(NAME): $(TARGET_PATH)
21+
#

rules/common.linux.makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ GLOBAL_INCLUDES=\
3636
$(SOLUTION_DIR)/thirdparty/libzip/include \
3737
$(SOLUTION_DIR)/thirdparty/libopenssl/include \
3838
$(SOLUTION_DIR)/thirdparty/libcurl/include
39-
39+
4040
GLOBAL_LIBS=\
4141
$(SOLUTION_DIR)/prebuilt/lib
4242

0 commit comments

Comments
 (0)