summaryrefslogtreecommitdiff
path: root/development/gplcver/files
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2013-10-28 15:53:11 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-10-29 20:12:24 -0500
commitfd672e3c99b4248a3f1b06bd067e5828340e7f96 (patch)
treed22044d4fc8ce0521d06db6b70db57d5e7f84a24 /development/gplcver/files
parentbc800d423ac701f922abd560b7400fd022080b49 (diff)
downloadslackbuilds-fd672e3c99b4248a3f1b06bd067e5828340e7f96.tar.gz
development/gplcver: Added (open-source Verilog simulator).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/gplcver/files')
-rw-r--r--development/gplcver/files/gplcver-CMakeLists.txt26
-rw-r--r--development/gplcver/files/vcddiff-CMakeLists.txt15
2 files changed, 41 insertions, 0 deletions
diff --git a/development/gplcver/files/gplcver-CMakeLists.txt b/development/gplcver/files/gplcver-CMakeLists.txt
new file mode 100644
index 0000000000..3f5b34d256
--- /dev/null
+++ b/development/gplcver/files/gplcver-CMakeLists.txt
@@ -0,0 +1,26 @@
+cmake_minimum_required(VERSION 2.6)
+
+PROJECT(gplcver)
+
+SET(CMAKE_C_FLAGS $ENV{CFLAGS})
+
+SET(BIN_INSTALL_DIR bin)
+SET(DATA_INSTALL_DIR share/gplcver)
+SET(DOC_INSTALL_DIR doc/gplcver)
+SET(MAN_INSTALL_DIR man/man1)
+
+LINK_LIBRARIES(m)
+LINK_LIBRARIES(dl)
+INCLUDE_DIRECTORIES(pli_incs)
+
+SET(gplcver_sources src/cver.c src/dig_main.c src/v_acc.c src/v_cnv.c src/v_dbg.c src/v_dbg2.c src/v_del.c src/v_ex.c src/v_ex2.c src/v_ex3.c src/v_ex4.c src/v_fx.c src/v_fx2.c src/v_fx3.c src/v_ms.c src/v_prp.c src/v_prp2.c src/v_sdf.c src/v_sim.c src/v_src.c src/v_src2.c src/v_src3.c src/v_tf.c src/v_trch.c src/v_vpi.c src/v_vpi2.c src/v_vpi3.c src/veriuser.c src/vpiuser.c)
+
+ADD_EXECUTABLE(cver ${gplcver_sources})
+
+INSTALL(FILES "COPYING" "INSTALL" "LICENSE" "OUR_PHILOSOPHY" "Changelog" "NEW.CVER.2001.RELEASE.NOTES" "README" DESTINATION ${DOC_INSTALL_DIR})
+INSTALL(FILES "doc/cver-extensions.txt" "doc/cver.FAQ" "doc/cver.faq.htm" "doc/cver.hlp" "doc/dbg.hlp" "doc/systasks.pdf" "doc/systasks.ps" DESTINATION ${DOC_INSTALL_DIR})
+INSTALL(DIRECTORY "tests_and_examples/" DESTINATION ${DOC_INSTALL_DIR}/tests_and_examples)
+INSTALL(FILES "doc/systasks.1" DESTINATION ${MAN_INSTALL_DIR})
+INSTALL(TARGETS cver DESTINATION ${BIN_INSTALL_DIR})
+
+ADD_SUBDIRECTORY(vcddiff.dir)
diff --git a/development/gplcver/files/vcddiff-CMakeLists.txt b/development/gplcver/files/vcddiff-CMakeLists.txt
new file mode 100644
index 0000000000..9731b7e9bf
--- /dev/null
+++ b/development/gplcver/files/vcddiff-CMakeLists.txt
@@ -0,0 +1,15 @@
+SET(BIN_INSTALL_DIR bin)
+SET(DATA_INSTALL_DIR share/gplcver)
+SET(DOC_INSTALL_DIR doc/gplcver/vcddiff)
+SET(MAN_INSTALL_DIR man/man1)
+
+LINK_LIBRARIES(m)
+
+SET(vcddiff_sources src/vcddiff.c)
+
+ADD_EXECUTABLE(vcddiff ${vcddiff_sources})
+
+INSTALL(FILES "Changelog" "README.vcddiff" "src/README" DESTINATION ${DOC_INSTALL_DIR})
+INSTALL(DIRECTORY "examples.vcddiff" DESTINATION ${DOC_INSTALL_DIR})
+INSTALL(TARGETS vcddiff DESTINATION ${BIN_INSTALL_DIR})
+