From 9cf4c9746817c6af5eaa7eaba11877c255117e7a Mon Sep 17 00:00:00 2001 From: angt Date: Wed, 11 Nov 2015 09:14:35 +0100 Subject: [PATCH] Move code in src --- Makefile.am | 2 +- configure.ac | 4 ++-- common-static.h => src/common-static.h | 0 common.h => src/common.h | 0 main.c => src/main.c | 0 option.c => src/option.c | 0 option.h => src/option.h | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename common-static.h => src/common-static.h (100%) rename common.h => src/common.h (100%) rename main.c => src/main.c (100%) rename option.c => src/option.c (100%) rename option.h => src/option.h (100%) diff --git a/Makefile.am b/Makefile.am index cfb1e05..d4e0935 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ bin_PROGRAMS = glorytun -glorytun_SOURCES = main.c option.c option.h common.h common-static.h +glorytun_SOURCES = src/common.h src/common-static.h src/main.c src/option.c src/option.h glorytun_CFLAGS = $(libsodium_CFLAGS) glorytun_LDADD = $(libsodium_LIBS) diff --git a/configure.ac b/configure.ac index 5652ede..9030ec2 100644 --- a/configure.ac +++ b/configure.ac @@ -3,10 +3,10 @@ AC_INIT([glorytun], [0.0.1], [https://github.com/angt/glorytun/issues], [glorytun], [https://github.com/angt/glorytun]) -AM_INIT_AUTOMAKE([1.9 -Wall -Werror foreign tar-ustar]) +AM_INIT_AUTOMAKE([1.9 -Wall -Werror foreign tar-ustar subdir-objects]) AM_DEP_TRACK AM_SILENT_RULES([yes]) -AC_CONFIG_SRCDIR([common.h]) +AC_CONFIG_SRCDIR([src/common.h]) AC_PROG_CC_C99 AC_USE_SYSTEM_EXTENSIONS AC_SEARCH_LIBS([getaddrinfo], [resolv nsl]) diff --git a/common-static.h b/src/common-static.h similarity index 100% rename from common-static.h rename to src/common-static.h diff --git a/common.h b/src/common.h similarity index 100% rename from common.h rename to src/common.h diff --git a/main.c b/src/main.c similarity index 100% rename from main.c rename to src/main.c diff --git a/option.c b/src/option.c similarity index 100% rename from option.c rename to src/option.c diff --git a/option.h b/src/option.h similarity index 100% rename from option.h rename to src/option.h