File: makefile.in

package info (click to toggle)
gambc 3.0-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 14,928 kB
  • ctags: 5,931
  • sloc: ansic: 295,198; lisp: 33,097; perl: 1,730; makefile: 760; sed: 448; sh: 215
file content (113 lines) | stat: -rwxr-xr-x 3,191 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# makefile for Gambit-C system.

# Copyright (C) 1994-1997 by Marc Feeley, All Rights Reserved.

PACKAGE = @PACKAGE@
VERSION = @VERSION@

srcdir = @srcdir@
VPATH = @srcdir@
srcdirpfx = @srcdirpfx@
@SET_MAKE@

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this makefile.
# To change the values of `make' variables: instead of editing makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
gambcdir = $(prefix)/share/$(PACKAGE)
includedir = $(prefix)/include
libdir = $(prefix)/lib

MDEFINES = prefix=$(prefix) exec_prefix=$(exec_prefix) \
bindir=$(bindir) gambcdir=$(gambcdir) libdir=$(libdir) \
includedir=$(includedir)

SUBDIRS = lib gsi gsc check doc misc

DISTFILES = readme \
makefile.in configure.in configure settings.h inst-sh mkidirs

.SUFFIXES:

goal: all

all install uninstall:
	for subdir in $(SUBDIRS); do \
	  echo making $@ in $$subdir; \
	  (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
	done

doc info dvi:
	cd doc && $(MAKE) $@

check: all
	cd check && $(MAKE) $(MDEFINES) $@

tags:
	cd lib && $(MAKE) $@

mostlyclean: mostlyclean-recursive mostlyclean-local

clean: clean-recursive clean-local

distclean: distclean-recursive distclean-local
	rm -f config.status

# This goal is not meant for real situations.  Do not use it.
realclean: realclean-recursive realclean-local
	rm -f config.status

mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive:
	for subdir in $(SUBDIRS); do \
	  target=`echo $@ | sed 's/-recursive//'`; \
	  echo making $$target in $$subdir; \
	  (cd $$subdir && $(MAKE) $$target) || exit 1; \
	done

mostlyclean-local:

clean-local: mostlyclean-local

distclean-local: clean-local
	rm -f makefile config.cache config.h config.log

realclean-local: distclean-local

dist:
	rm -rf $(PACKAGE)$(VERSION)
	mkdir $(PACKAGE)$(VERSION)
	chmod 777 $(PACKAGE)$(VERSION)
	@echo "Copying distribution files"
	@for file in $(DISTFILES); do \
	  ln $(srcdirpfx)$$file $(PACKAGE)$(VERSION) 2> /dev/null \
	    || cp -p $(srcdirpfx)$$file $(PACKAGE)$(VERSION); \
	done
	for subdir in $(SUBDIRS); do \
	  echo making $@ in $$subdir; \
	  mkdir $(PACKAGE)$(VERSION)/$$subdir; \
	  chmod 777 $(PACKAGE)$(VERSION)/$$subdir; \
	  (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
	done
	chmod -R a+r $(PACKAGE)$(VERSION)
	tar chof $(PACKAGE)$(VERSION).tar $(PACKAGE)$(VERSION)
	gzip -9 $(PACKAGE)$(VERSION).tar
	rm -rf $(PACKAGE)$(VERSION)

# For an explanation of the following makefile rules, see node
# `Automatic Remaking' in GNU Autoconf documentation.
makefile: makefile.in config.status
	CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
config.status: configure
	./config.status --recheck
configure: configure.in
	cd $(srcdir) && autoconf configure.in > configure

# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: