#define IHaveSubdirs #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' /********************************************************* The class dictionary file name. For example, if your file is called myclasses.cd, say USERCD = myclasses.cd **********************************************************/ USERCD = cd.cd TOPENVNAME = cdlearn /********************************************************* SI for generating a single inheritance environment MI for generating a multiple inheritance environment SIMI = MI **********************************************************/ SIMI = SI /*********************************************************** IMPORTANT!!! List all the names of libraries generated from other Demeter environments and used to build an executable in this environment. ************************************************************/ DEMETERBUILDLIBS = /********************************************************** If you want to have the intermediate files generated by propagate use WANTPPINTER = -i ***********************************************************/ WANTPPINTER = /********************************************************** subdirectory names in the current directory. In these subdirectories, you can write additional modules to create an executable program or create a libray. You have to provide your own Imakefile in these subdirectories. List all the names of the .o files created from these subdirectories and used to create an executable program or create a library. (IMPORTANT!!!) The names of subdirectories should be placed before notmod. **********************************************************/ SUBDIRS = notmod EXTRASRCS = EXTRAOBJS = /************************************************************* Use INCLUDES to pass -I flags. USE DEFINES to pass -D or -U flags. Use -DNOTRACE to turn off trace. **************************************************************/ INCLUDES = -I$(DEMETER)/include DEFINES = -D$(SIMI) -DNOTRACE CDEBUGFLAGS = -g /************************************************************* Add the libraries(in full path) here, including all the names of libraries generated from Demeter environments and used to build an executable. IMPORTANT!!! Add those libraries BEFORE libdemeter.a **************************************************************/ LOCAL_LIBRARIES = $(DEMETER)/lib-$(SIMI)/`get-cpu`/libdemeter.a -ll /********************************************************** set to nosuffix if you don't want to add suffixes to classes. Adding suffixes is to avoid name clashing when you build libraries. See Demeter/C++ Mannual. NOSUFFIX = **********************************************************/ NOSUFFIX = nosuffix /********************************************************* Choose your favorite C++ compiler CCC = g++ **********************************************************/ CCC = /proj/tools/bin/CC /* choose your favorite C compiler */ ccC = cc /********************************************************* Overwrite cd-print while regenerating this environment. OVERWRITECDPRINT=no **********************************************************/ OVERWRITECDPRINT=yes /********************************************************* Overwrite cd-parse while regenerating this environment. OVERWRITECDPARSE=no **********************************************************/ OVERWRITECDPARSE=yes /********************************************************* Choose buildrun or leave it blank to build an executable program ONLY. Choose buildlib to build a library ONLY. Choose buildrunlib to build an executable program AND a library. EXECLIBFLAG = buildrun EXECLIBFLAG = buildlib EXECLIBFLAG = buildrunlib **********************************************************/ EXECLIBFLAG = /************************************************************ The path where the target library is. The name of the library is lib$(TOPENVNAME).a *************************************************************/ TARGETLIBDIR = ../lib TARGETLIBNAME = $(TOPENVNAME) /* which is default. you can change to whatever you want */ /************************************************************ the path where the header file is, which is a concatenation of all the header files in this environment. The name of the library is $(TOPENVNAME).h *************************************************************/ TARGETINCLUDEDIR = ../include TARGETINCLUDENAME = $(TOPENVNAME) /* which is default. you can change to whatever you want */ /********************************************************** COMPONENTS is generated. DONT EDIT!!! ***********************************************************/ COMPONENTS = DemeterProgram() AllTarget(install) install:: $(INSTALL) -g demsys -m 755 -d -c $(TOP)/bin/util/cd-learn $(INSTALL) -g demsys -m 755 -d -c $(TOP)/bin/util/cd-learn/`get-cpu` $(RM) -rf $(TOP)/bin/util/cd-learn/`get-cpu`/run-exec $(INSTALL) -g demsys -m 755 -s -c notmod/`get-cpu`/run-exec $(TOP)/bin/util/cd-learn/`get-cpu` $(RM) -rf $(TOP)/bin/util/cd-learn/cd-* $(INSTALL) -g demsys -m 444 -c scanner/cd-print scanner/cd-parse $(TOP)/bin/util/cd-learn