mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-26 11:34:33 +00:00
Relocate source fiiles to src/ subdirectory
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
aae505fb33
commit
ed5c9bb06c
15 files changed
+19
-19
No files matched your search
+1
-15
@@ -1,23 +1,9 @@
|
|||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
lib_LTLIBRARIES = libuev.la
|
|
||||||
libuev_la_SOURCES = uev.c io.c timer.c signal.c cron.c
|
|
||||||
libuev_la_CPPFLAGS = -D_GNU_SOURCE -D_TIME_BITS=64
|
|
||||||
libuev_la_CFLAGS = -W -Wall -Wextra
|
|
||||||
libuev_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:2:0
|
|
||||||
|
|
||||||
noinst_PROGRAMS = bench
|
|
||||||
bench_CPPFLAGS = -D_GNU_SOURCE
|
|
||||||
bench_LDADD = libuev.la
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgincludedir = $(includedir)/uev
|
|
||||||
pkgconfig_DATA = libuev.pc
|
|
||||||
pkginclude_HEADERS = uev.h private.h queue.h
|
|
||||||
doc_DATA = README.md LICENSE
|
doc_DATA = README.md LICENSE
|
||||||
EXTRA_DIST = README.md LICENSE AUTHORS ChangeLog.md
|
EXTRA_DIST = README.md LICENSE AUTHORS ChangeLog.md
|
||||||
DIST_SUBDIRS = examples tests
|
DIST_SUBDIRS = examples tests
|
||||||
SUBDIRS = tests
|
SUBDIRS = src tests
|
||||||
|
|
||||||
## Generate .deb package
|
## Generate .deb package
|
||||||
package:
|
package:
|
||||||
|
|||||||
+2
-2
@@ -2,9 +2,9 @@ AC_INIT(libuev, 1.6.0-rc1, https://github.com/troglobit/libuev/issues)
|
|||||||
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
|
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(uev.c)
|
AC_CONFIG_SRCDIR(src/uev.c)
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AC_CONFIG_FILES([Makefile libuev.pc examples/Makefile tests/Makefile])
|
AC_CONFIG_FILES([Makefile src/libuev.pc src/Makefile examples/Makefile tests/Makefile])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
lib_LTLIBRARIES = libuev.la
|
||||||
|
libuev_la_SOURCES = uev.c io.c timer.c signal.c cron.c
|
||||||
|
libuev_la_CPPFLAGS = -D_GNU_SOURCE -D_TIME_BITS=64
|
||||||
|
libuev_la_CFLAGS = -W -Wall -Wextra
|
||||||
|
libuev_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:2:0
|
||||||
|
|
||||||
|
noinst_PROGRAMS = bench
|
||||||
|
bench_CPPFLAGS = -D_GNU_SOURCE
|
||||||
|
bench_LDADD = libuev.la
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgincludedir = $(includedir)/uev
|
||||||
|
pkgconfig_DATA = libuev.pc
|
||||||
|
pkginclude_HEADERS = uev.h private.h queue.h
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -13,4 +13,4 @@ check_PROGRAMS = $(TESTS)
|
|||||||
# Ignore warnings about unused result, in e.g. write()
|
# Ignore warnings about unused result, in e.g. write()
|
||||||
CFLAGS = -W -Wall -Wextra -Wno-unused-result
|
CFLAGS = -W -Wall -Wextra -Wno-unused-result
|
||||||
CPPFLAGS = -D_GNU_SOURCE
|
CPPFLAGS = -D_GNU_SOURCE
|
||||||
LDADD = -L../ ../libuev.la
|
LDADD = -L../src ../src/libuev.la
|
||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "../uev.h"
|
#include "../src/uev.h"
|
||||||
|
|
||||||
#define UNUSED(arg) arg __attribute__ ((unused))
|
#define UNUSED(arg) arg __attribute__ ((unused))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user