/[TIS-4000 Rel T60]/sun2.4/slm/Makefile
ViewVC logotype

Contents of /sun2.4/slm/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations)
Thu Aug 26 21:19:31 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

1 CC = gcc -inostdinc -I/usr/include -I/usr/include/sys -DSOLARIS -DUSECB63
2 CFLAGS = -c -g -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(TOP)/share/src/slm
10
11 CODEBASEPATH = /tools/codebase63/source
12
13 INCLUDES = \
14 -I$(SRC) \
15 -I$(SHAREPATH)/epicsH \
16 -I$(CODEBASEPATH) \
17 -I$/usr/openwin/include \
18 -I$/usr/dt/include
19
20 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
21
22 LIBS = \
23 ../bin/dbLibrary.a \
24 $(CODEBASEPATH)/libcb.a \
25 ../bin/libtis.a \
26 ../bin/libUnix.a \
27 ../bin/libca.a \
28 ../bin/libtlm.a \
29 ../bin/tisMsgLib.a
30
31 LIBDIRS = -L/usr/dt/lib -L/usr/openwin/lib
32
33 SRCS = \
34 $(SRC)/slmMain.c \
35 $(SRC)/slmUtils.c \
36 $(SRC)/slmRTU.c \
37 $(SRC)/slmPersonnel.c \
38 $(SRC)/slmDownload.c \
39 $(SRC)/slmAdmit.c \
40 $(SRC)/slmProgram.c
41
42 OBJS = \
43 slmMain.o \
44 slmUtils.o \
45 slmRTU.o \
46 slmPersonnel.o \
47 slmDownload.o \
48 slmAdmit.o \
49 slmProgram.o
50
51 all:: depend slm
52
53
54 slm: $(OBJS) $(LIBS)
55 $(RM) slm
56 $(CC) -o slm $(OBJS) $(LIBS) \
57 $(LIBDIRS) -lXm -lMrm -lXmu -lXt -lXext -lX11 -lX -lgen \
58 -lsocket -lnsl -lm
59
60 slmMain.o: $(SRC)/slmMain.c
61 $(RM) slmMain.o
62 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmMain.c
63
64 slmUtils.o: $(SRC)/slmUtils.c
65 $(RM) slmUtil.o
66 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmUtils.c
67
68 slmRTU.o: $(SRC)/slmRTU.c
69 $(RM) slmRTU.o
70 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmRTU.c
71
72 slmPersonnel.o: $(SRC)/slmPersonnel.c
73 $(RM) slmPersonnel.o
74 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmPersonnel.c
75
76 slmDownload.o: $(SRC)/slmDownload.c
77 $(RM) slmDowbload.o
78 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmDownload.c
79
80 slmAdmit.o: $(SRC)/slmAdmit.c
81 $(RM) slmAdmit.o
82 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmAdmit.c
83
84 slmProgram.o: $(SRC)/slmProgram.c
85 $(RM) slmProgram.o
86 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/slmProgram.c
87
88 install:
89 cp -p slm ../bin
90
91 clean:
92 $(RM) slm
93 $(RM) $(OBJS)
94 $(RM) Makefile.depend
95
96 depend: Makefile.depend
97
98 Makefile.depend: $(SRCS) Makefile
99 $(RM) Makefile.depend
100 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
101
102 include Makefile.depend
103

  ViewVC Help
Powered by ViewVC 1.1.28