Makefile.in   [plain text]


thisconfigdir=./..
myfulldir=util
mydir=util
##WIN32###Windows NMAKE doesn't like @ in make variable names, and on
##WIN32### Windows we don't do the @FOO@ substitutions we do with UNIX
##WIN32### configure scripts.  The set of subdirs to use is hard-coded
##WIN32### below in the 'all-windows' target anyways, so just hide this.
##WIN32##!if 0
MY_SUBDIRS=$(MAYBE_ET_@COM_ERR_VERSION@) $(MAYBE_SS_@SS_VERSION@) \
	profile pty $(MAYBE_DB_@DB_VERSION@) send-pr
##WIN32##!endif
BUILDTOP=$(REL)..

MAYBE_ET_k5 = et
MAYBE_SS_k5 = ss
MAYBE_DB_k5 = db2
MAYBE_ET_sys =
MAYBE_SS_sys =
MAYBE_DB_sys =

MAC_SUBDIRS = profile et

editsh = sed -e 's,@''ARADD''@,$(ARADD),g' -e 's,@''ARCHIVE''@,$(ARCHIVE),g'
HOST_TYPE=@HOST_TYPE@
HAVE_GCC=@HAVE_GCC@
SLIBSH=sed -e 's|@''CC''@|$(CC)|g' -e 's,@''HOST_TYPE''@,$(HOST_TYPE),g' -e 's,@''HAVE_GCC''@,$(HAVE_GCC),g'

all-recurse: libupdate makeshlib
all-mac::

NO_OUTDIR=1
all-windows::
	@echo Making in util\windows
	cd windows
	$(MAKE) -$(MFLAGS)
	@echo Making in util\et
	cd ..\et
	$(MAKE) -$(MFLAGS) 
	@echo Making in util\profile
	cd ..\profile
	$(MAKE) -$(MFLAGS) 
	cd ..

clean-windows::
	@echo Making clean in util\windows
	cd windows
	$(MAKE) -$(MFLAGS) clean
	@echo Making clean in util\et
	cd ..\et
	$(MAKE) -$(MFLAGS) clean
	@echo Making clean in util\profile
	cd ..\profile
	$(MAKE) -$(MFLAGS) clean
	cd ..

libupdate: $(srcdir)/libupdate.sh
	$(RM) $@ $@.tmp
	$(editsh) $(srcdir)/libupdate.sh > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@

makeshlib: $(srcdir)/makeshlib.sh Makefile
	 $(RM) $@ $@.tmp
	 $(SLIBSH) $(srcdir)/makeshlib.sh >$@.tmp&&chmod a+x $@.tmp&&mv $@.tmp $@

clean::
	$(RM) libupdate makeshlib

install::
	@echo nothing to install in util