#!/usr/bin/make
#
# Copyright (c) 2003-2005 by Salvador E. Tropea
# Covered by the GPL license.
#
# This is the Borland C++ makefile for the editor.
# Also used by the MSVC makefile.
#
##########################################################################################
#
# Beggining of maintained lines
#
##########################################################################################
#
# Source directories
#
SRCD1=../infview;../extra;../mp3;../easydiag;../infview/names
SRCD2=../infview/streams;../librhuti;../settvuti;../settvuti/names
SRCD3=../settvuti/streams;../mainsrc
SRCDIRS=$(SRCD1);$(SRCD2);$(SRCD3)
#
# Include directories
#
INCLUDE_DIR=../include
SETEDIT_INC_DIR=../setedit/include
SETTVUTI_INC_DIR=../settvuti/include
INFVIEW_INC_DIR=../infview/include
EXTRA_INC_DIR=../extra
EASYDIAG_INC_DIR=../easydiag
LIBRHUTI_INC_DIR=../librhuti
MP3_PREV_DIR=..
INCLUDE_DIRS=-I../winnt -I$(INCLUDE_DIR) -I$(SETEDIT_INC_DIR) -I$(SETTVUTI_INC_DIR) \
	-I$(INFVIEW_INC_DIR) $(TVISION_INC) -I$(EXTRA_INC_DIR) \
	-I$(EASYDIAG_INC_DIR) -I$(LIBRHUTI_INC_DIR) -I..\libz -I..\libpcre -I..\libbzip2
C_EXTRA_FLAGS=-DFOR_EDITOR
RHIDE_LIBS=..\libz\zlib.lib ..\libpcre\pcre.lib ..\libbzip2\bzip2.lib \
	$(TVLIBDIR)\librhtv.lib
OBJ_DIR=objinf

##########################################################################################
#
# Beggining of fixed part
#
##########################################################################################

all: infview.exe

!ifndef MKF_EXT
MKF_EXT=.bmk
!endif

#
# Common rules used by RHIDE.
# It also includes rhide.env.
#
!include common$(MKF_EXT)

#
# All the RHIDE data should come from here.
#
ExIMK=.umk
!include infview$(ExIMK)

#
# This file pulls all the .imk
#
!include includer.bmk

