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

Contents of /sun2.4/ims/Makefile

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


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

  ViewVC Help
Powered by ViewVC 1.1.28