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

Contents of /sun2.4/msArbiter/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 21:05:56 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 -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -DUSECB63
2 CFLAGS = -g -c -Wunused -I/usr/include/netinet
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(TOP)/share/src/msArbiter
10
11 CODEBASEPATH = /tools/codebase63/source
12
13 INCLUDES = \
14 -I$(CODEBASEPATH) \
15 -I$(SHAREPATH)/epicsH
16
17 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
18
19 DBC_CBLIB = $(TOP)/Unix/sun2.4/bin
20 TIS_INC = $(TOP)/share
21 DBC_LIB = $(TOP)/Unix/sun2.4/bin
22 DBC_DB = $(TOP)/Unix/sun2.4/dbLibrary
23 LIBS = \
24 ../bin/dbLibrary.a \
25 $(CODEBASEPATH)/libcb.a \
26 ../bin/libCom.a \
27 ../bin/libUnix.a \
28 ../bin/tisMsgLib.a
29
30 SRCS = \
31 $(SRC)/msMain.c \
32 $(SRC)/msError.c \
33 $(SRC)/serverInit.c
34
35 OBJS = \
36 msMain.o \
37 msError.o \
38 serverInit.o
39
40 all: depend msArbiter
41
42 msArbiter : $(OBJS) $(LIBS)
43 $(RM) msArbiter
44 $(CC) -o msArbiter $(OBJS) $(LIBS) -lsocket -lnsl -lm
45
46 msMain.o : $(SRC)/msMain.c
47 $(RM) msMain.o
48 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/msMain.c
49
50 msError.o : $(SRC)/msError.c
51 $(RM) msError.o
52 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/msError.c
53
54 serverInit.o : $(SRC)/serverInit.c
55 $(RM) serverInit.o
56 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/serverInit.c
57
58 install : msArbiter
59 cp msArbiter ../bin
60
61 clean:
62 $(RM) $(OBJS)
63 $(RM) msArbiter
64 $(RM) Makefile.depend
65
66 depend: Makefile.depend
67
68 Makefile.depend: $(SRCS) Makefile
69 $(RM) Makefile.depend
70 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
71
72 include Makefile.depend
73

  ViewVC Help
Powered by ViewVC 1.1.28