~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to lib/guestRpc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2008-08-15 21:21:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080815212140-05fhxj8wroosysmj
Tags: 2008.08.08-109361-1ubuntu1
* Merge from Debian unstable (LP: #258393), remaining Ubuntu change:
  - add ubuntu_toolchain_FTBFS.dpatch patch, fix FTBFS
* Update ubuntu_toolchain_FTBFS.dpatch patch for the new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
################################################################################
 
2
### Copyright 2008 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
noinst_LIBRARIES = libGuestRpc.a
 
19
 
 
20
libGuestRpc_a_SOURCES =
 
21
libGuestRpc_a_SOURCES += ghiGetBinaryHandlers_xdr.c
 
22
libGuestRpc_a_SOURCES += ghiProtocolHandler_xdr.c
 
23
libGuestRpc_a_SOURCES += nicinfo_xdr.c
 
24
 
 
25
nodist_libGuestRpc_a_SOURCES =
 
26
nodist_libGuestRpc_a_SOURCES += ghiGetBinaryHandlers.h
 
27
nodist_libGuestRpc_a_SOURCES += ghiGetBinaryHandlers_xdr.c
 
28
nodist_libGuestRpc_a_SOURCES += ghiProtocolHandler.h
 
29
nodist_libGuestRpc_a_SOURCES += ghiProtocolHandler_xdr.c
 
30
nodist_libGuestRpc_a_SOURCES += nicinfo.h
 
31
nodist_libGuestRpc_a_SOURCES += nicinfo_xdr.c
 
32
 
 
33
# XXX: Autoreconf complains about this and recommends using AM_CFLAGS instead.
 
34
# Neither that nor libGuestRpc_a_CFLAGS work, though. What gives?
 
35
CFLAGS += -Wno-unused
 
36
 
 
37
CLEANFILES =
 
38
CLEANFILES += ghiGetBinaryHandlers.h
 
39
CLEANFILES += ghiGetBinaryHandlers_xdr.c
 
40
CLEANFILES += ghiProtocolHandler.h
 
41
CLEANFILES += ghiProtocolHandler_xdr.c
 
42
CLEANFILES += nicinfo.h
 
43
CLEANFILES += nicinfo_xdr.c
 
44
 
 
45
EXTRA_DIST =
 
46
EXTRA_DIST += ghiGetBinaryHandlers.x
 
47
EXTRA_DIST += ghiProtocolHandler.x
 
48
EXTRA_DIST += nicinfo.x
 
49
 
 
50
ghiGetBinaryHandlers.h: ghiGetBinaryHandlers.x
 
51
        $(RPCGEN) -h -o $@ ghiGetBinaryHandlers.x
 
52
        $(SED) 's,rpc/rpc\.h,vmxrpc.h,' $@ > $@.tmp
 
53
        mv $@.tmp $@
 
54
        $(MKDIR_P) $(top_builddir)/include/guestrpc
 
55
        cp $@ $(top_builddir)/include/guestrpc
 
56
 
 
57
ghiGetBinaryHandlers_xdr.c: ghiGetBinaryHandlers.x ghiGetBinaryHandlers.h
 
58
        $(RPCGEN) -c -o $@ ghiGetBinaryHandlers.x
 
59
 
 
60
ghiProtocolHandler.h: ghiProtocolHandler.x
 
61
        $(RPCGEN) -h -o $@ ghiProtocolHandler.x
 
62
        $(SED) 's,rpc/rpc\.h,vmxrpc.h,' $@ > $@.tmp
 
63
        mv $@.tmp $@
 
64
        $(MKDIR_P) $(top_builddir)/include/guestrpc
 
65
        cp $@ $(top_builddir)/include/guestrpc
 
66
 
 
67
ghiProtocolHandler_xdr.c: ghiProtocolHandler.x ghiProtocolHandler.h
 
68
        $(RPCGEN) -c -o $@ ghiProtocolHandler.x
 
69
 
 
70
nicinfo.h: nicinfo.x
 
71
        $(RPCGEN) -h -o $@ nicinfo.x
 
72
        $(SED) 's,rpc/rpc\.h,vmxrpc.h,' $@ > $@.tmp
 
73
        mv $@.tmp $@
 
74
        $(MKDIR_P) $(top_builddir)/include/guestrpc
 
75
        cp $@ $(top_builddir)/include/guestrpc
 
76
 
 
77
nicinfo_xdr.c: nicinfo.x nicinfo.h
 
78
        $(RPCGEN) -c -o $@ nicinfo.x
 
79