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

Annotation of /sun2.4/odt/Makefile

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


Revision 1.2 - (hide annotations)
Tue Aug 17 19:27:10 1999 UTC (23 years, 5 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +11 -48 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 -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/odt
10    
11     INCLUDES = \
12     -I$(SRC) \
13     -I$(SHAREPATH)/epicsH
14    
15     ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
16    
17     STDLIBS = -lm -lsocket -lnsl
18     LIBS = \
19     ../bin/libtis.a \
20     ../bin/tisMsgLib.a
21    
22     SRCS = $(SRC)/odtMain.c
23     OBJS = odtMain.o
24    
25 tis4000 1.2 all : depend odt
26 tis4000 1.1
27     odt : $(OBJS) $(LIBS)
28     $(RM) odt
29     $(CC) -o odt $(OBJS) $(LIBS) $(STDLIBS)
30    
31     odtMain.o : $(SRC)/odtMain.c
32     $(RM) odtMain.o
33     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/odtMain.c
34    
35     install : odt
36     cp -p odt ../bin
37    
38     clean :
39     $(RM) $(OBJS)
40     $(RM) odt
41 tis4000 1.2 $(RM) Makefile.depend
42    
43     depend: Makefile.depend
44    
45     Makefile.depend: $(SRCS)
46     $(RM) Makefile.depend
47     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
48    
49     include Makefile.depend
50    

  ViewVC Help
Powered by ViewVC 1.1.28