Skip to content

Commit e6b8afd

Browse files
author
phase1geo
committed
Starting to break VPI and RUN libraries apart.
1 parent 01f007f commit e6b8afd

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

Diff for: Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
EXTRA_DIST = ChangeLog.bak depcomp release.in ChangeLog AUTHORS COPYING INSTALL NEWS README TODO
2-
SUBDIRS = scripts src lib doc
2+
SUBDIRS = scripts src lib/run lib/vpi doc
33
AUTOMAKE_OPTIONS = foreign
44
## Process this file with automake to produce Makefile.in
55

Diff for: Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ top_builddir = @top_builddir@
230230
top_srcdir = @top_srcdir@
231231
use_tcltk = @use_tcltk@
232232
EXTRA_DIST = ChangeLog.bak depcomp release.in ChangeLog AUTHORS COPYING INSTALL NEWS README TODO
233-
SUBDIRS = scripts src lib doc
233+
SUBDIRS = scripts src lib/run lib/vpi doc
234234
AUTOMAKE_OPTIONS = foreign
235235
all: config.h
236236
$(MAKE) $(AM_MAKEFLAGS) all-recursive

Diff for: configure

+3-2
Original file line numberDiff line numberDiff line change
@@ -7466,7 +7466,7 @@ $as_echo "$shared" >&6; }
74667466

74677467

74687468

7469-
ac_config_files="$ac_config_files Makefile src/Makefile lib/Makefile scripts/Makefile doc/Makefile doc/docbook/Makefile"
7469+
ac_config_files="$ac_config_files Makefile src/Makefile lib/vpi/Makefile lib/run/Makefile scripts/Makefile doc/Makefile doc/docbook/Makefile"
74707470

74717471
cat >confcache <<\_ACEOF
74727472
# This file is a shell script that caches the results of configure
@@ -8183,7 +8183,8 @@ do
81838183
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
81848184
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81858185
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8186-
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
8186+
"lib/vpi/Makefile") CONFIG_FILES="$CONFIG_FILES lib/vpi/Makefile" ;;
8187+
"lib/run/Makefile") CONFIG_FILES="$CONFIG_FILES lib/run/Makefile" ;;
81878188
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
81888189
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81898190
"doc/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES doc/docbook/Makefile" ;;

Diff for: configure.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ AX_LD_RDYNAMIC
193193
AX_LD_SHAREDLIB_OPTS
194194

195195

196-
AC_OUTPUT(Makefile src/Makefile lib/Makefile scripts/Makefile doc/Makefile doc/docbook/Makefile)
196+
AC_OUTPUT(Makefile src/Makefile lib/vpi/Makefile lib/run/Makefile scripts/Makefile doc/Makefile doc/docbook/Makefile)
197197

198198
if test -n "${warn_tcltk_version}"; then
199199
AC_MSG_WARN([${warn_tcltk_version}])

Diff for: src/db.c

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
#include "vsignal.h"
5959

6060

61+
#ifndef RUNLIB
6162
extern char* top_module;
6263
extern str_link* no_score_head;
6364
extern char user_msg[USER_MSG_LENGTH];
@@ -401,6 +402,7 @@ void db_write(
401402
PROFILE_END;
402403

403404
}
405+
#endif /* RUNLIB */
404406

405407
/*!
406408
\throws anonymous info_db_read args_db_read Throw Throw Throw expression_db_read fsm_db_read race_db_read funit_db_read vsignal_db_read funit_db_merge funit_db_merge statement_db_read
@@ -739,6 +741,7 @@ bool db_read(
739741

740742
}
741743

744+
#ifndef RUNLIB
742745
/*! \brief Assigns instance IDs to all instances. */
743746
void db_assign_ids() { PROFILE(DB_ASSIGN_IDS);
744747

@@ -3547,3 +3550,4 @@ void db_add_line_coverage(
35473550
PROFILE_END;
35483551

35493552
}
3553+
#endif /* RUNLIB */

0 commit comments

Comments
 (0)