File: Makefile

package info (click to toggle)
fidogate 4.2.8-3
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 5,804 kB
  • ctags: 2,843
  • sloc: ansic: 22,020; perl: 2,885; sh: 1,550; yacc: 671; makefile: 582
file content (40 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# $Id: Makefile,v 4.8 1997/10/11 21:24:14 mj Exp $
#
# Makefile FIDOGATE TOPDIR
#

TOPDIR		= .

include $(TOPDIR)/config.make
include $(TOPDIR)/rules.make

SUBDIRS		= src scripts test doc sendmail

INSTALLDIRS	= $(LIBDIR) $(SPOOLDIR) $(SPOOLDIR)/in \
		  $(SPOOLDIR)/in/tmpmail $(SPOOLDIR)/in/tmpnews \
		  $(SPOOLDIR)/in/bad $(SPOOLDIR)/insecure \
		  $(SPOOLDIR)/out $(SPOOLDIR)/locks $(SPOOLDIR)/seq \
		  $(SPOOLDIR)/toss $(SPOOLDIR)/toss/in \
		  $(SPOOLDIR)/toss/bad $(SPOOLDIR)/toss/tmp \
		  $(SPOOLDIR)/toss/out $(SPOOLDIR)/toss/pack $(LOGDIR) \
		  $(OUTBOUND) $(INBOUND) $(PINBOUND) $(UUINBOUND) \
		  $(BINDIR) $(INFODIR)



all clean veryclean check depend install::
	for d in $(SUBDIRS); do \
	  if [ -f $$d/Makefile ]; then $(MAKE) -C $$d $@ || exit 1; fi; \
	done

clean veryclean::
	rm -f *~ *.bak *.o tags TAGS core

install-dirs:
	for d in $(INSTALLDIRS); do if [ ! -d $$d ]; then \
	    echo "Creating $$d ..."; $(INSTALL_DIR) $(PREFIX)$$d; \
	fi; done

install::
	cp ANNOUNCE $(PREFIX)$(HTMLDIR)