~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to make.tmpl.in

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20140819153706-i1gaio8lg534dara
Tags: 2.02.109-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# @configure_input@
2
2
#
3
3
# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
4
 
# Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
 
4
# Copyright (C) 2004-2014 Red Hat, Inc. All rights reserved.
5
5
#
6
6
# This file is part of LVM2.
7
7
#
91
91
DEFAULT_PROFILE_DIR = $(DEFAULT_SYS_DIR)/@DEFAULT_PROFILE_SUBDIR@
92
92
DEFAULT_LOCK_DIR = @DEFAULT_LOCK_DIR@
93
93
DEFAULT_RUN_DIR = @DEFAULT_RUN_DIR@
 
94
DEFAULT_MANGLING = @MANGLING@
94
95
 
95
96
# Setup vpath search paths for some suffixes
96
97
vpath %.c $(srcdir)
342
343
        $(CC) -c $(INCLUDES) $(DEFS) $(WFLAGS) $(CFLAGS) $(CFLAGS_$@) $< -o $@
343
344
 
344
345
%.pot: %.c Makefile
345
 
        $(CC) -E $(INCLUDES) -include $(top_srcdir)/include/pogen.h \
 
346
        $(CC) -E $(INCLUDES) -include $(top_builddir)/include/pogen.h \
346
347
                $(DEFS) $(WFLAGS) $(CFLAGS) $< > $@
347
348
 
348
349
%.so: %.o
390
391
        DEPS=`echo $(DEPS) | sed -e 's/\\//\\\\\\//g'`; \
391
392
        $(CC) -MM $(INCLUDES) $(DEFS) -o $@ $<; \
392
393
        sed -i "s/\(.*\)\.o[ :]*/$$FILE.o $$FILE.d $$FILE.pot: $$DEPS /g" $@; \
 
394
        DEPLIST=`sed 's/ \\\\//;s/.*://;' < $@`; \
 
395
        echo $$DEPLIST | fmt -1 | sed 's/ //g;s/\(.*\)/\1:/' >> $@; \
393
396
        [ -s $@ ] || $(RM) $@
394
397
 
395
398
%.mo: %.po