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 |
tis4000 |
1.3 |
Makefile.depend: $(SRCS) Makefile |
46 |
tis4000 |
1.2 |
$(RM) Makefile.depend |
47 |
|
|
$(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
48 |
|
|
|
49 |
|
|
include Makefile.depend |
50 |
|
|
|