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

Contents of /sun2.4/alm/Makefile

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


Revision 1.1 - (show annotations)
Mon Nov 8 13:23:14 1999 UTC (24 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, Duluth_baseline, SPR383, HEAD
SPR 383
This Makefile is used to create the alm executable. - Tomalesky

1 CC = gcc -g -inostdinc -I/usr/include -I/usr/include/sys \
2 -DUNIX -DSOLARIS -DUSECB63
3 CFLAGS = -g -c -Wunused
4
5 RM = rm -f
6
7 TOP = ../../..
8 SHAREPATH = $(TOP)/share
9 SRCPATH = $(SHAREPATH)/src
10 SRC = $(SRCPATH)/alm
11 LIBPATH = ../bin
12
13 CODEBASEPATH = /tools/codebase63/source
14
15 INCLUDES = \
16 -I$(SRC) \
17 -I$(SHAREPATH)/epicsH \
18 -I$(SRCPATH)/ca \
19 -I$(SRCPATH)/alarm \
20 -I$(SRCPATH)/alarmVuCC \
21 -I$(CODEBASEPATH)
22
23 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
24
25 DBLIB = ../bin/dbLibrary.a
26
27 LIBS = \
28 ../alarm/utils/alarmLib.o \
29 ../bin/libCom.a \
30 ../bin/tisMsgLib.a \
31 ../bin/libca.a \
32 ../bin/libtis.a \
33 ../bin/libUnix.a \
34 $(CODEBASEPATH)/libcb.a
35
36 SRCS = \
37 $(SRC)/alm.c \
38
39 OBJS = \
40 alm.o
41
42 all: depend alm
43
44 ########### TARGETS ##################################################################
45
46 alm: $(OBJS) $(DBLIB) $(LIBS)
47 $(RM) alm
48 $(CC) -o alm $(OBJS) $(DBLIB) $(LIBS) -lm -lnsl -lsocket
49 ########### OBJECTS ##################################################################
50
51 alm.o: $(SRC)/alm.c
52 $(RM) alm.o
53 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/alm.c
54
55
56 install :
57 cp -p alm ../bin
58
59 clean:
60 $(RM) $(OBJS)
61 $(RM) alm
62 $(RM) Makefile.depend
63
64 depend: Makefile.depend
65
66 Makefile.depend: $(SRCS) Makefile
67 $(RM) Makefile.depend
68 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
69
70 include Makefile.depend
71

  ViewVC Help
Powered by ViewVC 1.1.30