File: Makefile.in

package info (click to toggle)
plucker 1.8-34
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,340 kB
  • sloc: ansic: 47,691; cpp: 42,310; python: 17,043; makefile: 1,521; perl: 1,492; pascal: 1,123; sh: 474; sed: 64; java: 13; csh: 6
file content (186 lines) | stat: -rw-r--r-- 5,114 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
#
# $Id: Makefile.in,v 1.36 2003/10/12 11:02:17 nordstrom Exp $
#

SHELL           =   @SHELL@

srcdir          =   @srcdir@
VPATH           =   @srcdir@

DESTDIR         =

DOCS_DIR        =   docs
PARSER_DIR      =   parser
UNIX_DIR        =   unix
VIEWER_DIR      =   viewer
TOOLS_DIR       =   tools
DESKTOP_DIR     =   plucker_desktop
UNPLUCK_DIR     =   $(TOOLS_DIR)/unpluck
EXPLODE_DIR     =   $(TOOLS_DIR)/explode
GTKVIEWER_DIR   =   viewer-GTK+2-POSIX

BINDIR          =   $(DESTDIR)@bindir@
DOCDIR          =   $(DESTDIR)@DOCDIR@
DATADIR         =   $(DESTDIR)@PLUCKERDIR@

BUILD_PRC       =   @BUILD_PRC@
BUILD_MANUAL    =   @BUILD_MANUAL@
BUILD_DESKTOP   =   @BUILD_DESKTOP@
BUILD_UNPLUCK   =   @BUILD_UNPLUCK@
BUILD_EXPLODE   =   @BUILD_EXPLODE@
BUILD_GTKVIEWER =   @BUILD_GTKVIEWER@

MKINSTALLDIRS   =   ./mkinstalldirs
AUTOCONF        =   @AUTOCONF@


all: palmos_client pyplucker manual pluck_comics plucker-desktop unpluck explode gtkviewer

Makefile: Makefile.in config.status
	CONFIG_FILES=$@ $(SHELL) ./config.status

config.status: configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck

configure: configure.in $(CONFIGURE_DEPENDENCIES)
	$(AUTOCONF)

palmos_client:
	@if test "$(BUILD_PRC)" != "no"; then \
	    cd $(VIEWER_DIR) ; $(MAKE); \
	fi

pyplucker:
	cd $(PARSER_DIR) ; $(MAKE) $@;

manual:
	@if test "$(BUILD_MANUAL)" != "no"; then \
		cd $(DOCS_DIR) ; $(MAKE); \
	fi

pluck_comics:
	cd $(TOOLS_DIR) ; $(MAKE) $@

plucker-desktop:
	@if test "$(BUILD_DESKTOP)" != "no"; then \
		cd $(DESKTOP_DIR) ; $(MAKE) $@ ; \
	fi

unpluck:
	@if test "$(BUILD_UNPLUCK)" != "no"; then \
		cd $(UNPLUCK_DIR) ; $(MAKE) all ; \
	fi

explode:
	@if test "$(BUILD_EXPLODE)" != "no"; then \
		cd $(EXPLODE_DIR) ; $(MAKE) all ; \
	fi

gtkviewer:
	@if test "$(BUILD_GTKVIEWER)" != "no"; then \
		cd $(GTKVIEWER_DIR) ; $(MAKE) all ; \
	fi

install: install-palmos_client install-manual install-data install-pyplucker install-pluck_comics install-plucker-desktop install-unpluck install-explode install-gtkviewer

