summaryrefslogtreecommitdiff
path: root/Servers/AudioServer/Makefile
blob: 2955a06a974ed4e20d68bec85768959d6df63a78 (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
OBJS = \
    main.o \
    ASMixer.o \
    ASClientConnection.o \
    ASEventLoop.o

PROGRAM = AudioServer

LIB_DEPS = Core IPC Thread Pthread

EXTRA_CLEAN = AudioServerEndpoint.h AudioClientEndpoint.h

*.cpp: AudioServerEndpoint.h AudioClientEndpoint.h

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

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

install:
	mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/AudioServer/
	cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/AudioServer/

include ../../Makefile.common