Files
harbour-core/harbour/contrib/hbwin/Makefile
Viktor Szakats b88202cabe 2010-06-15 18:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
  * config/detfun.mk
  * config/detect.mk
  * external/sqlite3/Makefile
  * external/png/Makefile
  * external/jpeg/Makefile
  * external/bzip2/Makefile
  * external/libhpdf/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbbz2/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/sddsqlt3/Makefile
  * contrib/hbwin/Makefile
    + Added HB_ROOT variable which can be used to specify Harbour
      source tree root as an absolute directory, when using
      older than 3.81 GNU Make version (f.e. on QNX).
    + Changed the way locally hosted source directories are
      specified for detection function, in order to support
      HB_ROOT functionality.
2010-06-15 16:44:38 +00:00

95 lines
1.7 KiB
Makefile

#
# $Id$
#
ROOT := ../../
include $(TOP)$(ROOT)config/global.mk
LIBNAME := hbwin
C_SOURCES := \
axcore.c \
legacycd.c \
legacyco.c \
legacycp.c \
mapi.c \
olecore.c \
oleinit.c \
hbolesrv.c \
wapi_alloc.c \
wapi_commctrl.c \
wapi_err.c \
wapi_mmsystem.c \
wapi_shellapi.c \
wapi_winbase.c \
wapi_winbase_mutex.c \
wapi_wingdi.c \
wapi_wingdi_font.c \
wapi_winnls.c \
wapi_winuser.c \
wce_simc.c \
wce_smsc.c \
win_bmp.c \
win_bmpd.c \
win_com.c \
win_dlg.c \
win_evnt.c \
win_misc.c \
win_osc.c \
win_prn1.c \
win_prn2.c \
win_prn3.c \
win_regc.c \
win_shell.c \
win_svc.c \
PRG_SOURCES := \
legacy.prg \
oleauto.prg \
axfunc.prg \
wce_sim.prg \
win_os.prg \
win_reg.prg \
win_tbmp.prg \
win_tcom.prg \
win_tprn.prg \
C_HEADERS := \
hbwapi.h \
hbwin.h \
hbwinole.h \
PRG_HEADERS := \
hbwin.ch \
ifneq ($(filter $(HB_PLATFORM),win wce),)
_DET_DSP_NAME := libpng
_DET_VAR_INC_ := HB_INC_PNG
_DET_VAR_HAS_ := HB_HAS_PNG
_DET_FLT_PLAT :=
_DET_FLT_COMP :=
_DET_INC_DEFP :=
_DET_INC_LOCL := external/libpng
_DET_INC_HEAD := /png.h
include $(TOP)$(ROOT)config/detfun.mk
ifneq ($(HB_HAS_PNG),)
HB_CFLAGS += -DHB_HAS_PNG $(foreach d,$(HB_HAS_PNG),-I$(d))
ifneq ($(HB_HAS_ZLIB),)
HB_CFLAGS += -DHB_HAS_ZLIB $(foreach d,$(HB_HAS_ZLIB),-I$(d))
endif
endif
# Optimize build time and make sure we build even with this option
HB_CFLAGS += -DWIN32_LEAN_AND_MEAN
include $(TOP)$(ROOT)config/header.mk
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := platform not supported
include $(TOP)$(ROOT)config/none.mk
endif