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

Contents of /sun2.4/tisgalaxylib/Makefile

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


Revision 1.3 - (show annotations)
Tue Aug 17 20:44:48 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
Changes since 1.2: +10 -651 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

1 CC=CC -g -I/usr/include -DUNIX -DSOLARIS
2
3 RM = rm -f
4
5 TOP = ../../..
6 LIBPATH=$(TOP)/Unix/sun2.4/bin
7 SRC = $(TOP)/share/src/tisgalaxylib
8 INC = $(TOP)/share
9
10 INCLUDES = -I$(GALAXYHOME)/include -I$(SRC) -I$(TOP)/share/epicsH \
11 -I/usr/include
12
13 ALLDEFINES = $(INCLUDES) -DSOLARIS
14
15 SRCS = \
16 $(SRC)/textFilters.cxx \
17 $(SRC)/tisgalaxy.cxx \
18 $(SRC)/tisgalaxylib.cxx \
19 $(SRC)/tisProgressDialog.cxx \
20 $(SRC)/tisWaitDialog.cxx
21
22 OBJS = \
23 textFilters.o \
24 tisgalaxy.o \
25 tisgalaxylib.o \
26 tisProgressDialog.o \
27 tisWaitDialog.o
28
29 all: depend tisgalaxylib.a tisgalaxy.vr
30
31 tisgalaxylib.a: $(OBJS)
32 $(RM) tisgalaxylib.a
33 ar -crv tisgalaxylib.a $(OBJS)
34 cp -p tisgalaxylib.a ../bin
35
36 tisgalaxy.vr: $(SRC)/tisgalaxy.vrx
37 $(RM) tisgalaxy.vr
38 vrx2vr -force $(SRC)/tisgalaxy.vrx
39
40 textFilters.o: $(SRC)/textFilters.cxx $(SRC)/textFilters.hxx
41 $(RM) textFilters.o
42 $(CC) -c $(INCLUDES) $(SRC)/textFilters.cxx
43
44 tisgalaxy.o: $(SRC)/tisgalaxy.cxx $(SRC)/tisgalaxy.h
45 $(RM) tisgalaxy.o
46 $(CC) -c $(INCLUDES) $(SRC)/tisgalaxy.cxx
47
48 tisgalaxylib.o: $(SRC)/tisgalaxylib.cxx $(SRC)/tisgalaxylib.hxx
49 $(RM) tisgalaxylib.o
50 $(CC) -c $(INCLUDES) $(SRC)/tisgalaxylib.cxx
51
52 tisProgressDialog.o: $(SRC)/tisProgressDialog.cxx $(SRC)/tisgalaxy.h
53 $(RM) tisProgressDialog.o
54 $(CC) -c $(INCLUDES) $(SRC)/tisProgressDialog.cxx
55
56 tisWaitDialog.o: $(SRC)/tisWaitDialog.cxx $(SRC)/tisgalaxy.h
57 $(RM) tisWaitDialog.o
58 $(CC) -c $(INCLUDES) $(SRC)/tisWaitDialog.cxx
59
60 install: tisgalaxylib.a
61 cp -p tisgalaxylib.a ../bin
62 cp -p tisgalaxy.vr ../bin
63
64 clean:
65 $(RM) tisgalaxylib.a
66 $(RM) tisgalaxy.vr
67 $(RM) $(OBJS)
68 $(RM) Makefile.depend
69
70 depend: Makefile.depend
71
72 Makefile.depend: $(SRCS)
73 $(RM) Makefile.depend
74 gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend
75
76 include Makefile.depend
77

  ViewVC Help
Powered by ViewVC 1.1.30