summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: e7d31c62a66880fb997ab8ff050c65334c045e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6

SUBDIRS = etc include src

DEFAULT_AM_CFLAGS = -std=gnu99

if ENABLE_WIN32
SUBDIRS += win32
LINKOPTS = -mno-cygwin
AM_CFLAGS = $(DEFAULT_AM_CFLAGS) -mno-cygwin
else
LINKOPTS = -lusb
AM_CFLAGS = $(DEFAULT_AM_CFLAGS)
endif

if ENABLE_FIRMWARE
AM_CFLAGS += -DLIBRFID_FIRMWARE
else
SUBDIRS += utils
endif

EXTRA_DIST = LICENSING librfid.spec openct-cm5121-librfid.patch

$(OBJECTS): libtool
libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck
personal git repositories of Harald Welte. Your mileage may vary