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

« back to all changes in this revision

Viewing changes to vmware-user/Makefile.am

  • 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:
1
 
################################################################################
2
 
### Copyright 2007 VMware, Inc.  All rights reserved.
3
 
###
4
 
### This program is free software; you can redistribute it and/or modify
5
 
### it under the terms of version 2 of the GNU General Public License as
6
 
### published by the Free Software Foundation.
7
 
###
8
 
### This program is distributed in the hope that it will be useful,
9
 
### but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 
### GNU General Public License for more details.
12
 
###
13
 
### You should have received a copy of the GNU General Public License
14
 
### along with this program; if not, write to the Free Software
15
 
### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
 
################################################################################
17
 
 
18
 
bin_PROGRAMS = vmware-user
19
 
 
20
 
AM_CFLAGS =
21
 
AM_CFLAGS += @GTK_CPPFLAGS@
22
 
if HAVE_GTKMM
23
 
   AM_CFLAGS += @GTKMM_CPPFLAGS@
24
 
endif
25
 
AM_CFLAGS += @VMWARE_USER_CPPFLAGS@
26
 
AM_CFLAGS += -I$(top_builddir)/include
27
 
AM_CFLAGS += -I$(top_srcdir)/lib/dndGuest
28
 
AM_CFLAGS += -DRESOLUTION_X11
29
 
AM_CFLAGS += -I$(top_srcdir)/services/plugins/vix
30
 
AM_CFLAGS += @GTHREAD_CPPFLAGS@
31
 
 
32
 
AM_CXXFLAGS = $(AM_CFLAGS)
33
 
 
34
 
vmware_user_LDADD =
35
 
vmware_user_LDADD += ../lib/conf/libConf.la
36
 
vmware_user_LDADD += ../lib/eventManager/libEventManager.la
37
 
vmware_user_LDADD += ../lib/file/libFile.la
38
 
if ENABLE_UNITY
39
 
   vmware_user_LDADD += ../lib/ghIntegration/libGhIntegration.la
40
 
else
41
 
   vmware_user_LDADD += ../lib/ghIntegrationStub/libGhIntegrationStub.la
42
 
endif
43
 
vmware_user_LDADD += ../lib/guestApp/libGuestAppX11.la
44
 
vmware_user_LDADD += ../lib/guestInfo/libGuestInfo.la
45
 
vmware_user_LDADD += ../lib/hgfsServer/libHgfsServer.la
46
 
vmware_user_LDADD += ../lib/hgfsServerManagerGuest/libHgfsServerManagerGuest.la
47
 
vmware_user_LDADD += ../lib/hgfsServerPolicyGuest/libHgfsServerPolicyGuest.la
48
 
vmware_user_LDADD += ../lib/impersonate/libImpersonate.la
49
 
vmware_user_LDADD += ../lib/printer/libPrinter.la
50
 
vmware_user_LDADD += ../lib/resolution/libResolution.la
51
 
vmware_user_LDADD += ../lib/rpcIn/libRpcIn.la
52
 
vmware_user_LDADD += ../lib/rpcOut/libRpcOut.la
53
 
vmware_user_LDADD += ../lib/rpcVmx/libRpcVmx.la
54
 
vmware_user_LDADD += ../lib/SLPv2Parser/libSLPv2Parser.la
55
 
vmware_user_LDADD += ../lib/string/libString.la
56
 
vmware_user_LDADD += ../lib/syncDriver/libSyncDriver.la
57
 
vmware_user_LDADD += ../lib/system/libSystem.la
58
 
if ENABLE_UNITY
59
 
   vmware_user_LDADD += ../lib/unity/libUnity.la
60
 
   vmware_user_LDADD += ../lib/unityWindowTracker/libUnityWindowTracker.la
61
 
else
62
 
   vmware_user_LDADD += ../lib/unityStub/libUnityStub.la
63
 
endif
64
 
vmware_user_LDADD += ../lib/user/libUser.la
65
 
vmware_user_LDADD += ../lib/vixTools/libVixTools.la
66
 
vmware_user_LDADD += ../lib/hgfsHelper/libHgfsHelper.la
67
 
vmware_user_LDADD += ../lib/vmCheck/libVmCheck.la
68
 
vmware_user_LDADD += ../lib/vmSignal/libVmSignal.la
69
 
vmware_user_LDADD += ../lib/wiper/libWiper.la
70
 
# In the absence of the linker options --start-group and --end-group (which
71
 
# can't be put in LDADD), we need to bring the following libraries out of
72
 
# the alphabetical order so their symbols are properly resolved.
73
 
