1
################################################################################
2
### Copyright 2007 VMware, Inc. All rights reserved.
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.
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.
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
################################################################################
18
bin_PROGRAMS = vmware-user
21
AM_CFLAGS += @GTK_CPPFLAGS@
23
AM_CFLAGS += @GTKMM_CPPFLAGS@
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@
32
AM_CXXFLAGS = $(AM_CFLAGS)
35
vmware_user_LDADD += ../lib/conf/libConf.la
36
vmware_user_LDADD += ../lib/eventManager/libEventManager.la
37
vmware_user_LDADD += ../lib/file/libFile.la
39
vmware_user_LDADD += ../lib/ghIntegration/libGhIntegration.la
41
vmware_user_LDADD += ../lib/ghIntegrationStub/libGhIntegrationStub.la
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
59
vmware_user_LDADD += ../lib/unity/libUnity.la
60
vmware_user_LDADD += ../lib/unityWindowTracker/libUnityWindowTracker.la
62
vmware_user_LDADD += ../lib/unityStub/libUnityStub.la
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
80
vmware_user_LDADD += ../lib/dndGuest/libDndGuest.la
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
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
99
vmware_user_LDADD += -lcrypt
100
vmware_user_LDADD += -lstdc++
102
vmware_user_LDADD += -lgcc_s
103
vmware_user_LDADD += ../lib/slashProc/libSlashProc.la
106
vmware_user_LDADD += ../lib/lock/libLock.la
107
vmware_user_LDADD += ../lib/misc/libMisc.la
109
vmware_user_LDADD += @GTHREAD_LIBS@
110
vmware_user_LDADD += @GTK_LIBS@
112
vmware_user_LDADD += @GTKMM_LIBS@
114
vmware_user_LDADD += @VMWARE_USER_LDADD@
115
vmware_user_LDADD += @COMMON_XLIBS@
116
vmware_user_LDADD += @ICU_LIBS@
118
vmware_user_LDADD += @URIPARSER_LIBS@
119
vmware_user_LDADD += @LIBPNG_LIBS@
120
vmware_user_LDADD += @ZLIB_LIBS@
123
vmware_user_SOURCES =
124
vmware_user_SOURCES += copyPaste.c
126
vmware_user_SOURCES += copyPasteUI.cpp
128
vmware_user_SOURCES += copyPasteDnDWrapper.cpp
129
vmware_user_SOURCES += debugStdio.c
130
vmware_user_SOURCES += dnd.c
132
vmware_user_SOURCES += dndUI.cpp
133
vmware_user_SOURCES += dragDetWnd.cpp
135
vmware_user_SOURCES += $(top_srcdir)/services/plugins/vix/foundryToolsDaemon.c
136
vmware_user_SOURCES += notify.c
137
vmware_user_SOURCES += pointer.c
139
vmware_user_SOURCES += stringxx/string.cc
141
vmware_user_SOURCES += vmware-user.cpp
144
$(INSTALL) -d $(DESTDIR)$(datadir)/applications/
145
$(INSTALL) -m 644 $(top_srcdir)/scripts/common/vmware-user.desktop \
146
$(DESTDIR)$(datadir)/applications/
148
rm -f $(DESTDIR)$(datadir)/applications/vmware-user.desktop