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

Contents of /sun2.4/hsync/Makefile

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


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

  ViewVC Help
Powered by ViewVC 1.1.28