update COPYING to latest version (Uwe Hermann)
[librfid] / Makefile.am
index 5ba35ad..0d087f4 100644 (file)
@@ -1,9 +1,17 @@
 AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
 
-SUBDIRS = etc include src utils
-LINKOPTS = -lusb
+include $(top_srcdir)/Makefile.flags.am
 
-AM_CFLAGS = -std=gnu99
+SUBDIRS = etc include src
+
+if ENABLE_FIRMWARE
+else
+SUBDIRS += utils
+endif
+
+if ENABLE_WIN32
+SUBDIRS += win32
+endif
 
 EXTRA_DIST = LICENSING librfid.spec openct-cm5121-librfid.patch