Overview
| Comment: | Updated to use Tcl-computed mechanism for building shared objects |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
ac58551e5555fbe9d76df49c9ff64973 |
| User & Date: | rkeene on 2019-11-14 23:14:15.203 |
| Other Links: | manifest | tags |
References
|
2019-11-14
| ||
| 23:39 | Revert [ac58551e55], needs more work check-in: 992994189a user: rkeene tags: trunk | |
Context
|
2019-11-14
| ||
| 23:39 | Revert [ac58551e55], needs more work check-in: 992994189a user: rkeene tags: trunk | |
| 23:14 | Updated to use Tcl-computed mechanism for building shared objects check-in: ac58551e55 user: rkeene tags: trunk | |
|
2019-11-04
| ||
| 21:16 | Minor hash table optimization check-in: 3c8c52a9f8 user: rkeene tags: trunk | |
Changes
Modified Makefile
from [fa4437d0b1]
to [de79f9ee72].
| ︙ | ︙ | |||
13 14 15 16 17 18 19 | ./xvfs-create --directory example --name example > example.c.new mv example.c.new example.c example-standalone.o: example.c xvfs-core.h xvfs-core.c Makefile $(CC) $(CPPFLAGS) -DXVFS_MODE_STANDALONE $(CFLAGS) -o example-standalone.o -c example.c example-standalone$(LIB_SUFFIX): example-standalone.o Makefile | | | | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
./xvfs-create --directory example --name example > example.c.new
mv example.c.new example.c
example-standalone.o: example.c xvfs-core.h xvfs-core.c Makefile
$(CC) $(CPPFLAGS) -DXVFS_MODE_STANDALONE $(CFLAGS) -o example-standalone.o -c example.c
example-standalone$(LIB_SUFFIX): example-standalone.o Makefile
${TCL_SHLIB_LD} -o example-standalone$(LIB_SUFFIX) example-standalone.o $(LIBS)
example-client.o: example.c xvfs-core.h Makefile
$(CC) $(CPPFLAGS) -DXVFS_MODE_CLIENT $(CFLAGS) -o example-client.o -c example.c
example-client$(LIB_SUFFIX): example-client.o Makefile
${TCL_SHLIB_LD} -o example-client$(LIB_SUFFIX) example-client.o $(LIBS)
example-flexible.o: example.c xvfs-core.h Makefile
$(CC) $(CPPFLAGS) -DXVFS_MODE_FLEXIBLE $(CFLAGS) -o example-flexible.o -c example.c
example-flexible$(LIB_SUFFIX): example-flexible.o Makefile
${TCL_SHLIB_LD} -o example-flexible$(LIB_SUFFIX) example-flexible.o $(LIBS)
xvfs.o: xvfs-core.h xvfs-core.c Makefile
$(CC) $(CPPFLAGS) -DXVFS_MODE_SERVER $(CFLAGS) -o xvfs.o -c xvfs-core.c
xvfs$(LIB_SUFFIX): xvfs.o Makefile
${TCL_SHLIB_LD} -o xvfs$(LIB_SUFFIX) xvfs.o $(LIBS)
# xvfs-create-standalone is a standalone (i.e., no external dependencies
# like lib/minirivet, xvfs-core.c, etc) version of "xvfs-create"
xvfs-create-standalone: $(shell find lib -type f) xvfs-create xvfs-core.c xvfs-core.h lib/xvfs/xvfs.c.rvt Makefile
rm -f xvfs-create-standalone.new xvfs-create-standalone
./xvfs-create --dump-tcl --remove-debug > xvfs-create-standalone.new
chmod +x xvfs-create-standalone.new
|
| ︙ | ︙ |