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

Annotation of /sun2.4/png/Makefile

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


Revision 1.3 - (hide annotations)
Thu Aug 26 21:15:59 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 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/png
10    
11     INCLUDES = \
12     -I$(SRC) \
13     -I$(SHAREPATH)/epicsH
14    
15     ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
16    
17     SRCS = $(SRC)/pngMain.c
18    
19     OBJS = pngMain.o
20    
21     LIBS = \
22     ../bin/libca.a \
23     ../bin/tisMsgLib.a
24    
25    
26 tis4000 1.2 all : depend png2
27 tis4000 1.1
28     png2 : $(OBJS) $(LIBS)
29     $(RM) png2
30     $(CC) -o png2 $(OBJS) $(LIBS) -lsocket -lnsl -lm -ldl
31    
32     pngMain.o : $(SRC)/pngMain.c
33     $(RM) pngMaon.o
34     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/pngMain.c
35    
36     clean:
37     $(RM) $(OBJS)
38     $(RM) png2
39 tis4000 1.2 $(RM) Makefile.depend
40 tis4000 1.1
41     install: png2
42     cp -p png2 ../bin
43 tis4000 1.2
44     depend: Makefile.depend
45    
46 tis4000 1.3 Makefile.depend: $(SRCS) Makefile
47 tis4000 1.2 $(RM) Makefile.depend
48     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
49    
50     include Makefile.depend
51    

  ViewVC Help
Powered by ViewVC 1.1.30