cunit: fix compilation

This commit is contained in:
Marc-André Moreau 2012-05-05 20:45:13 -04:00
parent 2145a8bbee
commit 85eaf79239
8 changed files with 18 additions and 11 deletions

View File

@ -83,6 +83,7 @@ target_link_libraries(test_freerdp freerdp-utils)
target_link_libraries(test_freerdp freerdp-channels)
target_link_libraries(test_freerdp freerdp-codec)
target_link_libraries(test_freerdp freerdp-crypto)
target_link_libraries(test_freerdp freerdp-sspi)
target_link_libraries(test_freerdp winpr-sspi)
add_test(CUnitTests ${EXECUTABLE_OUTPUT_PATH}/test_freerdp)

View File

@ -24,13 +24,14 @@
#include <fcntl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <freerdp/freerdp.h>
#include <freerdp/utils/time.h>
#include <freerdp/codec/mppc_dec.h>
#include <freerdp/codec/mppc_enc.h>
#include "test_mppc_enc.h"
#define BUF_SIZE (1024 * 1)
#define DEBUG_MPPC_ENC_TEST 0

View File

@ -19,12 +19,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <freerdp/freerdp.h>
#include <freerdp/sspi/sspi.h>
#include "libfreerdp-sspi/NTLM/ntlm.h"
#include "libfreerdp-sspi/NTLM/ntlm_compute.h"
#include "libfreerdp-sspi/NTLM/ntlm_message.h"
#include <winpr/sspi.h>
#include <freerdp/freerdp.h>
#include "libwinpr-sspi/NTLM/ntlm.h"
#include "libwinpr-sspi/NTLM/ntlm_compute.h"
#include "libwinpr-sspi/NTLM/ntlm_message.h"
#include "test_ntlm.h"

View File

@ -17,13 +17,14 @@
* limitations under the License.
*/
#include <winpr/sspi.h>
#include <freerdp/freerdp.h>
#include <freerdp/utils/stream.h>
#include <freerdp/utils/memory.h>
#include <freerdp/utils/hexdump.h>
#include "test_sspi.h"
#include <freerdp/sspi/sspi.h>
#define NTLM_PACKAGE_NAME "NTLM"

View File

@ -8,6 +8,6 @@ Description: A free remote desktop protocol client
URL: http://www.freerdp.com/
Version: @FREERDP_VERSION_FULL@
Requires:
Libs: -L${libdir} -lfreerdp-cache -lfreerdp-channels -lfreerdp-codec -lfreerdp-core -lfreerdp-crypto -lfreerdp-gdi -lfreerdp-locale -lfreerdp-rail -lfreerdp-sspi -lfreerdp-utils
Libs: -L${libdir} -lfreerdp-cache -lfreerdp-channels -lfreerdp-codec -lfreerdp-core -lfreerdp-crypto -lfreerdp-gdi -lfreerdp-locale -lfreerdp-rail -lfreerdp-utils -lwinpr-sspi -lwinpr-rpc
Cflags: -I${includedir}

View File

@ -70,7 +70,7 @@ Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig
%description devel
Header files and unversioned libraries for libfreerdp-core, libfreerdp-channels,
libfreerdp-kbd, libfreerdp-cache, libfreerdp-codec, libfreerdp-rail,
libfreerdp-locale, libfreerdp-cache, libfreerdp-codec, libfreerdp-rail,
libfreerdp-gdi and libfreerdp-utils.
%prep

View File

@ -30,3 +30,6 @@ install(DIRECTORY freerdp/plugins DESTINATION include/freerdp FILES_MATCHING PAT
install(DIRECTORY freerdp/locale DESTINATION include/freerdp FILES_MATCHING PATTERN "*.h")
install(DIRECTORY freerdp/crypto DESTINATION include/freerdp FILES_MATCHING PATTERN "*.h")
install(DIRECTORY freerdp/auth DESTINATION include/freerdp FILES_MATCHING PATTERN "*.h")
file(GLOB HEADERS "winpr/*.h")
install_files(/include/winpr FILES ${HEADERS})

View File

@ -65,6 +65,6 @@ target_link_libraries(xfreerdp-server freerdp-codec)
target_link_libraries(xfreerdp-server freerdp-utils)
target_link_libraries(xfreerdp-server freerdp-gdi)
target_link_libraries(xfreerdp-server freerdp-crypto)
target_link_libraries(xfreerdp-server freerdp-sspi)
target_link_libraries(xfreerdp-server freerdp-locale)
target_link_libraries(xfreerdp-server ${X11_LIBRARIES})
target_link_libraries(xfreerdp-server winpr-sspi)