"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "lha-114i/Makefile" of archive lha-114i.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 ################################################################
    2 # Makefile for LHa topdir
    3 #		Mar. 2, 1992, written by Masaru Oki.
    4 #		AUG. 22,1994, modified by Nobutaka Watazaki
    5 #               Jun.  7,1999, modified by Tsugio Okamoto
    6 ################################################################
    7 
    8 #-----------------------------------------------------------------------
    9 # CONFIGURATION
   10 #	SWITCHES macro definitions ... see config.eng or config.jpn.
   11 #-----------------------------------------------------------------------
   12 
   13 SHELL=/bin/sh
   14 MAKE = make
   15 
   16 #CC			= cc
   17 CC			= gcc
   18 SWITCHES	= -DNEED_INCREMENTAL_INDICATOR \
   19  -DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\""
   20 
   21 #MACHINE     = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC
   22 #MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DHAVE_TM_ZONE -DSYSV_SYSTEM_DIR
   23 MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME
   24 
   25 #OPTIMIZE	= -O2 -fstrength-reduce -fomit-frame-pointer
   26 OPTIMIZE	= -O2 -DSUPPORT_LH7 -DMKSTEMP
   27 
   28 BINDIR = /usr/local/bin
   29 MANDIR = /usr/local/man
   30 MANSECT = n
   31 
   32 INSTALL = install
   33 INSTALLBIN = -s -m 755
   34 INSTALLMAN = -m 644
   35 
   36 SUBDIRS = src man
   37 
   38 O		= .o
   39 
   40 # missing library objects.
   41 #	memset$(O) lhdir$(O)
   42 LIBRARYOBJS	= patmatch$(O)
   43 
   44 MYMAKEFLAGS = 'BINDIR=$(BINDIR)' 'MANDIR=$(MANDIR)' 'MANSECT=$(MANSECT)'\
   45  'INSTALL=$(INSTALL)' 'INSTALLBIN=$(INSTALLBIN)' 'INSTALLMAN=$(INSTALLMAN)'\
   46  'CC=$(CC)' 'SWITCHES=$(SWITCHES)' 'O=$(O)' 'LIBRARYOBJS=$(LIBRARYOBJS)' \
   47  'OPTIMIZE=$(OPTIMIZE)' 'MACHINE=$(MACHINE)'
   48 
   49 all:
   50 	@for i in $(SUBDIRS); do \
   51 	echo "make all in $$i..."; \
   52 	(cd $$i; $(MAKE) $(MFLAGS) $(MYMAKEFLAGS) all); done
   53 
   54 install:
   55 	@for i in $(SUBDIRS); do \
   56 	echo "Installing in $$i..."; \
   57 	(cd $$i; $(MAKE) $(MFLAGS) $(MYMAKEFLAGS) install); done
   58 
   59 clean:
   60 	@for i in $(SUBDIRS); do \
   61 	echo "Clearing in $$i..."; \
   62 	(cd $$i; $(MAKE) $(MFLAGS) $(MYMAKEFLAGS) clean); done
   63 
   64 moreclean:
   65 	@for i in $(SUBDIRS); do \
   66 	echo "Clearing in $$i..."; \
   67 	(cd $$i; $(MAKE) $(MFLAGS) $(MYMAKEFLAGS) moreclean); done
   68