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

Contents of /sun2.4/rsrv/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 21:17:22 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline
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/rsrv
10
11 CODEBASEPATH = /tools/codebase63/source
12
13 TISINCLUDES = \
14 -I$(SRC)/rsrv \
15 -I$(SRCPATH)/dpaLibrary \
16 -I$(SHAREPATH)/epicsH
17
18 INCLUDES = \
19 $(TISINCLUDES) \
20 -I/usr/include/sys \
21 -I/usr/include/netinet
22
23 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
24
25 LIBS = \
26 ../bin/libCom.a \
27 ../bin/libUnix.a \
28 ../bin/tisMsgLib.a
29
30 SRCS = \
31 $(SRC)/hsrvTask.c \
32 $(SRC)/serverMgt.c
33
34 OBJS = \
35 hsrvTask.o \
36 serverMgt.o
37
38 all : depend hsrvTask
39
40 hsrvTask : $(OBJS) $(LIBS)
41 $(RM) hsrvTask
42 $(CC) -o hsrvTask $(OBJS) $(LIBS) -lm -lsocket -lnsl
43
44 hsrvTask.o : $(SRC)/hsrvTask.c
45 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/hsrvTask.c
46
47 serverMgt.o : $(SRC)/serverMgt.c
48 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/serverMgt.c
49
50 clean :
51 $(RM) $(OBJS)
52 $(RM) hsrvTask
53 $(RM) Makefile.depend
54
55 install: hsrvTask
56 cp -p hsrvTask ../bin
57
58 depend: Makefile.depend
59
60 Makefile.depend: $(SRCS) Makefile
61 $(RM) Makefile.depend
62 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
63
64 include Makefile.depend
65

  ViewVC Help
Powered by ViewVC 1.1.28