summaryrefslogtreecommitdiffstats
path: root/src/Imakefile
blob: 4e86684fd667d8567ee153f1dbda6fd67b37b171 (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
46
#	$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=
#else
SSDIR=ss
#endif
#ifdef UseUnifdefInstalled
UNIFDIR=
#else
UNIFDIR=util/unifdef
#endif
all::
	make includes

        SUBDIRS = $(UNIFDIR) include $(COMERRDIR) $(SSDIR) 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