install-palmos_client: palmos_client
	$(MKINSTALLDIRS) $(DATADIR)/palm
	-cp $(VIEWER_DIR)/*.prc $(DATADIR)/palm

install-manual: manual
	cd $(DOCS_DIR) ; $(MAKE) install

install-data:
	$(MKINSTALLDIRS) $(BINDIR)
	cp $(UNIX_DIR)/setup.py $(BINDIR)/plucker-setup ; chmod 755 $(BINDIR)/plucker-setup
	$(MKINSTALLDIRS) $(DOCDIR)
	cp AUTHORS BUGREPORT COPYING CREDITS ChangeLog FAQ NEWS README REQUIREMENTS $(DOCDIR)
	cd $(PARSER_DIR) ; $(MAKE) $@

install-pyplucker: pyplucker
	cd $(PARSER_DIR) ; $(MAKE) $@

install-pluck_comics: pluck_comics
	cd $(TOOLS_DIR) ; $(MAKE) install-pluck_comics

install-plucker-desktop: plucker-desktop
    @if test "$(BUILD_DESKTOP)" != "no"; then \
	    cd $(DESKTOP_DIR) ; $(MAKE) install \
    fi

install-unpluck: unpluck
	@if test "$(BUILD_UNPLUCK)" != "no"; then \
		cd $(UNPLUCK_DIR) ; $(MAKE) install ; \
	fi

install-explode: explode
	@if test "$(BUILD_EXPLODE)" != "no"; then \
		cd $(EXPLODE_DIR) ; $(MAKE) install ; \
	fi

install-gtkviewer: gtkviewer
	@if test "$(BUILD_GTKVIEWER)" != "no"; then \
		cd $(GTKVIEWER_DIR) ; $(MAKE) install ; \
	fi

clean-recursive:
	@if test "$(BUILD_MANUAL)" != "no"; then \
	    cd $(DOCS_DIR) ; $(MAKE) clean ; \
    fi
	cd $(PARSER_DIR) ; $(MAKE) clean
	@if test "$(BUILD_PRC)" != "no"; then \
	    cd $(VIEWER_DIR) ; $(MAKE) clean ; \
    fi
	cd $(TOOLS_DIR) ; $(MAKE) clean
	@if test "$(BUILD_DESKTOP)" != "no"; then \
	    cd $(DESKTOP_DIR) ; $(MAKE) clean ; \
    fi
	@if test "$(BUILD_GTKVIEWER)" != "no"; then \
	    cd $(GTKVIEWER_DIR) ; $(MAKE) clean ; \
    fi

distclean-recursive:
	@if test "$(BUILD_MANUAL)" != "no"; then \
	    cd $(DOCS_DIR) ; $(MAKE) distclean ; \
    fi
	cd $(PARSER_DIR) ; $(MAKE) distclean
	@if test "$(BUILD_PRC)" != "no"; then \
	    cd $(VIEWER_DIR) ; $(MAKE) distclean ; \
    fi
	cd $(TOOLS_DIR) ; $(MAKE) distclean
	@if test "$(BUILD_DESKTOP)" != "no"; then \
	    cd $(DESKTOP_DIR) ; $(MAKE) distclean ; \
    fi
	@if test "$(BUILD_GTKVIEWER)" != "no"; then \
	    cd $(GTKVIEWER_DIR) ; $(MAKE) distclean ; \
    fi
	cd $(UNIX_DIR) ; rm -f setup.py

maintainer-clean-recursive:
	@if test "$(BUILD_MANUAL)" != "no"; then \
	    cd $(DOCS_DIR) ; $(MAKE) maintainer-clean ; \
    fi
	cd $(PARSER_DIR) ; $(MAKE) maintainer-clean
	@if test "$(BUILD_PRC)" != "no"; then \
	    cd $(VIEWER_DIR) ; $(MAKE) maintainer-clean ; \
    fi
	cd $(TOOLS_DIR) ; $(MAKE) maintainer-clean
	@if test "$(BUILD_DESKTOP)" != "no"; then \
	    cd $(DESKTOP_DIR) ; $(MAKE) maintainer-clean ; \
    fi
	@if test "$(BUILD_GTKVIEWER)" != "no"; then \
	    cd $(GTKVIEWER_DIR) ; $(MAKE) maintainer-clean ; \
    fi
	cd $(UNIX_DIR) ; rm -f setup.py

clean: clean-recursive

distclean: clean distclean-recursive
	rm -f Makefile config.*
	rm -fr autom4te.cache

maintainer-clean: distclean maintainer-clean-recursive
	@echo "------------------------------------------------------------"
	@echo "This command is intended for maintainers to use..."
	@echo "it deletes files that may require special tools to rebuild."
	@echo "------------------------------------------------------------"