Skip to content

Commit 4c88981

Browse files
sjoelundbeutlich
authored andcommitted
Re-add missing C-files from autotools project (#2928)
The newly added snprintf and usertab files were accidently removed when updating the empty libzlib fix in #2855.
1 parent 894f708 commit 4c88981

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Modelica/Resources/BuildProjects/autotools/Makefile.am

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ lib_LTLIBRARIES = libzlib.la libModelicaExternalC.la libModelicaMatIO.la libMode
22
libModelicaExternalC_la_SOURCES = ../../C-Sources/ModelicaFFT.c ../../C-Sources/ModelicaInternal.c ../../C-Sources/ModelicaRandom.c ../../C-Sources/ModelicaStrings.c
33
libModelicaIO_la_SOURCES = ../../C-Sources/ModelicaIO.c
44
libModelicaIO_la_LIBADD = libModelicaMatIO.la
5-
libModelicaMatIO_la_SOURCES = ../../C-Sources/ModelicaMatIO.c
6-
libModelicaStandardTables_la_SOURCES = ../../C-Sources/ModelicaStandardTables.c
5+
libModelicaMatIO_la_SOURCES = ../../C-Sources/ModelicaMatIO.c ../../C-Sources/snprintf.c
6+
libModelicaStandardTables_la_SOURCES = ../../C-Sources/ModelicaStandardTables.c ../../C-Sources/ModelicaStandardTablesUsertab.c
77
libModelicaStandardTables_la_LIBADD = libModelicaMatIO.la
88

99
# If the OS does not have zlib available, compile it and include it together with libModelicaStandardTables
1010
if INCLUDEZLIB
1111
libzlib_la_SOURCES = ../../C-Sources/zlib/adler32.c ../../C-Sources/zlib/compress.c ../../C-Sources/zlib/crc32.c ../../C-Sources/zlib/deflate.c ../../C-Sources/zlib/gzclose.c ../../C-Sources/zlib/gzlib.c ../../C-Sources/zlib/gzread.c ../../C-Sources/zlib/gzwrite.c ../../C-Sources/zlib/infback.c ../../C-Sources/zlib/inffast.c ../../C-Sources/zlib/inflate.c ../../C-Sources/zlib/inftrees.c ../../C-Sources/zlib/trees.c ../../C-Sources/zlib/uncompr.c ../../C-Sources/zlib/zutil.c
12-
libModelicaMatIO_la_LIBADD = libzlib.la
12+
libModelicaMatIO_la_LIBADD = libzlib.la @LIBZLIB@ @LIBHDF5@
1313
else
14-
libModelicaMatIO_la_LIBADD = @LIBZLIB@
14+
libModelicaMatIO_la_LIBADD = @LIBZLIB@ @LIBHDF5@
1515
endif
16-
libModelicaMatIO_la_LIBADD = @LIBHDF5@
1716
libzlib_la_LIBADD = @LIBZLIB@

0 commit comments

Comments
 (0)