commit 02ddb7fa2a15abddc2b5e206d03ffa694d203a81 Author: Kamal Mostafa Date: Fri May 20 08:16:52 2011 -0700 project-setup: project prototype files diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..00f7bb3 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Kamal Mostafa diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..9aef3bf --- /dev/null +++ b/COPYING @@ -0,0 +1,2 @@ +NO LICENSE HAS BEEN SPECIFIED OR GRANTED FOR THIS WORK, +WHICH WAS PREPARED BY: Kamal Mostafa . diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..af437a6 --- /dev/null +++ b/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = src diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..631d232 --- /dev/null +++ b/configure.ac @@ -0,0 +1,51 @@ +dnl +dnl configure.ac Generated by project-setup +dnl + +AC_DEFUN([PKG_NAME], [minimodem]) +AC_DEFUN([PKG_VERSION], [0.1.0]) +AC_DEFUN([PKG_AUTHOR], [Kamal Mostafa ]) +AC_DEFUN([PKG_BUGS_TO], [kamal@whence.com]) + + +AC_PREREQ([2.64]) + +AC_INIT(PKG_NAME, PKG_VERSION, PKG_BUGS_TO) + +dnl Release versioning info +VERSION=PKG_VERSION +AC_SUBST(VERSION) + +AM_INIT_AUTOMAKE +AC_CONFIG_SRCDIR([src/Makefile.in]) + +AC_CONFIG_HEADERS([config.h]) + +AC_CONFIG_MACRO_DIR([m4]) + +# Checks for programs. +AC_PROG_CC +# AC_PROG_RANLIB + +# Checks for libraries. +PKG_CHECK_MODULES(DEPS, [ + glib-2.0 + ]) +AC_SUBST(DEPS_CFLAGS) +AC_SUBST(DEPS_LIBS) + +# Checks for header files. +# AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +# AC_HEADER_STDBOOL +# AC_TYPE_PID_T + +# Checks for library functions. +# AC_FUNC_FORK + +AC_CONFIG_FILES([ + Makefile + src/Makefile + ]) +AC_OUTPUT diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..473d775 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,12 @@ +AM_CFLAGS = -Wall -Werror + +INCLUDES = $(DEPS_CFLAGS) + + +bin_PROGRAMS = minimodem + +minimodem_LDADD = $(DEPS_LIBS) +minimodem_VERSION = 0.1.1 +minimodem_SOURCES = junkprog.c + + diff --git a/src/junkprog.c b/src/junkprog.c new file mode 100644 index 0000000..2b1aac9 --- /dev/null +++ b/src/junkprog.c @@ -0,0 +1,11 @@ +#define G_LOG_DOMAIN "minimodem" + +#include + +int +main() +{ + g_debug("hello world from junkprog"); + return 0; +} +