Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
MOTIFDEPS = $(DEPXMLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) |
19 |
MOTIFDEPS = $(DEPXMLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) |
20 |
-MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) |
20 |
-MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) |
21 |
+# MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) |
21 |
+MOTIFLIBS = $(MOTIFLIB) $(XTOOLONLYLIB) $(XONLYLIB) |
22 |
SYS_LIBRARIES = -lm |
22 |
SYS_LIBRARIES = -lm |
23 |
CDEBUGFLAGS = |
23 |
CDEBUGFLAGS = |
24 |
|
24 |
|
Lines 32-51
Link Here
|
32 |
SRCS = SciPlot.c SciPlotUtil.c xyplot.c realtime.c |
32 |
SRCS = SciPlot.c SciPlotUtil.c xyplot.c realtime.c |
33 |
HDRS = SciPlot.h SciPlotP.h SciPlotUtil.h |
33 |
HDRS = SciPlot.h SciPlotP.h SciPlotUtil.h |
34 |
OBJS = $(SRCS:.c=.o) |
34 |
OBJS = $(SRCS:.c=.o) |
35 |
@@ -54,10 +58,10 @@ |
35 |
@@ -54,7 +58,7 @@ |
36 |
$(HDOC) $*.hdoc > $*.html |
36 |
$(HDOC) $*.hdoc > $*.html |
37 |
|
37 |
|
38 |
|
38 |
|
39 |
-AllTarget(sciplot realtime) |
39 |
-AllTarget(sciplot realtime) |
40 |
+AllTarget(sciplot realtime libs) |
40 |
+AllTarget(sciplot realtime libs) |
41 |
|
41 |
|
42 |
-NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) |
42 |
NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) |
43 |
-NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) |
43 |
NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) |
44 |
+NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIB),$(SYS_LIBRARIES)) |
|
|
45 |
+NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIB),$(SYS_LIBRARIES)) |
46 |
|
47 |
doc: $(HOBJS) $(HDOC) |
48 |
@echo "Updated html." |
49 |
@@ -79,9 +83,16 @@ |
44 |
@@ -79,9 +83,16 @@ |
50 |
tar cfv $(TARFILE).tar $(TARFILES) |
45 |
tar cfv $(TARFILE).tar $(TARFILES) |
51 |
compress $(TARFILE).tar |
46 |
compress $(TARFILE).tar |
Lines 54-60
Link Here
|
54 |
+ $(AR) $(LIBNAME).a $(WIDGET).o $(WIDGET)Util.o |
49 |
+ $(AR) $(LIBNAME).a $(WIDGET).o $(WIDGET)Util.o |
55 |
+ $(RANLIB) $(LIBNAME).a |
50 |
+ $(RANLIB) $(LIBNAME).a |
56 |
+ $(CC) $(SHLIBLDFLAGS) -o $(SONAME).$(SONUM) $(WIDGET).o $(WIDGET)Util.o \ |
51 |
+ $(CC) $(SHLIBLDFLAGS) -o $(SONAME).$(SONUM) $(WIDGET).o $(WIDGET)Util.o \ |
57 |
+ $(LDFLAGS) $(MOTIFLIB) $(LDLIBS) |
52 |
+ $(LDFLAGS) $(MOTIFLIBS) $(LDLIBS) |
58 |
+ |
53 |
+ |
59 |
# Dependencies: |
54 |
# Dependencies: |