source: sources/src/Makefile.am @ 32

Last change on this file since 32 was 27, checked in by buchmann, 16 years ago

SystemCASS now uses autoconf/automake to build the API. Regression tests still
use the old Makefiles.
(thanks to Nicolas Pouillon)

The library directory no longer is "lib-arch-system". The directory now is "lib-linux". Everyone needs to pay attention about SYSTEMCASS environment variable.

Changes:

  • system header includes
  • Add includes to config.h (generated by autoconf/automake)
  • test:
    • linux preprocessor macro instead of _WIN32
    • CONFIG_DEBUG instead of DEBUG

Removes:

  • Makefile
  • guess_endianness.cc
  • guess_os.sh
  • assert.h (we now use standard assert.h)
  • Options.def
File size: 3.0 KB
RevLine 
[8]1sclibdir=$(prefix)/lib-@SC_LIB_TARGET@
2
3sclib_LTLIBRARIES = libsystemc.la
4
5libsystemc_objects= alias.o bit2string.o dump_dot.o dump_used_env.o             \
6dump_used_options.o entity.o global_functions.o graph.o graph_cass.o    \
7graph_signals.o hex2string.o methodprocess_dependency.o                                 \
8module_hierarchy.o module_hierarchy2dot.o mouchard_scheduling.o                 \
9port_dependency.o process_dependency.o sc_clock.o sc_event.o                    \
10sc_event_finder.o sc_interface.o sc_main.o sc_module.o sc_numrep.o              \
11sc_object.o sc_pat_trace.o sc_port.o sc_sensitive.o sc_time.o                   \
12sc_trace.o sc_uint_subref_r.o sc_vcd_trace.o sc_ver.o schedulers.o              \
13serialization.o signal_dependency.o simplify_string.o
14# sc_logic.o
15
16libsystemc_headers= graph_cass.h sc_biguint.h sc_nbdefs.h                               \
17sc_unsigned.h alias.h sc_bit.h graph_signals.h sc_bv.h sc_numrep.h              \
18sc_vcd_trace.h bit2string.h sc_clock.h sc_object.h sc_ver.h casc.h              \
19hex2string.h sc_clock_ext.h sc_ver_ext.h data_field.h internal.h                \
20sc_pat_trace.h internal_ext.h sc_event.h schedulers.h dump_dot.h                \
21sc_port.h methodprocess_dependency.h sc_event_finder.h sc_port_ext.h    \
22serialization.h dump_used_env.h sc_fwd.h serialization_ext.h                    \
23module_hierarchy.h sc_int.h sc_sensitive.h dump_used_options.h                  \
24sc_signal.h signal_dependency.h module_hierarchy2dot.h sc_interface.h   \
25sc_signed.h entity.h module_hierarchy_ext.h sc_localvar.h sc_string.h   \
26simplify_string.h fsm_rules.h systemc mouchard_scheduling.h sc_logic.h  \
27sc_time.h systemc.h gen_code.h sc_lv.h systemcass_version_ext.h                 \
28port_dependency.h sc_trace.h usage.h global_functions.h                                 \
29port_dependency_ext.h sc_trace_ext.h utils.h sc_module.h sc_uint.h              \
30graph.h process_dependency.h sc_module_ext.h sc_bigint.h                                \
31sc_module_name.h sc_unit.h
32
33libsystemc_la_SOURCES = $(libsystemc_objects:.o=.cc) $(libsystemc_headers)
34
35if WITH_ALLIANCE
36ALLIANCE_LIBS= -L$(ALLIANCE_PATH)/lib -lMut -lPat -lPpt -lPgn
37endif
38
39libsystemc_la_LIBADD = libgen_code.la $(ALLIANCE_LIBS)
40libsystemc_la_CXXFLAGS = @ALLIANCE_CFLAGS@ $(CXXFLAGS)
41
42noinst_LTLIBRARIES =  libgen_code.la
43libgen_code_la_SOURCES = gen_code.cc
44libgen_code_la_CXXFLAGS=-DGENERATED_MODULE_CFLAGS='"$(CXXFLAGS) -I$(prefix)/include"' $(CXXFLAGS)
45
46include_HEADERS = systemc sc_fwd.h global_functions.h sc_time.h                 \
47  sc_nbdefs.h sc_ver_ext.h systemcass_version_ext.h sc_module_name.h    \
48  sc_module_ext.h internal_ext.h casc.h sc_object.h sc_sensitive.h              \
49  serialization_ext.h module_hierarchy_ext.h sc_port_ext.h sc_event.h   \
50  sc_interface.h port_dependency_ext.h fsm_rules.h sc_signal.h                  \
51  sc_clock_ext.h sc_unit.h sc_bit.h sc_nbdefs.h sc_fwd.h sc_logic.h             \
52  sc_nbdefs.h sc_fwd.h sc_string.h sc_numrep.h sc_string.h sc_bv.h              \
53  sc_nbdefs.h sc_logic.h sc_unsigned.h sc_nbdefs.h sc_logic.h                   \
54  sc_signed.h sc_uint.h data_field.h sc_nbdefs.h sc_int.h sc_nbdefs.h   \
55  sc_lv.h sc_nbdefs.h sc_logic.h sc_unsigned.h sc_signed.h sc_uint.h    \
56  sc_int.h sc_biguint.h sc_nbdefs.h sc_bigint.h sc_nbdefs.h                             \
57  sc_trace_ext.h alias.h sc_localvar.h sc_vcd_trace.h sc_pat_trace.h    \
58  systemc.h
Note: See TracBrowser for help on using the repository browser.