X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=e65010d79cc185aa69c28e04e68c4cbdf5417830;hb=e33dcf90a0b0e510eb990c657eab88243d0ac5fd;hp=f6450f24551740ecb18ce531ac6374dec82ec58b;hpb=a93fb468885de8775f1d200625dac114d3050b1d;p=libserialport.git diff --git a/Makefile.am b/Makefile.am index f6450f2..e65010d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,9 +24,15 @@ AM_CPPFLAGS = -I$(top_srcdir) lib_LTLIBRARIES = libserialport.la -libserialport_la_SOURCES = serialport.c +libserialport_la_SOURCES = serialport.c libserialport_internal.h if LINUX -libserialport_la_SOURCES += linux_termios.c linux_termios.h +libserialport_la_SOURCES += linux.c linux_termios.c linux_termios.h +endif +if WIN32 +libserialport_la_SOURCES += windows.c +endif +if MACOSX +libserialport_la_SOURCES += macosx.c endif libserialport_la_LIBADD = $(LIBOBJS)