vmware_user_LDADD += ../lib/netUtil/libNetUtil.la
74
 
vmware_user_LDADD += ../lib/guestRpc/libGuestRpc.la
75
 
vmware_user_LDADD += ../lib/err/libErr.la
76
 
vmware_user_LDADD += ../lib/foundryMsg/libFoundryMsg.la
77
 
vmware_user_LDADD += ../lib/backdoor/libBackdoor.la
78
 
vmware_user_LDADD += ../lib/dict/libDict.la
79
 
if HAVE_GTKMM
80
 
vmware_user_LDADD += ../lib/dndGuest/libDndGuest.la
81
 
endif
82
 
vmware_user_LDADD += ../lib/dnd/libDnd.la
83
 
vmware_user_LDADD += ../lib/dynxdr/libDynxdr.la
84
 
vmware_user_LDADD += ../lib/hgfs/libHgfs.la
85
 
vmware_user_LDADD += ../lib/message/libMessage.la
86
 
vmware_user_LDADD += ../lib/unicode/libUnicode.la
87
 
vmware_user_LDADD += ../lib/auth/libAuth.la
88
 
vmware_user_LDADD += ../lib/procMgr/libProcMgr.la
89
 
vmware_user_LDADD += ../lib/panicDefault/libPanicDefault.la
90
 
vmware_user_LDADD += ../lib/panic/libPanic.la
91
 
vmware_user_LDADD += ../lib/stubs/libStubs.la
92
 
if ENABLE_UNITY
93
 
   vmware_user_LDADD += ../lib/appUtil/libAppUtil.la
94
 
   vmware_user_LDADD += ../lib/image/libImage.la
95
 
   vmware_user_LDADD += ../lib/raster/libRaster.la
96
 
   vmware_user_LDADD += ../lib/region/libRegion.la
97
 
endif
98
 
 
99
 
vmware_user_LDADD += -lcrypt
100
 
vmware_user_LDADD += -lstdc++
101
 
if USE_SLASH_PROC
102
 
   vmware_user_LDADD += -lgcc_s
103
 
   vmware_user_LDADD += ../lib/slashProc/libSlashProc.la
104
 
endif
105
 
 
106
 
vmware_user_LDADD += ../lib/lock/libLock.la
107
 
vmware_user_LDADD += ../lib/misc/libMisc.la
108
 
 
109
 
vmware_user_LDADD += @GTHREAD_LIBS@
110
 
vmware_user_LDADD += @GTK_LIBS@
111
 
if HAVE_GTKMM
112
 
   vmware_user_LDADD += @GTKMM_LIBS@
113
 
endif
114
 
vmware_user_LDADD += @VMWARE_USER_LDADD@
115
 
vmware_user_LDADD += @COMMON_XLIBS@
116
 
vmware_user_LDADD += @ICU_LIBS@
117
 
if ENABLE_UNITY
118
 
   vmware_user_LDADD += @URIPARSER_LIBS@
119
 
   vmware_user_LDADD += @LIBPNG_LIBS@
120
 
   vmware_user_LDADD += @ZLIB_LIBS@
121
 
endif
122
 
 
123
 
vmware_user_SOURCES =
124
 
vmware_user_SOURCES += copyPaste.c
125
 
if HAVE_GTKMM
126
 
   vmware_user_SOURCES += copyPasteUI.cpp
127
 
endif
128
 
vmware_user_SOURCES += copyPasteDnDWrapper.cpp
129
 
vmware_user_SOURCES += debugStdio.c
130
 
vmware_user_SOURCES += dnd.c
131
 
if HAVE_GTKMM
132
 
vmware_user_SOURCES += dndUI.cpp
133
 
vmware_user_SOURCES += dragDetWnd.cpp
134
 
endif
135
 
vmware_user_SOURCES += $(top_srcdir)/services/plugins/vix/foundryToolsDaemon.c
136
 
vmware_user_SOURCES += notify.c
137
 
vmware_user_SOURCES += pointer.c
138
 
if HAVE_GTKMM
139
 
   vmware_user_SOURCES += stringxx/string.cc
140
 
endif
141
 
vmware_user_SOURCES += vmware-user.cpp
142
 
 
143
 
install-exec-hook:
144
 
        $(INSTALL) -d $(DESTDIR)$(datadir)/applications/
145
 
        $(INSTALL) -m 644 $(top_srcdir)/scripts/common/vmware-user.desktop \
146
 
                $(DESTDIR)$(datadir)/applications/
147
 
uninstall-hook:
148
 
        rm -f $(DESTDIR)$(datadir)/applications/vmware-user.desktop