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

« back to all changes in this revision

Viewing changes to .pc/install.patch/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
#
102
102
DEFAULT_PROFILE_DIR = $(DEFAULT_SYS_DIR)/@DEFAULT_PROFILE_SUBDIR@
103
103
DEFAULT_LOCK_DIR = @DEFAULT_LOCK_DIR@
104
104
DEFAULT_RUN_DIR = @DEFAULT_RUN_DIR@
 
105
DEFAULT_MANGLING = @MANGLING@
105
106
 
106
107
# Setup vpath search paths for some suffixes
107
108
vpath %.c $(srcdir)
361
362
        $(CC) -c $(INCLUDES) $(DEFS) $(WFLAGS) $(CFLAGS) $(CFLAGS_$@) $< -o $@
362
363
 
363
364
%.pot: %.c Makefile
364
 
        $(CC) -E $(INCLUDES) -include $(top_srcdir)/include/pogen.h \
 
365
        $(CC) -E $(INCLUDES) -include $(top_builddir)/include/pogen.h \
365
366
                $(DEFS) $(WFLAGS) $(CFLAGS) $< > $@
366
367
 
367
368
%.so: %.o
412
413
        DEPS=`echo $(DEPS) | sed -e 's/\\//\\\\\\//g'`; \
413
414
        $(CC) -MM $(INCLUDES) $(DEFS) -o $@ $<; \
414
415
        sed -i "s/\(.*\)\.o[ :]*/$$FILE.o $$FILE.d $$FILE.pot: $$DEPS /g" $@; \
 
416
        DEPLIST=`sed 's/ \\\\//;s/.*://;' < $@`; \
 
417
        echo $$DEPLIST | fmt -1 | sed 's/ //g;s/\(.*\)/\1:/' >> $@; \
415
418
        [ -s $@ ] || $(RM) $@
416
419
 
417
420
%.mo: %.po