Skip to content

Commit

Permalink
Split the library makefiles.
Browse files Browse the repository at this point in the history
This allows the libraries to be built normally or to be linked directly
into the tshark (etc) binary.
  • Loading branch information
brooksdavis committed Sep 5, 2013
1 parent 4fa9bbe commit 8459ddf
Show file tree
Hide file tree
Showing 9 changed files with 1,470 additions and 1,456 deletions.
27 changes: 1 addition & 26 deletions bmake/libui/Makefile
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
.PATH: ${.CURDIR}/../../ui

SRCS= \
alert_box.c \
export_object.c \
export_object_dicom.c \
export_object_http.c \
export_object_smb.c \
help_url.c \
packet_list_utils.c \
iface_lists.c \
preference_utils.c \
profile.c \
recent.c \
ssl_key_export.c \
software_update.c \
tap-megaco-common.c \
tap-rtp-common.c \
text_import.c \
time_shift.c \
util.c
.include "Makefile.src"

LIB= ui

CFLAGS+= -I${.CURDIR}/../.. \
-I${.CURDIR}/../../wiretap \
-I/usr/local/include/glib-2.0

#-I${.CURDIR}/../../wsutil/abi-check-headers
.include <bsd.lib.mk>
25 changes: 25 additions & 0 deletions bmake/libui/Makefile.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.PATH: ${.CURDIR}/../../ui

SRCS+= \
alert_box.c \
export_object.c \
export_object_dicom.c \
export_object_http.c \
export_object_smb.c \
help_url.c \
packet_list_utils.c \
iface_lists.c \
preference_utils.c \
profile.c \
recent.c \
ssl_key_export.c \
software_update.c \
tap-megaco-common.c \
tap-rtp-common.c \
text_import.c \
time_shift.c \
util.c

CFLAGS+= -I${.CURDIR}/../.. \
-I${.CURDIR}/../../wiretap \
-I/usr/local/include/glib-2.0
Loading

0 comments on commit 8459ddf

Please sign in to comment.