# Generated automatically from Makefile.in by configure.
#
#
#

VERSION         = 2.1.8Ia
VERSIONHI       = 2
VERSIONLO       = 1
VERSIONP        = 8Ia

SHELL		= /bin/sh
CPP		= gcc -E
INSTALL		= ../e:/dj/bin/ginstall -c
CP              = cp

PRJDIR		= ..

prefix          = /sdcc
exec_prefix     = ${prefix}
bindir          = ${exec_prefix}/bin
libdir          = ${exec_prefix}/lib
datadir         = /sdcc
includedir      = ${prefix}/include
mandir          = ${prefix}/man
man1dir         = $(mandir)/man1
man2dir         = $(mandir)/man2
infodir         = ${prefix}/info
srcdir          = .

CPPFLAGS        =  -I$(PRJDIR)


# Compiling entire program or any subproject
# ------------------------------------------
all:


# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
	$(CP) *.h $(datadir)/sdcc51inc/


# Deleting all the installed files
# --------------------------------
uninstall:
	for hdr in *.h; do rm -f $(datadir)/$$hdr; done


# Performing self-test
# --------------------
check:


# Performing installation test
# ----------------------------
installcheck:


# Creating installation directories
# ---------------------------------
installdirs:
	[ -d $(datadir)/sdcc51inc ] || $(datadir)/sdcc51inc


# Creating dependencies
# ---------------------
dep: #Makefile.dep

#Makefile.dep:
#	$(CPP) $(CPPFLAGS) $(M_OR_MM) *.c >main.dep

#include Makefile.dep
include clean.mk

# My rules
# --------


# Remaking configuration
# ----------------------
checkconf:
	@if [ -f $(PRJDIR)/devel ]; then\
	  $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" \
	  freshconf;\
	fi

# End of main_in.mk/main.mk

