summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am32
1 files changed, 31 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 91d3d9b3d..b32f5b85e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
#
# This file is part of nsmux.
#
@@ -17,6 +17,10 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+noinst_LIBRARIES =
+MOSTLYCLEANFILES =
+
+
AM_CPPFLAGS =
AM_CFLAGS =
@@ -30,6 +34,15 @@ AM_CFLAGS += \
-Wall
+# MIG Setup.
+
+# MIGCOM.
+MIGCOM = $(MIG) -n -cc cat - /dev/null
+
+# Makerules.mig: how to do some MIG-related things.
+include Makerules.mig.am
+
+
bin_PROGRAMS += \
nsmux
@@ -44,6 +57,23 @@ nsmux_SOURCES = \
magic.c \
trans.c
+
+# Helper, awaiting a proper solution.
+%.server.defs.c:
+ rm -f $@
+ echo \
+ > $@ \
+ '#include <$*.defs>'
+
+# Server stubs.
+nodist_lib_dep_tr_for_defs_a_SOURCES += \
+ mach/notify.server.defs.c
+nodist_nsmux_SOURCES = \
+ mach/notify.server.h \
+ mach/notify.server.c \
+ mach/notify.server.msgids
+
+
nsmux_CPPFLAGS = \
-DDEBUG \
$(AM_CPPFLAGS)