~ubuntu-branches/ubuntu/precise/grcm/precise

« back to all changes in this revision

Viewing changes to src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Luca Niccoli
  • Date: 2009-04-04 00:23:55 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20090404002355-hgzcfwns8vis1mmx
Tags: 0.1.6-1
* Adopt package.
* New upstream release.
* Repackage from scratch using quilt.
* Use debhelper 7
* Set Standards Version to 3.8.1
* Move build system to latest automake in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
TAR = gtar
128
128
GZIP_ENV = --best
 
129
DEP_FILES =  .deps/callbacks.P .deps/connection_types.P \
 
130
.deps/connections.P .deps/interface.P .deps/main.P .deps/support.P
129
131
SOURCES = $(grcm_SOURCES)
130
132
OBJECTS = $(grcm_OBJECTS)
131
133
 
133
135
.SUFFIXES:
134
136
.SUFFIXES: .S .c .o .s
135
137
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
136
 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
 
138
        cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
137
139
 
138
 
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
140
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
139
141
        cd $(top_builddir) \
140
142
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
141
143
 
165
167
          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
166
168
        done
167
169
 
168
 
.c.o:
169
 
        $(COMPILE) -c $<
170
 
 
171
170
.s.o:
172
171
        $(COMPILE) -c $<
173
172
 
222
221
subdir = src
223
222
 
224
223
distdir: $(DISTFILES)
 
224
        here=`cd $(top_builddir) && pwd`; \
 
225
        top_distdir=`cd $(top_distdir) && pwd`; \
 
226
        distdir=`cd $(distdir) && pwd`; \
 
227
        cd $(top_srcdir) \
 
228
          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
225
229
        @for file in $(DISTFILES); do \
226
230
          d=$(srcdir); \
227
231
          if test -d $$d/$$file; then \
232
236
            || cp -p $$d/$$file $(distdir)/$$file || :; \
233
237
          fi; \
234
238
        done
235
 
callbacks.o: callbacks.c ../config.h callbacks.h interface.h support.h \
236
 
        main.h
237
 
connection_types.o: connection_types.c ../config.h interface.h support.h \
238
 
        main.h callbacks.h
239
 
connections.o: connections.c ../config.h interface.h support.h main.h \
240
 
        callbacks.h
241
 
interface.o: interface.c ../config.h callbacks.h interface.h support.h
242
 
main.o: main.c ../config.h interface.h support.h main.h callbacks.h
243
 
support.o: support.c ../config.h support.h
244
 
 
 
239
 
 
240
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
 
241
 
 
242
-include $(DEP_FILES)
 
243
 
 
244
mostlyclean-depend:
 
245
 
 
246
clean-depend:
 
247
 
 
248
distclean-depend:
 
249
        -rm -rf .deps
 
250
 
 
251
maintainer-clean-depend:
 
252
 
 
253
%.o: %.c
 
254
        @echo '$(COMPILE) -c $<'; \
 
255
        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
 
256
        @-cp .deps/$(*F).pp .deps/$(*F).P; \
 
257
        tr ' ' '\012' < .deps/$(*F).pp \
 
258
          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
 
259
            >> .deps/$(*F).P; \
 
260
        rm .deps/$(*F).pp
 
261
 
 
262
%.lo: %.c
 
263
        @echo '$(LTCOMPILE) -c $<'; \
 
264
        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
 
265
        @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
 
266
          < .deps/$(*F).pp > .deps/$(*F).P; \
 
267
        tr ' ' '\012' < .deps/$(*F).pp \
 
268
          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
 
269
            >> .deps/$(*F).P; \
 
270
        rm -f .deps/$(*F).pp
245
271
info-am:
246
272
info: info-am
247
273
dvi-am:
279
305
 
280
306
maintainer-clean-generic:
281
307
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
282
 
                mostlyclean-tags mostlyclean-generic
 
308
                mostlyclean-tags mostlyclean-depend mostlyclean-generic
283
309
 
284
310
mostlyclean: mostlyclean-am
285
311
 
286
 
clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
287
 
                mostlyclean-am
 
312
clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
 
313
                clean-generic mostlyclean-am
288
314
 
289
315
clean: clean-am
290
316
 
291
317
distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
292
 
                distclean-generic clean-am
 
318
                distclean-depend distclean-generic clean-am
293
319
 
294
320
distclean: distclean-am
295
321
 
296
322
maintainer-clean-am:  maintainer-clean-binPROGRAMS \
297
323
                maintainer-clean-compile maintainer-clean-tags \
298
 
                maintainer-clean-generic distclean-am
 
324
                maintainer-clean-depend maintainer-clean-generic \
 
325
                distclean-am
299
326
        @echo "This command is intended for maintainers to use;"
300
327
        @echo "it deletes files that may require special tools to rebuild."
301
328
 
305
332
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
306
333
mostlyclean-compile distclean-compile clean-compile \
307
334
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
308
 
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
309
 
check-am installcheck-am installcheck install-exec-am install-exec \
310
 
install-data-am install-data install-am install uninstall-am uninstall \
311
 
all-redirect all-am all installdirs mostlyclean-generic \
312
 
distclean-generic clean-generic maintainer-clean-generic clean \
313
 
mostlyclean distclean maintainer-clean
 
335
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
 
336
distclean-depend clean-depend maintainer-clean-depend info-am info \
 
337
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
 
338
install-exec install-data-am install-data install-am install \
 
339
uninstall-am uninstall all-redirect all-am all installdirs \
 
340
mostlyclean-generic distclean-generic clean-generic \
 
341
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
314
342
 
315
343
 
316
344
# Tell versions [3.59,3.63) of GNU make to not export all variables.