summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-18 19:20:10 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-18 19:20:10 +0200
commitc9cb81aac55962bd6da36e0e4e23eb9061901a80 (patch)
treece982e70c6bfe2fe55b52b4fe2409164423a8e0e /src
Skeleton project.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am38
-rw-r--r--src/simplertp.cc28
-rw-r--r--src/simplertp.qrc5
3 files changed, 71 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..4804101
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,38 @@
+bin_PROGRAMS = simplertp
+
+simplertp_LDADD = $(QT_LIBS) $(AO_LIBS) \
+ $(shell ../tools/MocList o ) qrc_simplertp.o
+
+simplertp_CXXFLAGS = $(QT_CFLAGS) $(AO_CFLAGS)
+AM_CXXFLAGS = $(QT_CFLAGS)
+
+simplertp_SOURCES = \
+ simplertp.cc
+
+EXTRA_DIST = \
+ simplertp.qrc
+
+simplertp_MOC = $(shell ../tools/MocList cc )
+
+BUILT_SOURCES = $(simplertp_MOC) qrc_simplertp.cc
+
+CLEANFILES = $(BUILT_SOURCES)
+
+qrc_%.cc: %.qrc
+ rcc $< > $@
+
+%.moc.cc: %.h
+ $(QT_MOC) -o $@ $<
+
+#
+# ui files not used in this project...
+#%.h: %.ui
+# $(QT_UIC) -o $@ $<
+#
+#%.cc: %.ui
+# $(QT_UIC) -o $@ -impl $*.h $<
+
+# command for creating .res file from .rc on Win32
+%.res: %.rc
+ rc $<
+
diff --git a/src/simplertp.cc b/src/simplertp.cc
new file mode 100644
index 0000000..7d61579
--- /dev/null
+++ b/src/simplertp.cc
@@ -0,0 +1,28 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/***************************************************************************
+ * simplertp.cc
+ *
+ * Thu Sep 18 19:07:25 CEST 2014
+ * Copyright 2014 Bent Bisballe Nyeng
+ * deva@aasimon.org
+ ****************************************************************************/
+
+/*
+ * This file is part of SimpleRTP.
+ *
+ * SimpleRTP is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * SimpleRTP is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with SimpleRTP; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+
diff --git a/src/simplertp.qrc b/src/simplertp.qrc
new file mode 100644
index 0000000..ca52ef2
--- /dev/null
+++ b/src/simplertp.qrc
@@ -0,0 +1,5 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+<qresource>
+</qresource>
+</RCC>