Candidate_v1.7.0
        stable
      
      
      
| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | # this is usually overridden | 
|---|
| 3 | TARGET_TO_MAKE = $(shell basename `pwd`) | 
|---|
| 4 |  | 
|---|
| 5 | ifndef SRCDIR | 
|---|
| 6 | SRCDIR = . | 
|---|
| 7 | endif | 
|---|
| 8 |  | 
|---|
| 9 | # this vpath works with listlibs to find the libraries | 
|---|
| 10 | vpath %.a $(TOPDIR)/lib | 
|---|
| 11 | vpath %.so $(TOPDIR)/lib | 
|---|
| 12 | vpath %.la $(TOPDIR)/lib | 
|---|
| 13 |  | 
|---|
| 14 | # SRCTOPDIR is the top of the source directory | 
|---|
| 15 | SRCTOPDIR = $(shell $(PERL) $(SRCDIR)/$(TOPDIR)/bin/rmdotdot $(SRCDIR)/$(TOPDIR)) | 
|---|
| 16 |  | 
|---|
| 17 | # LIBDIR is the full path to where the libraries are | 
|---|
| 18 | LIBDIR = $(shell $(PERL) $(SRCTOPDIR)/bin/rmdotdot `pwd`/$(TOPDIR)/lib) | 
|---|
| 19 |  | 
|---|
| 20 | # SRCLIBDIR is the full path to the lib subdirectory of the source dir | 
|---|
| 21 | SRCLIBDIR = $(SRCTOPDIR)/lib/ | 
|---|
| 22 |  | 
|---|
| 23 | # THISDIR is the name of the current directory relative to TOPDIR/src/lib/ | 
|---|
| 24 | THISDIR = $(subst $(shell cd $(TOPDIR); pwd)/src/lib/,,$(shell pwd)) | 
|---|
| 25 |  | 
|---|
| 26 | CLASS2TEXFLAGS = | 
|---|
| 27 | CLASS2TEX = $(PERL) $(SRCTOPDIR)/bin/class2tex | 
|---|
| 28 |  | 
|---|
| 29 | # installroot can be given on the command line to force | 
|---|
| 30 | # the install targets install to a different directory. | 
|---|
| 31 | # This is useful for building RPM's for example.  This can | 
|---|
| 32 | # only be given on the command line--not in the environment | 
|---|
| 33 | ifneq ($(origin installroot),'command line') | 
|---|
| 34 | installroot= | 
|---|
| 35 | endif | 
|---|
| 36 |  | 
|---|
| 37 | -include $(TOPDIR)/lib/LocalMakefile | 
|---|
| 38 |  | 
|---|
| 39 | ifneq ($(LOCALMAKEFILE_OPTIONAL),yes) | 
|---|
| 40 |  | 
|---|
| 41 | ifneq ($(LOCALMAKEFILE_FOUND),yes) | 
|---|
| 42 | $(error LocalMakefile not found.  First run configure in the top-level directory you want object code to be placed and then run make there) | 
|---|
| 43 | endif | 
|---|
| 44 |  | 
|---|
| 45 | endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.