diff --git a/src/as/Makefile.Host b/src/as/Makefile.Host new file mode 100644 index 000000000..d18dafa7e --- /dev/null +++ b/src/as/Makefile.Host @@ -0,0 +1,32 @@ +TOP = ../../.. +include $(TOP)/config/CONFIG_BASE + +USR_CFLAGS = -D_NO_PROTO + +INC := asDbLib.h asLib.h + +# build lib As from asLib.c: +# +LIBSRCS := asLib.c +LIBRARY := As + + +# All systems link the libs As, Com, Db (and again Com ??), +# generic Unix needs also lib m: +# +PROD_LIBS_DEFAULT := m +PROD_LIBS_WIN32 := -nil- +PROD_LIBS := As Com Db Com + +PROD := ascheck + +include $(TOP)/config/RULES.Host + +# Extra rule since asLib_lex.c is included in asLib.c +# In my opinion, these objects should really be built +# independently. +asLib$(OBJ): asLib_lex.c ../asLibRoutines.c + +clean:: + @$(RM) asLib.c asLib_lex.c + diff --git a/src/bdt/Makefile.Host b/src/bdt/Makefile.Host new file mode 100644 index 000000000..d67f2969c --- /dev/null +++ b/src/bdt/Makefile.Host @@ -0,0 +1,10 @@ +TOP = ../../.. +include $(TOP)/config/CONFIG_BASE + +INC := bdt.h + +LIBSRCS := bdt.c + +LIBRARY := Bdt + +include $(TOP)/config/RULES.Host diff --git a/src/bpt/Makefile.Host b/src/bpt/Makefile.Host new file mode 100644 index 000000000..50ed10509 --- /dev/null +++ b/src/bpt/Makefile.Host @@ -0,0 +1,14 @@ +# Makefile.Host for base/src/bpt +# + +TOP = ../../.. +include $(TOP)/config/CONFIG_BASE + +INC := cvtTable.h + +SRCS := makeBpt.c +PROD := makeBpt + +include $(TOP)/config/RULES.Host + +# EOF Makefile.Host for base/src/bpt diff --git a/src/ca/Makefile.Host b/src/ca/Makefile.Host new file mode 100644 index 000000000..1bd1ca29a --- /dev/null +++ b/src/ca/Makefile.Host @@ -0,0 +1,58 @@ +# Makefile.Host + +TOP = ../../.. +include $(TOP)/config/CONFIG_BASE +CMPLR = STRICT + +# +# includes to install from this subproject +# +INC += cadef.h +INC += caerr.h +INC += caeventmask.h +INC += caProto.h + +# +# Contents of library: generic, special and for all systems +# + +# on generic system +LIBSRCS_DEFAULT := posix_depen.c if_depen.c caRepeater.c + +# on WIN32 only +LIBSRCS_WIN32 := windows_depen.c + +# on all systems +LIBSRCS += iocinf.c +LIBSRCS += service.c +LIBSRCS += conn.c +LIBSRCS += netdb_depen.c +LIBSRCS += flow_control.c +LIBSRCS += syncgrp.c +LIBSRCS += access.c +LIBSRCS += convert.c +LIBSRCS += test_event.c +LIBSRCS += bsd_depen.c +LIBSRCS += repeater.c + +# Library to build: +# lib$(LIBRARY).a or ..dll/..exp/..lib +# +LIBRARY := ca + +# build LIBRARY as a DLL on WIN32, other systems may ignore this +LIBTYPE := SHARED + +# WIN32 only: need additional lib to build the DLL and special def-file +DLL_LIBS := Com + +PROD := caRepeater + +# libs needed to build [TEST]PRODUCT +PROD_LIBS := ca Com + +TESTPROD := catime acctst + +include $(TOP)/config/RULES.Host + +# EOF Makefile.Host diff --git a/src/ca/ca.def b/src/ca/ca.def new file mode 100644 index 000000000..2f0dafa97 --- /dev/null +++ b/src/ca/ca.def @@ -0,0 +1,59 @@ +LIBRARY ca + +VERSION 13 +CODE PRELOAD MOVEABLE DISCARDABLE +DATA PRELOAD SINGLE + + +EXPORTS + +ca_version +ca_test_event +ca_task_initialize +ca_task_exit +ca_search_and_connect +ca_build_and_connect +ca_change_connection_event +ca_replace_access_rights_event +ca_add_exception_event +ca_clear_channel +ca_array_put +ca_array_put_callback +ca_array_get +ca_array_get_callback +ca_add_masked_array_event +ca_clear_event +ca_pend +ca_repeater +ca_test_io +ca_flush_io +ca_signal +ca_signal_with_file_and_lineno +ca_host_name_function +ca_add_fd_registration +ca_sg_create +ca_sg_delete +ca_sg_block +ca_sg_test +ca_sg_reset +ca_sg_array_get +ca_sg_array_put +ca_modify_user_name +ca_modify_host_name +ca_v42_ok +caFetchPortConfig +caAddConfiguredAddr +caDiscoverInterfaces +ca_printf +ca_message_text +ca_message +cac_gettimeval +dbr_value_size +dbr_value_offset +dbf_text +dbf_text_invalid +dbf_text_dim +dbr_text +dbr_text_invalid +dbr_text_dim +dbr_size