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

Contents of /sun2.4/dbFix/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 20:49:33 1999 UTC (24 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 -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 all : depend dbFix
29
30 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 $(RM) Makefile.depend
46
47 depend: Makefile.depend
48
49 Makefile.depend: $(SRCS) Makefile
50 $(RM) Makefile.depend
51 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
52
53 include Makefile.depend
54

  ViewVC Help
Powered by ViewVC 1.1.30