Split out autojunk and actual code files.

This commit is contained in:
Romain Tartiere 2010-01-08 11:46:23 +00:00
parent 8a9d90210a
commit 32e740ea6d
9 changed files with 7 additions and 8 deletions

View file

@ -41,5 +41,5 @@ PKG_CHECK_MODULES([LIBNFC], [libnfc], [], [AC_MSG_ERROR([libnfc is mandatory.])]
PKG_CONFIG_REQUIRES="libnfc"
AC_SUBST([PKG_CONFIG_REQUIRES])
AC_OUTPUT([Makefile libfreefare.pc])
AC_OUTPUT([Makefile libfreefare/Makefile libfreefare.pc])

View file

@ -11,6 +11,3 @@ libfreefare_la_HEADERS = freefare.h
libfreefare_ladir = $(includedir)
EXTRA_DIST = freefare_internal.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libfreefare.pc

View file

@ -1,8 +1,10 @@
LMF_SRCDIR= ${.CURDIR}/..
LMF_SRCDIR= ${.CURDIR}/../libfreefare
.PATH: ${LMF_SRCDIR}
#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 \
test_authenticate.c \
@ -30,7 +32,7 @@ LDADD+= -lnfc
CFLAGS+= -std=c99
CFLAGS+= -ggdb
CFLAGS+= -Wall -pedantic
CFLAGS+= -I${LMF_SRCDIR} -I.
CFLAGS+= -I${LMF_SRCDIR} -I. -I..
.PHONY: check test
check test: libfreefare_test

View file

@ -1,6 +1,6 @@
#include "test.h"
#include "../freefare_internal.h"
#include "freefare_internal.h"
DEFINE_TEST(test_mad)
{