summaryrefslogtreecommitdiff
path: root/Services/WindowServer/Makefile
blob: 064e2bd0f21075524947ce5cc698dfde3535b4b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
OBJS = \
    AppletManager.o \
    Button.o \
    ClientConnection.o \
    Clipboard.o \
    Compositor.o \
    Cursor.o \
    EventLoop.o \
    Menu.o \
    MenuBar.o \
    MenuItem.o \
    MenuManager.o \
    Screen.o \
    Window.o \
    WindowFrame.o \
    WindowManager.o \
    WindowSwitcher.o \
    main.o

PROGRAM = WindowServer

LIB_DEPS = Gfx Core Thread Pthread IPC

*.cpp: WindowServerEndpoint.h WindowClientEndpoint.h

WindowServerEndpoint.h: WindowServer.ipc | IPCCOMPILER
	@echo "IPC $<"; $(IPCCOMPILER) $< > $@

WindowClientEndpoint.h: WindowClient.ipc | IPCCOMPILER
	@echo "IPC $<"; $(IPCCOMPILER) $< > $@

EXTRA_CLEAN = WindowServerEndpoint.h WindowClientEndpoint.h

install:
	mkdir -p ../../Root/usr/include/WindowServer/
	cp *.h ../../Root/usr/include/WindowServer/

include ../../Makefile.common