File: Makefile.in

package info (click to toggle)
gretl 0.99.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,304 kB
  • ctags: 3,210
  • sloc: ansic: 43,338; sh: 6,567; makefile: 807; perl: 529
file content (79 lines) | stat: -rw-r--r-- 1,595 bytes parent folder | download
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
topsrc = .
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
CC = @CC@
CFLAGS = @CFLAGS@
MAKE = @MAKE@
INSTALL = @INSTALL@
LN = @LN_S@
have_readline = @have_readline@
have_zlib = @have_zlib@
have_gtk = @have_gtk@
have_gtkextra = @have_gtkextra@
have_gnome = @have_gnome@
need_libbind = @need_libbind@
CLI_LIBS = @CLI_LIBS@
RL_OBJ = @RL_OBJ@
GUI = @GUI@

ifeq ($(CC),)
  CC = gcc
endif

INSTALL_PROGRAM = ${INSTALL} -m 755
INSTALL_DATA = ${INSTALL} -m 644

export

tooldir = $(topsrc)/tools

SUBDIRS = lib plugin cli gui

.PHONY :

all: $(SUBDIRS)
	for d in $^ ; do $(MAKE) -C $$d ; done

clean:
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d clean; done

installdirs:
	$(tooldir)/mkinstalldirs $(libdir) $(includedir) $(bindir)

install: $(SUBDIRS) installdirs install-man
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d install; done
	$(MAKE) -C share install

install-strip: $(SUBDIRS) installdirs install-man	
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d install-strip; done
	$(MAKE) -C share install-strip

install-man:
	$(tooldir)/install_man $(tooldir) $(prefix) gretl.1 
	$(tooldir)/install_man $(tooldir) $(prefix) gretl-config.1

tags:
	etags lib/src/*.[hc] cli/*.[hc] gui/*.[hc] plugin/*.[hc]

depend:
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d depend; done

distdepend:
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d distdepend; done	

dist: distdepend	
	./tools/makedist

distclean: clean
	rm -f config.log config.cache config.status config.h 
	rm -f gretl_sh gretl-config
	rm -f libtool Makefile lib/Makefile cli/Makefile gui/Makefile \
	share/Makefile plugin/Makefile