~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to vmware-user-suid-wrapper/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-03-31 14:20:05 UTC
  • mfrom: (1.4.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110331142005-3n9red91p7ogkweo
Tags: 2011.03.28-387002-0ubuntu1
* Merge latest upstream git tag.  This has the unlocked_ioctl change
  needed to fix dkms build failures (LP: #727342)
* Changes in debian/rules:
  - work around a bug in toolbox/Makefile, where install-exec-hook is
    not happening.  This needs to get fixed the right way.
  - don't install 'vmware-user' which seems to no longer exist
  - move /etc/xdg into open-vm-toolbox (which should be done using .install)
* debian/open-vm-tools.init: add 'modprobe [-r] vmblock'. (LP: #332323)
* debian/rules and debian/open-vm-toolbox.lintian-overrides:
  - Make vmware-user-suid-wrapper suid-root (LP: #332323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
33
33
################################################################################
34
34
 
 
35
 
35
36
VPATH = @srcdir@
36
37
pkgdatadir = $(datadir)/@PACKAGE@
37
38
pkgincludedir = $(includedir)/@PACKAGE@
64
65
mkinstalldirs = $(install_sh) -d
65
66
CONFIG_CLEAN_FILES =
66
67
CONFIG_CLEAN_VPATH_FILES =
67
 
am__installdirs = "$(DESTDIR)$(bindir)"
 
68
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(autostartdir)"
68
69
PROGRAMS = $(bin_PROGRAMS)
69
70
am_vmware_user_suid_wrapper_OBJECTS = main.$(OBJEXT) \
70
71
        wrapper-@TARGET_OS@.$(OBJEXT)
87
88
        $(LDFLAGS) -o $@
88
89
SOURCES = $(vmware_user_suid_wrapper_SOURCES)
89
90
DIST_SOURCES = $(vmware_user_suid_wrapper_SOURCES)
 
91
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
92
am__vpath_adj = case $$p in \
 
93
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
94
    *) f=$$p;; \
 
95
  esac;
 
96
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
97
am__install_max = 40
 
98
am__nobase_strip_setup = \
 
99
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
100
am__nobase_strip = \
 
101
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
102
am__nobase_list = $(am__nobase_strip_setup); \
 
103
  for p in $$list; do echo "$$p $$p"; done | \
 
104
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
105
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
106
    if (++n[$$2] == $(am__install_max)) \
 
107
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
108
    END { for (dir in files) print dir, files[dir] }'
 
109
am__base_list = \
 
110
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
111
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
 
112
DATA = $(autostart_DATA)
90
113
ETAGS = etags
91
114
CTAGS = ctags
92
115
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
126
149
FGREP = @FGREP@
127
150
FUSE_CPPFLAGS = @FUSE_CPPFLAGS@
128
151
FUSE_LIBS = @FUSE_LIBS@
 
152
GIO_CPPFLAGS = @GIO_CPPFLAGS@
 
153
GIO_LIBS = @GIO_LIBS@
129
154
GLIB2_CPPFLAGS = @GLIB2_CPPFLAGS@
130
155
GLIB2_LIBS = @GLIB2_LIBS@
131
156
GMODULE_CPPFLAGS = @GMODULE_CPPFLAGS@
141
166
GTK_LIBS = @GTK_LIBS@
142
167
HAVE_DOT = @HAVE_DOT@
143
168
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
 
169
HGFS_LIBS = @HGFS_LIBS@
144
170
ICU_CPPFLAGS = @ICU_CPPFLAGS@
145
171
ICU_LIBS = @ICU_LIBS@
146
172
INSTALL = @INSTALL@
148
174
INSTALL_PROGRAM = @INSTALL_PROGRAM@
149
175
INSTALL_SCRIPT = @INSTALL_SCRIPT@
150
176
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
177
INSTVMSG = @INSTVMSG@
151
178
KERNEL_RELEASE = @KERNEL_RELEASE@
152
179
LD = @LD@
153
180
LDFLAGS = @LDFLAGS@
160
187
LIB_AUTH_CPPFLAGS = @LIB_AUTH_CPPFLAGS@
161
188
LIB_IMPERSONATE_CPPFLAGS = @LIB_IMPERSONATE_CPPFLAGS@
162
189
LIB_USER_CPPFLAGS = @LIB_USER_CPPFLAGS@
 
190
LINUXINCLUDE = @LINUXINCLUDE@
163
191
LIPO = @LIPO@
164
192
LN_S = @LN_S@
165
193
LTLIBOBJS = @LTLIBOBJS@
194
222
RANLIB = @RANLIB@
195
223
RPCGEN = @RPCGEN@
196
224
RPCGENFLAGS = @RPCGENFLAGS@
 
225
RPCGEN_WRAPPER = @RPCGEN_WRAPPER@
197
226
SED = @SED@
198
227
SET_MAKE = @SET_MAKE@
199
228
SHELL = @SHELL@
210
239
VMTOOLS_CPPFLAGS = @VMTOOLS_CPPFLAGS@
211
240
VMTOOLS_LIBS = @VMTOOLS_LIBS@
212
241
VMUSR_PLUGIN_INSTALLDIR = @VMUSR_PLUGIN_INSTALLDIR@
213
 
VMWARE_USER_CPPFLAGS = @VMWARE_USER_CPPFLAGS@
214
 
VMWARE_USER_LDADD = @VMWARE_USER_LDADD@
215
242
XDR_LIBS = @XDR_LIBS@
216
243
XMKMF = @XMKMF@
 
244
XSM_LIBS = @XSM_LIBS@
217
245
X_CFLAGS = @X_CFLAGS@
218
246
X_EXTRA_LIBS = @X_EXTRA_LIBS@
219
247
X_LIBS = @X_LIBS@
277
305
top_build_prefix = @top_build_prefix@
278
306
top_builddir = @top_builddir@
279
307
top_srcdir = @top_srcdir@
280
 
 
281
 
# We shouldn't impose on users' installation preferences, so just provide
282
 
# a sane default and let them override it at configure or make time.
283
 
VMWARE_USER_PATH = $(bindir)/vmware-user
284
 
AM_CPPFLAGS = -DVMWARE_USER_PATH=\"$(VMWARE_USER_PATH)\"
 
308
AM_CPPFLAGS = -DVMTOOLSD_PATH=\"$(bindir)/vmtoolsd\"
285
309
vmware_user_suid_wrapper_SOURCES = main.c wrapper-@TARGET_OS@.c
286
310
vmware_user_suid_wrapper_LDADD = ../lib/vmSignal/libVmSignal.la
 
311
desktopfile = vmware-user.desktop
 
312
desktopfilesrc = $(top_srcdir)/vmware-user-suid-wrapper/vmware-user.desktop.in
 
313
autostartdir = $(sysconfdir)/xdg/autostart
 
314
autostart_DATA = $(desktopfile)
 
315
CLEANFILES = $(desktopfile)
287
316
all: all-am
288
317
 
289
318
.SUFFIXES:
400
429
 
401
430
clean-libtool:
402
431
        -rm -rf .libs _libs
 
432
install-autostartDATA: $(autostart_DATA)
 
433
        @$(NORMAL_INSTALL)
 
434
        test -z "$(autostartdir)" || $(MKDIR_P) "$(DESTDIR)$(autostartdir)"
 
435
        @list='$(autostart_DATA)'; test -n "$(autostartdir)" || list=; \
 
436
        for p in $$list; do \
 
437
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 
438
          echo "$$d$$p"; \
 
439
        done | $(am__base_list) | \
 
440
        while read files; do \
 
441
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(autostartdir)'"; \
 
442
          $(INSTALL_DATA) $$files "$(DESTDIR)$(autostartdir)" || exit $$?; \
 
443
        done
 
444
 
 
445
uninstall-autostartDATA:
 
446
        @$(NORMAL_UNINSTALL)
 
447
        @list='$(autostart_DATA)'; test -n "$(autostartdir)" || list=; \
 
448
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
 
449
        test -n "$$files" || exit 0; \
 
450
        echo " ( cd '$(DESTDIR)$(autostartdir)' && rm -f" $$files ")"; \
 
451
        cd "$(DESTDIR)$(autostartdir)" && rm -f $$files
403
452
 
404
453
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
405
454
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
485
534
        done
486
535
check-am: all-am
487
536
check: check-am
488
 
all-am: Makefile $(PROGRAMS)
 
537
all-am: Makefile $(PROGRAMS) $(DATA)
489
538
installdirs:
490
 
        for dir in "$(DESTDIR)$(bindir)"; do \
 
539
        for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(autostartdir)"; do \
491
540
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
492
541
        done
493
542
install: install-am
507
556
mostlyclean-generic:
508
557
 
509
558
clean-generic:
 
559
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
510
560
 
511
561
distclean-generic:
512
562
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
537
587
 
538
588
info-am:
539
589
 
540
 
install-data-am:
 
590
install-data-am: install-autostartDATA
541
591
 
542
592
install-dvi: install-dvi-am
543
593
 
583
633
 
584
634
ps-am:
585
635
 
586
 
uninstall-am: uninstall-binPROGRAMS
 
636
uninstall-am: uninstall-autostartDATA uninstall-binPROGRAMS
587
637
 
588
638
.MAKE: install-am install-strip
589
639
 
591
641
        clean-generic clean-libtool ctags distclean distclean-compile \
592
642
        distclean-generic distclean-libtool distclean-tags distdir dvi \
593
643
        dvi-am html html-am info info-am install install-am \
594
 
        install-binPROGRAMS install-data install-data-am install-dvi \
595
 
        install-dvi-am install-exec install-exec-am install-html \
596
 
        install-html-am install-info install-info-am install-man \
597
 
        install-pdf install-pdf-am install-ps install-ps-am \
598
 
        install-strip installcheck installcheck-am installdirs \
599
 
        maintainer-clean maintainer-clean-generic mostlyclean \
600
 
        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
601
 
        pdf pdf-am ps ps-am tags uninstall uninstall-am \
 
644
        install-autostartDATA install-binPROGRAMS install-data \
 
645
        install-data-am install-dvi install-dvi-am install-exec \
 
646
        install-exec-am install-html install-html-am install-info \
 
647
        install-info-am install-man install-pdf install-pdf-am \
 
648
        install-ps install-ps-am install-strip installcheck \
 
649
        installcheck-am installdirs maintainer-clean \
 
650
        maintainer-clean-generic mostlyclean mostlyclean-compile \
 
651
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
 
652
        tags uninstall uninstall-am uninstall-autostartDATA \
602
653
        uninstall-binPROGRAMS
603
654
 
604
655
 
 
656
$(desktopfile): $(desktopfilesrc)
 
657
        sed 's,_bindir_,$(bindir),' $(desktopfilesrc) > $(desktopfile)
 
658
 
605
659
# Tell versions [3.59,3.63) of GNU make to not export all variables.
606
660
# Otherwise a system limit (for SysV at least) may be exceeded.
607
661
.NOEXPORT: