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

Contents of /sun2.4/dpa/Makefile

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


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

  ViewVC Help
Powered by ViewVC 1.1.30