summaryrefslogtreecommitdiffstats
path: root/src/Imakefile
blob: 27dee70d0ee0fc23a35fe7a21604baa485a365ed (plain)
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
41
42
43
44
45
#	$Source$
#	$Author$
#	$Id$
#
#  Copyright 1990 by the Massachusetts Institute of Technology.
# 
#  For copying and distribution information, please see the file
#  <krb5/copyright.h>.
# 
#define IHaveSubdirs
#define PassCDebugFlags

#ifdef UseComErrInstalled
COMERRDIR=
all::
	$(RM) include/com_err.h
#else
COMERRDIR=comerr
all::
	$(RM) include/com_err.h
	$(LN) ../comerr/com_err.h include/com_err.h
#endif
#ifdef UseSSInstalled
SSDIR=
all::
	$(RM) include/ss
#else
SSDIR=ss
all::
	$(RM) include/ss
	$(LN) ../ss include/ss
#endif
        SUBDIRS = $(COMERRDIR) $(SSDIR) \
			error_tables asn.1 lib kdc admin clients appl
  LNINSTALLDIRS = 

MakeSubdirs($(SUBDIRS))

/**/# rebuild the Makefiles in the master source tree
mastermakefiles::
	cd $(IMAKESRC); $(MAKE) -f Makefile.ini clean; $(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
	-$(MV) Makefile Makefile.bak
	$(MAKE) -f Makefile.bak Makefile
	$(MAKE) Makefiles
	cd $(IMAKESRC); $(MAKE) clean