Merge pull request #415 from texane/chipid_refactor
[fw/stlink] / Makefile.am
index fc95184bc738b636bf0e9285ae6d6c603bf7f83a..a3114c6e4799e8dcc8c20c4090929272e27fdfe6 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.am -- Process this file with automake to produce Makefile.in
 
-SUBDIRS = . $(MAYBE_GUI)
+SUBDIRS = . $(STLINK_HAS_GUI)
 
 AUTOMAKE_OPTIONS = subdir-objects
 
@@ -18,6 +18,7 @@ st_info_SOURCES = src/tools/info.c
 st_util_SOURCES = src/gdbserver/gdb-remote.c src/gdbserver/gdb-remote.h src/gdbserver/gdb-server.c src/mingw/mingw.c src/mingw/mingw.h
 
 CFILES = \
+       src/chipid.c \
        src/common.c \
        src/usb.c \
        src/sg.c \
@@ -29,6 +30,7 @@ endif
 
 HFILES = \
        include/stlink.h \
+       include/stlink/chipid.h \
        include/stlink/usb.h \
        include/stlink/sg.h \
        include/stlink/logging.h \