summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am8
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am7
-rw-r--r--src/interface.c (renamed from interface.c)0
-rw-r--r--src/interface.h (renamed from interface.h)0
-rw-r--r--src/pa-sink-ctl.c (renamed from pa-sink-ctl.c)0
-rw-r--r--src/pa-sink-ctl.h (renamed from pa-sink-ctl.h)0
-rw-r--r--src/sink.c (renamed from sink.c)0
-rw-r--r--src/sink.h (renamed from sink.h)0
-rw-r--r--src/sink_input.c (renamed from sink_input.c)0
-rw-r--r--src/sink_input.h (renamed from sink_input.h)0
12 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index f14c694..8bba070 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,4 +39,4 @@ depcomp
autom4te.cache/*
# Dependency tree
-.deps/*
+src/.deps/*
diff --git a/Makefile.am b/Makefile.am
index 8b4e688..af437a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1 @@
-bin_PROGRAMS = pa_sink_ctl
-pa_sink_ctl_SOURCES =interface.c pa-sink-ctl.c sink.c sink_input.c
-
-AM_CFLAGS =-std=c99 -pedantic -Wall -Werror @PULSE_CFLAGS@
-pa_sink_ctl_LDADD =@PULSE_LIBS@ @CURSES_LIBS@
-
-noinst_HEADERS = interface.h pa-sink-ctl.h sink.h sink_input.h
+SUBDIRS = src
diff --git a/configure.ac b/configure.ac
index e6a7615..34d004b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,9 +2,9 @@
AC_INIT([pa-sink-ctl], [0.1], [web2p10@wemelug.de])
AM_INIT_AUTOMAKE
-AC_CONFIG_SRCDIR([pa-sink-ctl.c])
+AC_CONFIG_SRCDIR([src/pa-sink-ctl.c])
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile])
# Checks for programs.
AC_PROG_CC
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..8b4e688
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,7 @@
+bin_PROGRAMS = pa_sink_ctl
+pa_sink_ctl_SOURCES =interface.c pa-sink-ctl.c sink.c sink_input.c
+
+AM_CFLAGS =-std=c99 -pedantic -Wall -Werror @PULSE_CFLAGS@
+pa_sink_ctl_LDADD =@PULSE_LIBS@ @CURSES_LIBS@
+
+noinst_HEADERS = interface.h pa-sink-ctl.h sink.h sink_input.h
diff --git a/interface.c b/src/interface.c
index c48b953..c48b953 100644
--- a/interface.c
+++ b/src/interface.c
diff --git a/interface.h b/src/interface.h
index d152c7d..d152c7d 100644
--- a/interface.h
+++ b/src/interface.h
diff --git a/pa-sink-ctl.c b/src/pa-sink-ctl.c
index 5fe67c1..5fe67c1 100644
--- a/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
diff --git a/pa-sink-ctl.h b/src/pa-sink-ctl.h
index eb14ad2..eb14ad2 100644
--- a/pa-sink-ctl.h
+++ b/src/pa-sink-ctl.h
diff --git a/sink.c b/src/sink.c
index 5abff14..5abff14 100644
--- a/sink.c
+++ b/src/sink.c
diff --git a/sink.h b/src/sink.h
index 78f5837..78f5837 100644
--- a/sink.h
+++ b/src/sink.h
diff --git a/sink_input.c b/src/sink_input.c
index 54f7c04..54f7c04 100644
--- a/sink_input.c
+++ b/src/sink_input.c
diff --git a/sink_input.h b/src/sink_input.h
index d16924c..d16924c 100644
--- a/sink_input.h
+++ b/src/sink_input.h