summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/Makefile
blob: 508c7de1bd3f76a5fc0e431ff8eaf01b0e41107f (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
OBJS = \
    WSEventLoop.o \
    WSWindow.o \
    WSWindowManager.o \
    WSScreen.o \
    WSMenuBar.o \
    WSMenu.o \
    WSMenuItem.o \
    WSClientConnection.o \
    WSWindowSwitcher.o \
    WSClipboard.o \
    WSCursor.o \
    WSWindowFrame.o \
    WSButton.o \
    WSCompositor.o \
    WSMenuManager.o \
    main.o

PROGRAM = WindowServer

LIB_DEPS = Draw 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