Random Bits of Open Code

Check-in [cb528e1bef]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Moved learn-teach app to apps directory.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cb528e1bef61309957f7fd7d1865e6aeb4d5391c
User & Date: matt 2018-08-05 21:03:08
Context
2018-08-05
21:07
Removed junk file. Added clean target check-in: fd81fdec44 user: matt tags: trunk
21:03
Moved learn-teach app to apps directory. check-in: cb528e1bef user: matt tags: trunk
20:39
Added config placeholder to learn-teach check-in: 0f18972173 user: matt tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to multiapp/Makefile.

2
3
4
5
6
7
8
9
10
11


12
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
# Need to run as follows:
#
# CSC_OPTIONS="-I$PREFIX/include -L$PREFIX/lib" make deploy

SHELL = /bin/bash
CSCOPTS=

SRCFILES      = src/gui.scm src/help.scm src/learn-teach-config.scm
APPFILES      = src/learn-teach.scm
OFILES        = $(SRCFILES:%.scm=%.o)


APPOFILES     = $(APPFILES:%.scm=%.o)
EXTRASOFILES  = pkts.so dbi.so vg.so margs.so mtconfigf.so mtcommon.so mtdb.so iuputils.so
EXTRAS = $(EXTRASOFILES:%=deploytarg/%)

all : multiapp

#======================================================================
# NORMAL BUILD
#======================================================================

src/%.o : src/%.scm
	csc  $(CSCOPTS) -J -c $<




$(APPOFILES) : $(APPFILES)
	csc  $(CSCOPTS) -J -c $< $(OFILES)

multiapp : $(OFILES) src/multiapp.scm $(APPOFILES)
	csc $(CSCOPTS) $(OFILES) $(APPOFILES) src/multiapp.scm -o multiapp
	if [[ -e $(PWD)/../opensrc/mtutils ]]; then \
	  cd ../opensrc ;\
	  $(withproxy) fossil up ;\
          cd mtutils; make ;\
        fi





#======================================================================
# DEPLOY
#======================================================================




# Deploy stuff
DEPLOYSOFILES = $(SOFILES:src/%=deploytarg/%)
LINUX_EGGS=readline hostinfo
EGGS=simple-md5  apropos base64 regex-literals format regex-case test coops trace csv \
     dot-locking posix-utils posix-extras directory-utils tcp-server rpc csv-xml fmt \
     json md5 awful http-client spiffy uri-common intarweb spiffy-request-vars \







|
<

>
>

<
<










>
>
>
|
|






|
|
>
>
>
>




>
>
>







2
3
4
5
6
7
8
9

10
11
12
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
46
47
48
49
50
51
52
53
54
# Need to run as follows:
#
# CSC_OPTIONS="-I$PREFIX/include -L$PREFIX/lib" make deploy

SHELL = /bin/bash
CSCOPTS=

SRCFILES      = src/gui.scm

OFILES        = $(SRCFILES:%.scm=%.o)

APPFILES      = apps/learn-teach/learn-teach.scm apps/learn-teach/help.scm apps/learn-teach/learn-teach-config.scm
APPOFILES     = $(APPFILES:%.scm=%.o)



all : multiapp

#======================================================================
# NORMAL BUILD
#======================================================================

src/%.o : src/%.scm
	csc  $(CSCOPTS) -J -c $<

apps/learn-teach/%.o : apps/learn-teach/%.scm $(OFILES)
	csc  $(CSCOPTS) -J -c $< $(OFILES)

# $(APPOFILES) : $(APPFILES) $(OFILES)
#	csc  $(CSCOPTS) -J -c $< $(OFILES)

multiapp : $(OFILES) src/multiapp.scm $(APPOFILES)
	csc $(CSCOPTS) $(OFILES) $(APPOFILES) src/multiapp.scm -o multiapp
	if [[ -e $(PWD)/../opensrc/mtutils ]]; then \
	  cd ../opensrc ;\
	  $(withproxy) fossil up ;\
	    cd mtutils; make ;\
	fi

# app deps
# learn-teach
apps/learn-teach/learn-teach.o : apps/learn-teach/help.o apps/learn-teach/learn-teach-config.o

#======================================================================
# DEPLOY
#======================================================================

EXTRASOFILES  = pkts.so dbi.so vg.so margs.so mtconfigf.so mtcommon.so mtdb.so iuputils.so
EXTRAS = $(EXTRASOFILES:%=deploytarg/%)

# Deploy stuff
DEPLOYSOFILES = $(SOFILES:src/%=deploytarg/%)
LINUX_EGGS=readline hostinfo
EGGS=simple-md5  apropos base64 regex-literals format regex-case test coops trace csv \
     dot-locking posix-utils posix-extras directory-utils tcp-server rpc csv-xml fmt \
     json md5 awful http-client spiffy uri-common intarweb spiffy-request-vars \

Name change from multiapp/src/help.scm to multiapp/apps/learn-teach/help.scm.

Name change from multiapp/src/learn-teach-config.scm to multiapp/apps/learn-teach/learn-teach-config.scm.

Name change from multiapp/src/learn-teach-help.scm to multiapp/apps/learn-teach/learn-teach-help.scm.

Name change from multiapp/src/learn-teach.scm to multiapp/apps/learn-teach/learn-teach.scm.