#Extra include,libs etc.
-#@PACKAGE@INC:=$(patsubst %,-I@MODULE@/%,$(EINCLUDE)) -I@MODULE@
@PACKAGE@INC:=$(patsubst %,-I%,$(EINCLUDE)) -I@MODULE@
@PACKAGE@FO:=$(patsubst %,$(MODDIRO)/%, $(TEMP:.f=.o))
@PACKAGE@O:= $(patsubst %,$(MODDIRO)/%, $(SRCS:.cxx=.o)) $(@PACKAGE@FO) $(@PACKAGE@CO)
+
+
ifdef WITHDICT
@PACKAGE@DS:=$(MODDIRO)/G__@PACKAGE@.cxx
@PACKAGE@DO:=$(MODDIRO)/G__@PACKAGE@.o
@PACKAGE@LIB:=$(LIBPATH)/lib@PACKAGE@.$(SOEXT)
+#Add this to the modules libs
+@MODULE@LIBS += $(@PACKAGE@LIB)
+
#The actual binary file
@PACKAGE@BIN:=$(BINPATH)/@PACKAGE@
+#Add to modules list of binaries
+@MODULE@BINS += $(@PACKAGE@BIN)
# Use in the main Makefile
@(if [ ! -d '$(dir $@)' ]; then echo "***** Making directory $(dir $@) *****"; mkdir -p $(dir $@); fi;)
@share/alibtool depend "$(@PACKAGE@ELIBSDIR) $(@PACKAGE@INC) $(DEPINC) $<" > $@
-$(MODDIRO)/%.d: $(MODDIRS)/%.cxx
+$(MODDIRO)/%.d: $(MODDIRS)/%.cxx
@echo "***** Making dependencies for $< *****";
@(if [ ! -d '$(dir $@)' ]; then echo "***** Making directory $(dir $@) *****"; mkdir -p $(dir $@); fi;)
@share/alibtool depend "$(@PACKAGE@ELIBSDIR) $(@PACKAGE@INC) $(DEPINC) $<" > $@
@echo "***** Making dependencies for $< *****";
@(if [ ! -d '$(dir $@)' ]; then echo "***** Making directory $(dir $@) *****"; mkdir -p $(dir $@); fi;)
@share/alibtool depend "$(@PACKAGE@ELIBSDIR) $(@PACKAGE@INC) $(DEPINC) $<" > $@
-
-
-#Directory creation
-
-#$(MODDIRO):
-# @echo "***** Making $@ *****"
-# mkdir -p $@
-
-
-
-
-
-
-
-
-
-
-
#
# modification history
# $Log$
+# Revision 1.1 2001/10/09 13:45:57 hristov
+# alibtool is added
+#
#
# SYNOPSIS
# alirun <command> <commandparameters>
echo "#**** This file is automatically generated from the mkmodules script *****";
echo "#**** DO NOT EDIT!! *****";
echo "#**************************************************************************";
-echo
+
for i in $tempo; do
package=$i;
type=lib;
MkModuleLib $package
done;
+#Now make general bottom for every module (Clean and so on)
+ cat build/clean.tpl | sed -e "sQ\@MODULE@Q${module}Qg"
}
MkModuleLib()
}
+TestExport()
+{
+ echo "Test"
+}
+
case $1 in
depend)
MkDepend $2