#---------------------------------------------------------------------------- # VTT Electronics Configuration description # Embedded Software "make" file # AMES / InName project # Kari Laitinen # # # # File: inname.make # # # # # File history: # # 28.10.1994 v0.0 File created Kari Laitinen # 8.11.1994 v0.1 Last modification Kari Laitinen # # --------------------------------------------------------------------------- # # inname.make (c) 1994 Kari Laitinen # # Usage: make -f inname.make target_name # # NOTES: # # Tabulator characters indicate continuation in make commands. # # #----------------------------------------------------------------------- # # M A C R O S # #----------------------------------------------------------------------- QOF_FILES_OF_SIMPLE_INNAME = inname_reserved_words_of_c.facts.qof \ inname_dictionary_words.facts.qof \ inname_usual_abbreviations.facts.qof \ inname_first_pass.pro.qof \ inname_second_pass.pro.qof \ inname_third_pass.pro.qof \ inname_utilities.pro.qof \ inname_dictionary.pro.qof \ inname_statistics.pro.qof \ inname_comments.pro.qof \ inname_simple_ui.pro.qof QOF_FILES_OF_GRAPHIC_INNAME = inname_reserved_words_of_c.facts.qof \ inname_dictionary_words.facts.qof \ inname_usual_abbreviations.facts.qof \ inname_first_pass.pro.qof \ inname_second_pass.pro.qof \ inname_third_pass.pro.qof \ inname_utilities.pro.qof \ inname_dictionary.pro.qof \ inname_statistics.pro.qof \ inname_comments.pro.qof \ inname_graphic_ui.pro.qof NAME_OF_THE_EXECUTABLE_APPLICATION = inname ############################################################################# # Installation details # # Note that the OS_MINOR depends on the version used to install Prolog. # If you installed under SunOS 4.0.3 but are running 4.1, the OS_MINOR # is still 0, not 1. ############################################################################# QDIR=/export/home/quintus QVER=3.1.1 PLATFORM=sun4 OS_MAJOR=4 OS_MINOR=1 ############################################################################# # Quintus supplied libraries (non-shared versions) # # (It may speed up the process of building a runtime system if # you comment out the libraries in QLIBS that you are not using.) ############################################################################# QBIN=$(QDIR)/bin$(QVER)/$(PLATFORM)-$(OS_MAJOR).$(OS_MINOR) QPLIB=$(QDIR)/generic/qplib$(QVER) QLIBS= $(QPLIB)/library/$(PLATFORM)-$(OS_MAJOR)/libpl.a \ $(QPLIB)/library/$(PLATFORM)-$(OS_MAJOR)/libplm.a \ $(QPLIB)/IPC/TCP/$(PLATFORM)-$(OS_MAJOR)/tcp_p.a \ $(QPLIB)/structs/library/$(PLATFORM)-$(OS_MAJOR)/structs.a \ $(QDIR)/proxt$(QVER)/library/$(PLATFORM)-$(OS_MAJOR)/proxt.a \ $(QDIR)/proxl$(QVER)/library/$(PLATFORM)-$(OS_MAJOR)/proxl.a \ $(QDIR)/proxl$(QVER)/library/$(PLATFORM)-$(OS_MAJOR)/proxllib.a \ $(QBIN)/libqp.a \ $(QBIN)/libXm.a \ $(QBIN)/libXt.a \ $(QBIN)/libX11.a #------------------------------------------------------------------------- # # D E P E N D E N C Y R U L E S # #------------------------------------------------------------------------- .SUFFIXES: .facts.qof .facts .pro.qof .pro .facts.facts.qof: qpc -c $*.facts .pro.pro.qof: qpc -c $*.pro # # To generate a menu-driven InName command: # make -f inname.make simple # simple: simple.o $(QBIN)/ld -e start -Bstatic simple.o $(QLIBS) -lc -o $@ simple.o: $(QOF_FILES_OF_SIMPLE_INNAME) qld -Cd $(QOF_FILES_OF_SIMPLE_INNAME) -o $@ # # To generate an InName with graphic user interface command: # make -f inname.make inname # inname: inname.o $(QBIN)/ld -e start -Bstatic inname.o $(QLIBS) -lc -o $@ inname.o: $(QOF_FILES_OF_GRAPHIC_INNAME) qld -Cd $(QOF_FILES_OF_GRAPHIC_INNAME) -o $@ # # To compile all .pro files to .pro.qof files command: # make -f inname.make compile # compile: $(QOF_FILES_OF_GRAPHIC_INNAME) $(QOF_FILES_OF_SIMPLE_INNAME)