Split out autojunk and actual code files.
This commit is contained in:
parent
8a9d90210a
commit
32e740ea6d
9 changed files with 7 additions and 8 deletions
|
@ -41,5 +41,5 @@ PKG_CHECK_MODULES([LIBNFC], [libnfc], [], [AC_MSG_ERROR([libnfc is mandatory.])]
|
||||||
PKG_CONFIG_REQUIRES="libnfc"
|
PKG_CONFIG_REQUIRES="libnfc"
|
||||||
AC_SUBST([PKG_CONFIG_REQUIRES])
|
AC_SUBST([PKG_CONFIG_REQUIRES])
|
||||||
|
|
||||||
AC_OUTPUT([Makefile libfreefare.pc])
|
AC_OUTPUT([Makefile libfreefare/Makefile libfreefare.pc])
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,3 @@ libfreefare_la_HEADERS = freefare.h
|
||||||
libfreefare_ladir = $(includedir)
|
libfreefare_ladir = $(includedir)
|
||||||
|
|
||||||
EXTRA_DIST = freefare_internal.h
|
EXTRA_DIST = freefare_internal.h
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = libfreefare.pc
|
|
|
@ -1,8 +1,10 @@
|
||||||
LMF_SRCDIR= ${.CURDIR}/..
|
LMF_SRCDIR= ${.CURDIR}/../libfreefare
|
||||||
.PATH: ${LMF_SRCDIR}
|
.PATH: ${LMF_SRCDIR}
|
||||||
|
|
||||||
#LMF_SRCS!= ${MAKE} -f ${LMF_SRCDIR}/Makefile -V SRCS
|
#LMF_SRCS!= ${MAKE} -f ${LMF_SRCDIR}/Makefile -V SRCS
|
||||||
LMF_SRCS= ../mifare_classic.c ../mad.c ../mifare_application.c
|
LMF_SRCS= ${LMF_SRCDIR}/mifare_classic.c \
|
||||||
|
${LMF_SRCDIR}/mad.c \
|
||||||
|
${LMF_SRCDIR}/mifare_application.c
|
||||||
|
|
||||||
TESTS= test_read_sector_0.c \
|
TESTS= test_read_sector_0.c \
|
||||||
test_authenticate.c \
|
test_authenticate.c \
|
||||||
|
@ -30,7 +32,7 @@ LDADD+= -lnfc
|
||||||
CFLAGS+= -std=c99
|
CFLAGS+= -std=c99
|
||||||
CFLAGS+= -ggdb
|
CFLAGS+= -ggdb
|
||||||
CFLAGS+= -Wall -pedantic
|
CFLAGS+= -Wall -pedantic
|
||||||
CFLAGS+= -I${LMF_SRCDIR} -I.
|
CFLAGS+= -I${LMF_SRCDIR} -I. -I..
|
||||||
|
|
||||||
.PHONY: check test
|
.PHONY: check test
|
||||||
check test: libfreefare_test
|
check test: libfreefare_test
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
#include "../freefare_internal.h"
|
#include "freefare_internal.h"
|
||||||
|
|
||||||
DEFINE_TEST(test_mad)
|
DEFINE_TEST(test_mad)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue