Distinguish between wireshark *source files* and wireshark *dependencies*.

Only the former should be run through checkAPI.pl; Windows .rc files,
for example, shouldn't.

Change-Id: I948705b4020b413834c37a0d685eedcb747aa237
Reviewed-on: https://code.wireshark.org/review/3303
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-07-31 14:17:07 -07:00
parent cb960993d8
commit 1ebfb3fc91
1 changed files with 5 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ set(LIBEPAN_LIBS
)
if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) )
set(wireshark_FILES
set(WIRESHARK_SRC
airpcap_loader.c
capture_info.c
capture_opts.c
@ -1035,6 +1035,9 @@ if( (BUILD_wireshark AND GTK_FOUND) OR (BUILD_qtshark AND QT_FOUND) )
summary.c
${SHARK_COMMON_SRC}
${PLATFORM_UI_SRC}
)
set(wireshark_FILES
${WIRESHARK_SRC}
image/wireshark.rc
)
endif()
@ -1528,7 +1531,7 @@ install(
include( UseCheckAPI )
CHECKAPI(
${TSHARK_TAP_SRC}
${wireshark_FILES}
${WIRESHARK_SRC}
)
if(DOC_DIR)