diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d955a4c..b1eb951 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,11 @@ -lib_LTLIBRARIES = libusbg.la -libusbg_la_SOURCES = usbg.c -libusbg_la_LDFLAGS = -version-info 0:1:0 -AM_CPPFLAGS=-I../include/ +lib_LTLIBRARIES = libusbgx.la +libusbgx_la_SOURCES = usbg.c +if TEST_GADGET_SCHEMES +libusbgx_la_SOURCES += usbg_schemes_libconfig.c +else +libusbgx_la_SOURCES += usbg_schemes_none.c +endif +libusbgx_la_LDFLAGS = $(LIBCONFIG_LIBS) +libusbgx_la_LDFLAGS += -version-info 0:0:0 +libusbgx_la_CFLAGS = $(LIBCONFIG_CFLAGS) +AM_CPPFLAGS=-I$(top_srcdir)/include/ |