Files
harbour-core/src/3rd/hbpmcom/Makefile
Przemysław Czerpak 96ca3fe470 2014-01-21 20:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* Makefile
  * config/*
  * contrib/*
  * doc/*
  * extras/*
  * include/*
  * lib/*
  * package/*
  * src/*
  * tests/*
  * utils/*
    * removed empty lines left after removed '$' + 'Id' + '$' identifiers
2014-01-21 20:41:05 +01:00

42 lines
748 B
Makefile

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