if ENABLE_STATIC_DRIVERS noinst_LTLIBRARIES = libpvfs.sys.la DRIVER_CFLAGS = DRIVER_LDFLAGS = else lib_LTLIBRARIES = libpvfs.sys.la DRIVER_CFLAGS = -shared DRIVER_LDFLAGS = -module -shared -avoid-version endif libpvfs_sys_la_SOURCES = \ globals.c \ driver.c \ irpctx.c \ async_handler.c \ create.c \ read.c \ write.c \ flush.c \ lock.c \ deviceio.c \ fsctrl.c \ queryfile.c \ querydir.c \ queryvol.c \ querysecdesc.c \ close.c \ create_file.c \ create_dir.c \ create_device.c \ alloc.c \ ccb.c \ fcb.c \ errno.c \ syswrap.c \ util_open.c \ util_dir.c \ unixpath.c \ pathcache.c \ string.c \ wildcard.c \ sharemode.c \ locking.c \ acl.c \ acl_xattr.c \ acl_posix.c \ attrib.c \ attrib_xattr.c \ util_security.c \ util_time.c \ fileBasicInfo.c \ fileStandardInfo.c \ fileAllInfo.c \ fileInternalInfo.c \ fileNameInfo.c \ fileBothDirInfo.c \ fileFullDirInfo.c \ fileIdBothDirInfo.c \ fileIdFullDirInfo.c \ fileNamesInfo.c \ fileDirInfo.c \ fileEaInfo.c \ fileFullEaInfo.c \ fileStreamInfo.c \ fileEndOfFileInfo.c \ fileAllocationInfo.c \ fileDispositionInfo.c \ fileRenameInfo.c \ fileFsAttribInfo.c \ fileFsVolInfo.c \ fileFsSizeInfo.c \ fileNetworkOpenInfo.c \ fileAccessInfo.c \ filePositionInfo.c \ fileModeInfo.c \ thread_worker.c \ work_queue.c \ oplock.c \ notify.c \ ioctlOpenFileInfo.c \ listq.c libpvfs_sys_la_CPPFLAGS = \ -I@top_srcdir@ \ -I@top_srcdir@/include \ -I@top_srcdir@/server/include \ -D_FILE_OFFSET_BITS=64 \ -DLW_ENABLE_THREADS=1 libpvfs_sys_la_CFLAGS = $(AM_CFLAGS) $(DRIVER_CFLAGS) libpvfs_sys_la_LIBADD = \ @top_builddir@/server/iomgr2/libiomgr2.la \ @UUID_LIBS@ \ @PTHREAD_LIBS@ \ @XATTR_LIBS@ libpvfs_sys_la_LDFLAGS = $(DRIVER_LDFLAGS)