Remove some dummy files

This commit is contained in:
Alex Kotov 2020-12-13 15:42:15 +05:00
parent 80e1df4a4e
commit f2df81f40a
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
8 changed files with 3 additions and 49 deletions

1
.gitignore vendored
View File

@ -34,7 +34,6 @@
/tests/test*.log
/tests/test*.trs
/examples/dummy
/examples/raw_receiver
/examples/raw_sender
/tests/test_dummy

View File

@ -9,7 +9,6 @@ AM_CFLAGS = \
lib_LIBRARIES = libshmemq.a
TESTS = \
examples/dummy \
tests/test_dummy
noinst_PROGRAMS = \
@ -17,13 +16,7 @@ noinst_PROGRAMS = \
examples/raw_receiver \
examples/raw_sender
libshmemq_a_SOURCES = \
src/dummy.c \
src/main.c
examples_dummy_SOURCES = \
$(libshmemq_a_SOURCES) \
examples/dummy.c
libshmemq_a_SOURCES = src/main.c
examples_raw_receiver_SOURCES = \
$(libshmemq_a_SOURCES) \

View File

@ -6,7 +6,7 @@ AC_INIT([libshmemq],
[https://github.com/kotovalexarian/libshmemq])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/dummy.c])
AC_CONFIG_SRCDIR([src/main.c])
AC_CANONICAL_HOST

View File

@ -1,8 +0,0 @@
#include <shmemq/dummy.h>
int main()
{
shmemq_dummy();
return 0;
}

View File

@ -1,3 +1 @@
nobase_include_HEADERS = \
shmemq.h \
shmemq/dummy.h
nobase_include_HEADERS = shmemq.h

View File

@ -1,14 +0,0 @@
#ifndef SHMEMQ_INCLUDED_DUMMY
#define SHMEMQ_INCLUDED_DUMMY 1
#ifdef __cplusplus
extern "C" {
#endif
void shmemq_dummy();
#ifdef __cplusplus
}
#endif
#endif

View File

@ -1,5 +0,0 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
void shmemq_dummy() {}

View File

@ -1,13 +1,4 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <shmemq.h>
#include <shmemq/dummy.h>
int main()
{
shmemq_dummy();
return 0;
}