summaryrefslogtreecommitdiff
path: root/libusal/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libusal/CMakeLists.txt')
-rw-r--r--libusal/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/libusal/CMakeLists.txt b/libusal/CMakeLists.txt
new file mode 100644
index 0000000..b6fc8e4
--- /dev/null
+++ b/libusal/CMakeLists.txt
@@ -0,0 +1,10 @@
+PROJECT (LIBSCG C)
+INCLUDE_DIRECTORIES(../include ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/include)
+include(../include/AddScgBits.cmake)
+ADD_DEFINITIONS(-DUSE_RCMD_RSH)
+
+#SET(LIBSCG_SRCS rdummy.c usalsettarget.c usaltimes.c scsi-linux-ata.c scsi-linux-pg.c scsi-linux-sg.c scsierrs.c scsihack.c scsihelp.c scsiopen.c scsitransp.c)
+SET(LIBSCG_SRCS usalsettarget.c usaltimes.c scsierrs.c scsihack.c scsihelp.c scsiopen.c scsitransp.c scsi-remote.c)
+LINK_DIRECTORIES(../librols)
+ADD_LIBRARY (usal STATIC ${LIBSCG_SRCS})
+TARGET_LINK_LIBRARIES(usal ${SCG_SELF_LIBS})