1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

Build: consider IPCCOMPILER and FORMCOMPILER just for ordering

Build them if they don't exist, but don't care about them being
newer or older than the target.

I believe this is what was causing build loops where IPCCompiler was
being run a second time, rebuilding its .h file, then a library
would depend on that .h file and get re-archived, then an
application would need relinking, and something in that whole
process would trigger IPCCompiler running again touching its .h
file.
This commit is contained in:
joshua stein 2019-12-27 23:53:54 -06:00 committed by Andreas Kling
parent 0b501335f5
commit b624eaaf78
4 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ LIB_DEPS = GUI Draw Core IPC
FontEditor.cpp: UI_FontEditorBottom.h
UI_FontEditorBottom.h: FontEditorBottom.frm FORMCOMPILER
UI_FontEditorBottom.h: FontEditorBottom.frm | FORMCOMPILER
$(QUIET) $(FORMCOMPILER) $< > $@
EXTRA_CLEAN = UI_FontEditorBottom.h

View file

@ -12,10 +12,10 @@ EXTRA_CLEAN = AudioServerEndpoint.h AudioClientEndpoint.h
*.cpp: AudioServerEndpoint.h AudioClientEndpoint.h
AudioServerEndpoint.h: AudioServer.ipc IPCCOMPILER
AudioServerEndpoint.h: AudioServer.ipc | IPCCOMPILER
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
AudioClientEndpoint.h: AudioClient.ipc IPCCOMPILER
AudioClientEndpoint.h: AudioClient.ipc | IPCCOMPILER
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
install:

View file

@ -12,10 +12,10 @@ LIB_DEPS = Core IPC
*.cpp: ProtocolServerEndpoint.h ProtocolClientEndpoint.h
ProtocolServerEndpoint.h: ProtocolServer.ipc IPCCOMPILER
ProtocolServerEndpoint.h: ProtocolServer.ipc | IPCCOMPILER
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
ProtocolClientEndpoint.h: ProtocolClient.ipc IPCCOMPILER
ProtocolClientEndpoint.h: ProtocolClient.ipc | IPCCOMPILER
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
include ../../Makefile.common

View file

@ -22,10 +22,10 @@ LIB_DEPS = Draw Core Thread Pthread IPC
*.cpp: WindowServerEndpoint.h WindowClientEndpoint.h
WindowServerEndpoint.h: WindowServer.ipc IPCCOMPILER
WindowServerEndpoint.h: WindowServer.ipc | IPCCOMPILER
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
WindowClientEndpoint.h: WindowClient.ipc IPCCOMPILER
WindowClientEndpoint.h: WindowClient.ipc | IPCCOMPILER
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
EXTRA_CLEAN = WindowServerEndpoint.h WindowClientEndpoint.h