1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 01:31:01 +00:00
serenity/Libraries/LibDesktop/Makefile
Nicholas Hollett b7810a31c3 LibDesktop: Switch to LaunchServer for DesktopServices::open
Moves DirectoryServices out of LibCore (because we need to link with
LibIPC), renames it Desktop::Launcher (because Desktop::DesktopServices
doesn't scan right) and ports it to use the LaunchServer which is now
responsible for starting programs for a file.
2020-05-09 15:13:32 +02:00

20 lines
673 B
Makefile

OBJS = \
Launcher.o
LIBRARY = libdesktop.a
# HACK: LaunchServer builds after LibDesktop so we need to explicitly generate these IPC headers
Launcher.cpp: ../../Services/LaunchServer/LaunchServerEndpoint.h ../../Services/LaunchServer/LaunchClientEndpoint.h
../../Services/LaunchServer/LaunchServerEndpoint.h:
$(MAKE) -C $(dir $(@)) LaunchServerEndpoint.h
../../Services/LaunchServer/LaunchClientEndpoint.h:
$(MAKE) -C $(dir $(@)) LaunchClientEndpoint.h
install:
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibDesktop/
cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibDesktop/
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
include ../../Makefile.common