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

Annotation of /sun2.4/dbFix/Makefile

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


Revision 1.2 - (hide annotations)
Tue Aug 17 18:43:44 1999 UTC (23 years, 9 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +11 -42 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
			added all target

1 tis4000 1.1 CC = gcc -g -DUNIX -DSOLARIS -DUSECB63
2     CFLAGS = -g -c -Wunused
3     RM = rm -f
4    
5     TOP = ../../..
6     SRC = $(TOP)/share/src/dbFix
7    
8     LIB = /usr/lib
9     LIBS = \
10     $(CODEBASEPATH)/libcb.a \
11     ../bin/dbLibrary.a \
12     ../bin/libUnix.a \
13     ../bin/libtis.a \
14     ../bin/libCom.a
15     CODEBASEPATH = /tools/codebase63/source
16     INCLUDES = \
17     -I$(TOP)/share/epicsH \
18     -I$(CODEBASEPATH)
19    
20     ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
21    
22     SRCS = \
23     $(SRC)/dbFix.c
24    
25     OBJS = \
26     dbFix.o
27    
28 tis4000 1.2 all : depend dbFix
29    
30 tis4000 1.1 dbFix : $(OBJS) $(LIBS)
31     $(RM) dbFix
32     gcc -static -o dbFix dbFix.o $(LIBS) \
33     $(LIB)/libc.a $(LIB)/libm.a \
34    
35     dbFix.o : $(SRC)/dbFix.c
36     $(RM) dbFix.o
37     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dbFix.c
38    
39     install : dbFix
40     cp -p dbFix ../bin
41    
42     clean :
43     $(RM) $(OBJS)
44     $(RM) dbFix
45 tis4000 1.2 $(RM) Makefile.depend
46    
47     depend: Makefile.depend
48    
49     Makefile.depend: $(SRCS)
50     $(RM) Makefile.depend
51     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
52    
53     include Makefile.depend
54 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.28