summaryrefslogtreecommitdiff
path: root/Services/AudioServer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/AudioServer/Makefile')
-rw-r--r--Services/AudioServer/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Services/AudioServer/Makefile b/Services/AudioServer/Makefile
new file mode 100644
index 0000000000..7b6b3dd031
--- /dev/null
+++ b/Services/AudioServer/Makefile
@@ -0,0 +1,24 @@
+OBJS = \
+ main.o \
+ ASMixer.o \
+ ASClientConnection.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