77# TODO:
88# - detect & set appropriate OS based on build system
99# (c.f. old GENESIS Makefiles)
10- # - introduce PLATFORM=`uname -s` to replace MACHINE keyword
11- # in all following files;
12- # re-use MACHINE=`uname -m` to determine endianness in some
13- # cases where `uname -p` isn't working
1410
1511CC =@CC@
1612CPP =@CPP@ -P
@@ -74,6 +70,13 @@ KINETICSLIB = kin
7470KINETICSDIR = kinetics
7571KINETICSOBJ = $(KINETICSDIR ) /kinlib.o
7672
73+ #
74+ # chemesis - chemesis modeling library
75+ #
76+ CHEMESISLIB = chem
77+ CHEMESISDIR = chemesis
78+ CHEMESISOBJ = $(CHEMESISDIR ) /chemlib.o
79+
7780#
7881# diskio --- Binary file format support library
7982#
@@ -202,6 +205,7 @@ OBJLIBS = buffer/buflib.o \
202205 $(OLDCONNOBJ ) \
203206 $(DISKIOOBJ ) \
204207 $(KINETICSOBJ ) \
208+ $(CHEMESISOBJ ) \
205209 newconn/newconnlib.o
206210
207211XODUS = $(XODUSLIB ) /_xo/xolib.o \
@@ -213,15 +217,15 @@ XODUS = $(XODUSLIB)/_xo/xolib.o \
213217
214218EXTRALIBS = $(SPRNGLIB ) $(TERMCAP )
215219
216- SUBDIR = sys ss sim $(SPRNGDIR ) shell newconn $(OLDCONNDIR ) \
217- buffer concen device hh hines olf out segment \
218- tools user param pore convert $(DISKIODIR ) \
219- $(KINETICSDIR ) Xodus par
220+ SUBDIR = sys ss sim $(SPRNGDIR ) shell newconn $(OLDCONNDIR ) \
221+ buffer concen device hh hines olf out segment \
222+ tools user param pore convert $(DISKIODIR ) \
223+ $(KINETICSDIR ) $( CHEMESISDIR ) Xodus par
220224
221- NXSUBDIR = sys ss shell sim $(SPRNGDIR ) newconn oldconn \
222- buffer concen device hh hines olf out segment \
223- tools user param pore convert $(DISKIODIR ) \
224- $(KINETICSDIR ) par
225+ NXSUBDIR = sys ss shell sim $(SPRNGDIR ) newconn oldconn \
226+ buffer concen device hh hines olf out segment \
227+ tools user param pore convert $(DISKIODIR ) \
228+ $(KINETICSDIR ) $( CHEMESISDIR ) par
225229
226230MINSUBDIR = sys ss shell sim $(SPRNGDIR ) par
227231
@@ -243,7 +247,8 @@ LIBLIST = output \
243247 newconn \
244248 $(DISKIOLIB ) \
245249 $(OLDCONNLIB ) \
246- $(KINETICSLIB )
250+ $(KINETICSLIB ) \
251+ $(CHEMESISLIB )
247252
248253NXLIBLIST = output \
249254 hh \
@@ -260,7 +265,8 @@ NXLIBLIST = output \
260265 newconn \
261266 $(DISKIOLIB ) \
262267 $(OLDCONNLIB ) \
263- $(KINETICSLIB )
268+ $(KINETICSLIB ) \
269+ $(CHEMESISLIB )
264270
265271#
266272# all is now the default target
@@ -393,7 +399,7 @@ bindist: genesis nxgenesis
393399# make separate source dists for genesis and pgenesis.
394400# cvs export must be used so that empty directories are pruned.
395401#
396- srcdist :
402+ srcdist :
397403 -@mkdir -p ../distributions
398404 (CVSROOT=$( USER) @cvs.sf.net:/cvsroot/genesis-sim; \
399405 CVS_RSH=ssh; \
0 commit comments