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

Contents of /sun2.4/png/Makefile

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


Revision 1.2 - (show annotations)
Tue Aug 17 19:45:49 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +11 -45 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 = 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 all : depend png2
27
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 $(RM) Makefile.depend
40
41 install: png2
42 cp -p png2 ../bin
43
44 depend: Makefile.depend
45
46 Makefile.depend: $(SRCS)
47 $(RM) Makefile.depend
48 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
49
50 include Makefile.depend
51

  ViewVC Help
Powered by ViewVC 1.1.30