LibGUI: Generate NotificationServer IPC messages during build

I hacked this to skip using flock since NotificationServer and LibGUI
depend on each other. There's probably a better solution.
This commit is contained in:
Andreas Kling 2020-02-16 22:37:04 +01:00
parent 30549502ca
commit a78bc5e6fc
Notes: sideshowbarker 2024-07-19 09:16:02 +09:00

View file

@ -72,13 +72,17 @@ LIBRARY = libgui.a
Application.cpp: ../../Servers/WindowServer/WindowServerEndpoint.h
Notification.cpp: ../../Servers/NotificationServer/NotificationServerEndpoint.h
../../Servers/WindowServer/WindowServerEndpoint.h:
@flock $(dir $(@)) $(MAKE) -C $(dir $(@))
# HACK: NotificationServer depends on LibGUI so we don't flock for these..
Notification.cpp: ../../Servers/NotificationServer/NotificationServerEndpoint.h ../../Servers/NotificationServer/NotificationClientEndpoint.h
../../Servers/NotificationServer/NotificationServerEndpoint.h:
@flock $(dir $(@)) $(MAKE) -C $(dir $(@))
$(MAKE) -C $(dir $(@)) NotificationServerEndpoint.h
../../Servers/NotificationServer/NotificationClientEndpoint.h:
$(MAKE) -C $(dir $(@)) NotificationClientEndpoint.h
install:
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/