aboutsummaryrefslogtreecommitdiff
path: root/src/sman/Makefile.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/sman/Makefile.pamphlet')
-rw-r--r--src/sman/Makefile.pamphlet39
1 files changed, 10 insertions, 29 deletions
diff --git a/src/sman/Makefile.pamphlet b/src/sman/Makefile.pamphlet
index db980d94..d7a50858 100644
--- a/src/sman/Makefile.pamphlet
+++ b/src/sman/Makefile.pamphlet
@@ -34,25 +34,22 @@ bin_PROGRAMS = session$(EXEEXT) \
libspad_la = $(axiom_target_libdir)/libspad.la
-session_sources = session.c
-session_SOURCES = $(addsuffix .pamphlet, $(session_sources))
-session_objects = $(session_sources:.c=.lo)
+session_SOURCES = session.c
+session_objects = $(session_SOURCES:.c=.lo)
session_LDADD = $(libspad_la) @axiom_c_runtime_extra@
session_DEPENDENCIES =
-spadclient_sources = spadclient.c
-spadclient_objects = $(spadclient_sources:.c=.lo)
+spadclient_SOURCES = spadclient.c
+spadclient_objects = $(spadclient_SOURCES:.c=.lo)
spadclient_LDADD = $(libspad_la) @axiom_c_runtime_extra@
spadclient_DEPENDENCIES =
-sman_sources = sman.c
-sman_SOURCES = $(addsuffix .pamphlet, $(sman_sources))
-sman_objects = $(sman_sources:.c=.lo)
+sman_SOURCES = sman.c
+sman_objects = $(sman_SOURCES:.c=.lo)
sman_LDADD = $(libspad_la) @axiom_c_runtime_extra@
sman_DEPENDENCIES =
-pamphlets = $(session_SOURCES) $(sman_SOURCES)
@
\section{session}
@@ -61,14 +58,6 @@ ${OUTLIB}/session$(EXEEXT): $(session_objects) $(session_DEPENDENCIES)
$(LINK) -o $@ $(session_objects) $(session_LDADD) ${LDF}
@
-\section{nagman}
-Note that we do not build the nagman component as we do not have the
-necessary code (for instance, [[callnag]]).
-<<nagman>>=
-${OUT}/nagman$(EXEEXT): $(nagman_objects) $(nagman_DEPENDENCIES)
- $(LINK) -o $@ $(nagman_objects) $(nagman_LDADD) ${LDF}
-@
-
\section{spadclient}
<<spadclient>>=
${OUTLIB}/spadclient$(EXEEXT): $(spadclient_objects) $(spadclient_DEPENDENCIES)
@@ -84,9 +73,6 @@ ${OUT}/sman$(EXEEXT): $(sman_objects) $(sman_DEPENDENCIES)
$(LINK) -o $@ $(sman_objects) $(sman_LDADD) ${LDF}
$(sman_objects): sman.h $(axiom_c_macros_h)
-
-sman.h: $(srcdir)/sman.c.pamphlet
- $(axiom_build_document) --tangle=$@ --output=$@ $<
@
<<*>>=
@@ -110,14 +96,9 @@ stamp: $(OUTLIB)/session$(EXEEXT) \
.SUFFIXES:
.SUFFIXES: .c .h .lo .$(OBJEXT)
.PRECIOUS: %.lo %.obj
-.PRECIOUS: %.c
-.PRECIOUS: %.h
%.lo: %.c
- $(COMPILE) ${CCF} -o $@ $(axiom_includes) -I$(builddir) $<
-
-%.c: $(srcdir)/%.c.pamphlet
- $(axiom_build_document) --tangle --output=$@ $<
+ $(COMPILE) ${CCF} -o $@ $(axiom_includes) -I$(srcdir) $<
<<session>>
@@ -126,9 +107,9 @@ stamp: $(OUTLIB)/session$(EXEEXT) \
<<sman>>
mostlyclean-local:
- @rm -f $(session_sources) $(session_objects) sman.h
- @rm -f $(spadclient_sources) $(session_objects)
- @rm -f $(sman_sources) $(sman_objects)
+ @rm -f $(session_objects)
+ @rm -f $(session_objects)
+ @rm -f $(sman_objects)
clean-local: mostlyclean-local
@rm -f $(OUTLIB)/session$(EXEEXT)