summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet/libtelnet/Makefile.in
blob: 9d05199584c6a80934d851984fbf80cb1860d917 (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
47
48
49
50
51
52
53
srcdir = @srcdir@
VPATH = @srcdir@
 
DEFS = @DEFS@
LIBS = @LIBS@
 
CFLAGS = -g $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g

BUILDTOP=../../..
SRCTOP = $(srcdir)/$(BUILDTOP)
TOPLIBD = $(BUILDTOP)/lib
ISODELIB=$(TOPLIBD)/libisode.a
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=

all::

KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)


#
# Everything happens in ../Makefile.config and Makefile.generic
#

all:
	@-if [ -f ../Config.local ]; \
	then \
		echo make -f ../Config.local WHAT="" CC="${CC}" \
			KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)"; \
		make -f ../Config.local WHAT="" CC="${CC}" \
			KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)"; \
	else \
		echo make -f ../Config.generic WHAT="" CC="${CC}" \
			KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)" $(TELNET_OPSYS); \
		make -f ../Config.generic WHAT="" CC="${CC}" \
			KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)" $(TELNET_OPSYS); \
	fi

.DEFAULT:
	@-if [ -f ../Config.local ]; \
	then \
		echo make -f ../Config.local WHAT=$@ CC="${CC}" \
			DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \
		make -f ../Config.local WHAT=$@ CC="${CC}" \
			DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \
	else \
		echo make -f ../Config.generic WHAT=$@ CC="${CC}" \
			DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \
		make -f ../Config.generic WHAT=$@ CC="${CC}" \
			DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \
	fi