File: Makefile.in

package info (click to toggle)
wily 0.13.33-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,500 kB
  • ctags: 1,720
  • sloc: ansic: 12,830; sh: 245; makefile: 188
file content (50 lines) | stat: -rw-r--r-- 1,513 bytes parent folder | download | duplicates (2)
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
SHELL=/bin/sh
srcdir=@srcdir@
VPATH=@srcdir@
prefix = @prefix@
LIBS=@LIBS@
exec_prefix = @exec_prefix@

# Directory in which to install scripts.
bindir = $(exec_prefix)/bin
CC=@CC@
RANLIB=@RANLIB@
INCLUDES= -I.. -I$(srcdir)/../include @X_CFLAGS@
OPTS=-DNDEBUG
CFLAGS= @CFLAGS@ $(OPTS) $(INCLUDES)
TARGET=wily
OBJECTS= env.o include.o label.o file.o msg.o data.o line.o\
	vgeom.o vsearch.o vshow.o \
	tagmatch.o place.o event.o exec.o dir.o \
	point.o global.o cursor.o scroll.o path.o keyboard.o \
	wily.o tag.o view.o grow.o adjust.o win.o list.o col.o\
	undo.o builtins.o util.o select.o\
	mouse.o regexp.o text2.o \
	sam.o text.o click.o tile.o search.o

MYLIBS=../libmsg/libmsg.a ../libframe/libframe.a ../libXg/libXg.a
XLIBS=$(LIBS) @X_LIBS@ -lXt @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
all: $(TARGET)
$(TARGET): $(OBJECTS) $(MYLIBS)
	$(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(MYLIBS) $(XLIBS)
pure: $(OBJECTS) $(MYLIBS)
	purify $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(MYLIBS) $(XLIBS)

$(OBJECTS): wily.h const.h proto.h ../include/msg.h

builtins.o keyboard.o mouse.o tag.o text.o text2.o tile.o view.o: view.h
keyboard.o search.o tag.o text.o text2.o undo.o view.o line.o click.o : text.h
tile.o grow.o adjust.o win.o col.o list.o:	tile.h
point.o:	tile.h view.h
sam.o regexp.o: sam.h
file.o msg.o data.o label.o :	data.h
vgeom.o vsearch.o vshow.o: view.h

clean:
	rm -f *.o core *pure*
nuke: clean
	rm -f $(TARGET)
dist:	nuke
	cp -r `ls |grep -v RCS` ../dist/wily
install:	$(TARGET)
	cp $(TARGET) $(bindir)