File: Makefile.ini

package info (click to toggle)
mgdiff 1.0-8
  • links: PTS
  • area: main
  • in suites: potato
  • size: 324 kB
  • ctags: 673
  • sloc: ansic: 3,525; makefile: 761; awk: 430; sh: 91
file content (61 lines) | stat: -rw-r--r-- 1,357 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# Makefile.ini,v 2.1 1994/07/11 02:16:32 dan Exp
#

#
# flags for Dell SVR4
#
INCS	= -I/usr/X5/include
LIBS	= -L/usr/X5/lib -lXm -lXt -lXmu -lXext -lX11 -lsocket -lnsl -lc -lucb
DEFS	= -DDELL -DSVR4 -DSYSV386 -Di386 -DSVR4_0 -DFUNCPROTO -DEDITRES

#
# flags for SGI Irix 5.2
#
#LIBS	= -lXm -lXt -lX11
#DEFS	= -xansi -D__STDC__=1 -DXML -DSYSV -DSVR4 -DFUNCPROTO=7 -DNARROWPROTO

OPTS	= -g

CFLAGS	= $(OPTS) $(DEFS) $(INCS)
SRCS	= mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c
OBJS	= mgdiff.o rundiff.o misc.o files.o spawn.o manual.o modal.o legend.o
HDRS	= externs.h mgdiff.h 
MISC	= Makefile Imakefile mgdiff.xbm Mgdiff.ad
FILES	= $(SRCS) $(HDRS) $(MISC)

#
# this for using GNU compiler
#
GCC	= gcc -fno-builtin
#CC	= $(GCC)

mgdiff	: $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) -o $@ $(LIBS)

TAGS	: $(SRCS) $(HDRS)
	etags -t $(SRCS) $(HDRS)

clean	:
	rm -f $(OBJS)

clobber	:
	rm -f mgdiff $(OBJS)

#
# check all source files with lint
#
lint    :
	lint -shux $(DEFS) $(INCS) $(SRCS)

depend	: $(SRCS)
	$(GCC) $(CFLAGS) -MM $(SRCS)

mgdiff.o : mgdiff.c mgdiff.h externs.h patchlevel.h mgdiff.xbm 
rundiff.o : rundiff.c mgdiff.h externs.h 
misc.o : misc.c mgdiff.h 
files.o : files.c mgdiff.h externs.h 
spawn.o : spawn.c 
manual.o : manual.c mgdiff.h externs.h 
modal.o : modal.c mgdiff.h externs.h 
legend.o : legend.c mgdiff.h externs.h