Files
harbour-core/harbour/external/hbpmcom/Makefile
Przemyslaw Czerpak 6dc33b15c3 2010-10-22 15:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/Makefile
  + harbour/external/hbpmcom
  + harbour/external/hbpmcom/Makefile
  + harbour/external/hbpmcom/wrap_ow.c
  + harbour/external/hbpmcom/com.c
  + harbour/external/hbpmcom/irq.h
  + harbour/external/hbpmcom/irq_ow.c
  + harbour/external/hbpmcom/irq_g.c
  + harbour/external/hbpmcom/com.h
  + harbour/external/hbpmcom/wrap_g.sx
  + harbour/external/hbpmcom/irqwrap.h
  + harbour/external/hbpmcom/doc
  + harbour/external/hbpmcom/doc/readme.txt
  + harbour/external/hbpmcom/doc/com.txt
    + added PMCOM library - RS-232 DOS communication library by Peter Marinov.
      The original PMCOM 1.0 library has not been updated for very long
      time and this code is quite strongly modified so I haven't tried to
      generate any .diff files. I do not think it will be possible to make
      autoamtic merege with newwer version (if any appears).
      This is also the reason I decided to use HBPMCOM name instead of
      PMCOM to avoid potential conflicts with some local versions of
      this library.
      TODO: add support for flow control - now flow control functions are
            dummy and do not enable any handshaking.

  * harbour/src/rtl/hbcom.c
  * harbour/config/dos/watcom.mk
  * harbour/config/dos/djgpp.mk
    + added support for serial port in DOS builds (hb_com*() PRG and C API)
      using HBPMCOM library.
2010-10-22 13:09:55 +00:00

46 lines
757 B
Makefile

#
# $Id$
#
ROOT := ../../
include $(TOP)$(ROOT)config/global.mk
LIBNAME := hbpmcom
#HB_BUILD_WARN := no
HB_BUILD_MODE := c
C_SOURCES := \
com.c \
SS_SOURCES := \
HB_BUILD_PMCOM := no
ifeq ($(HB_PLATFORM),dos)
ifeq ($(HB_COMPILER),djgpp)
C_SOURCES += irq_g.c
SX_SOURCES += wrap_g.sx
HB_BUILD_PMCOM := yes
endif
ifeq ($(HB_COMPILER),watcom)
C_SOURCES += irq_ow.c
C_SOURCES += wrap_ow.c
HB_BUILD_PMCOM := yes
endif
endif
ifeq ($(HB_BUILD_PMCOM),yes)
HB_CFLAGS += -DDISABLE_TIMING=1
#HB_CFLAGS += -DDISABLE_PREEMPTING=1
#HB_CFLAGS += -D_DEBUG=1
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := platform or compiler not supported
include $(TOP)$(ROOT)config/none.mk
endif