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

Annotation of /sun2.4/prodInv/Makefile

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


Revision 1.2 - (hide annotations)
Tue Aug 17 19:47:24 1999 UTC (23 years, 9 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +10 -65 lines
08-17-99	ems	added target depend, which creates Makefile.depend
			since the dependancies are differant from machine to
			machine, not having the dependancies in the Makefile
			will not confuse CVS

1 tis4000 1.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 tis4000 1.2 all: depend ProdInv
38 tis4000 1.1
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 tis4000 1.2 $(RM) Makefile.depend
56    
57     depend: Makefile.depend
58    
59     Makefile.depend: $(SRCS)
60     $(RM) Makefile.depend
61     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
62    
63     include Makefile.depend
64 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.28