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

Contents of /sun2.4/dsk/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 20:54:24 1999 UTC (24 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, LMC_baseline
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

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 SRCPATH = $(TOP)/share/src
8 SRC = $(TOP)/share/src/dsk
9
10 CODEBASEPATH = /tools/codebase63/source
11
12 INCLUDES = \
13 -I$(SRC) \
14 -I$(SRCPATH)/dpaLibrary \
15 -I$(SRCPATH)/dbLibrary \
16 -I$(CODEBASEPATH) \
17 -I/usr/include/netinet \
18 -I../../../share/epicsH
19
20 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
21
22 LIB = \
23 ../bin/dpaLibrary.a \
24 ../bin/libUnix.a \
25 ../bin/dbLibrary.a \
26 ../bin/libtis.a \
27 ../bin/tisMsgLib.a \
28 $(CODEBASEPATH)/libcb.a
29
30 SRCS = \
31 $(SRC)/dskMain.c \
32 $(SRC)/dskOpen.c \
33 $(SRC)/dskWrite.c
34
35 OBJS = \
36 dskMain.o \
37 dskOpen.o \
38 dskWrite.o
39
40 all : depend dsk
41
42 dsk : $(OBJS) $(LIBS)
43 $(RM) dsk
44 $(CC) -o dsk $(OBJS) $(LIB) -lm -lsocket -lnsl
45
46 dskMain.o : $(SRC)/dskMain.c
47 $(RM) dskMain.o
48 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dskMain.c
49
50 dskOpen.o : $(SRC)/dskOpen.c
51 $(RM) dskOpen.o
52 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dskOpen.c
53
54 dskWrite.o : $(SRC)/dskWrite.c
55 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dskWrite.c
56
57 clean:
58 $(RM) $(OBJS)
59 $(RM) dsk
60 $(RM) Makefile.depend
61
62 install:
63 cp -p dsk ../bin
64
65 depend: Makefile.depend
66
67 Makefile.depend: $(SRCS) Makefile
68 $(RM) Makefile.depend
69 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
70
71 include Makefile.depend
72

  ViewVC Help
Powered by ViewVC 1.1.30