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

Contents of /sun2.4/prodInv/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 21:16:41 1999 UTC (23 years, 5 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 -inostdinc -I/usr/include -DSOLARIS -DUSECB63
2 CFLAGS = -c -g -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(TOP)/share/src/prodInv
10
11 CODEBASEPATH = /tools/codebase63/source
12
13 INCLUDES = \
14 -I$(SRC) \
15 -I$(CODEBASEPATH) \
16 -I$(SHAREPATH)/epicsH \
17 -I$(SRCPATH)/libtis \
18 -I$/usr/openwin/include \
19 -I$/usr/dt/include
20
21 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
22
23 LIBS = \
24 $(CODEBASEPATH)/libcb.a \
25 ../bin/libtis.a \
26 ../bin/libca.a \
27 ../bin/libCom.a \
28 ../bin/libUnix.a \
29 ../bin/tisMsgLib.a
30
31 LIBDIRS = -L/usr/dt/lib -L/usr/openwin/lib
32
33 SRCS = $(SRC)/ProdInv.c
34
35 OBJS = ProdInv.o
36
37 all: depend ProdInv
38
39 ProdInv: ProdInv.o $(LIBS)
40 $(RM) ProdInv
41 $(CC) -o ProdInv ProdInv.o $(LIBS) \
42 $(LIBDIRS) -lMrm -lXm -lXt -lX11 -lm -lsocket -lnsl -lvolmgt
43
44 ProdInv.o: $(SRC)/ProdInv.c
45 $(RM) ProdInv.o
46 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/ProdInv.c
47
48 install : ProdInv
49 cp -p ProdInv ../bin
50 cp -p $(SRC)/ProdInv.uid ../bin
51
52 clean:
53 $(RM) $(OBJS)
54 $(RM) ProdInv
55 $(RM) Makefile.depend
56
57 depend: Makefile.depend
58
59 Makefile.depend: $(SRCS) Makefile
60 $(RM) Makefile.depend
61 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
62
63 include Makefile.depend
64

  ViewVC Help
Powered by ViewVC 1.1.28