summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/os/Makefile.in
blob: bdf087b481d20f8904e11173c0f9ef6a1a3b8185 (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
CFLAGS = $(CCOPTS) $(DEFS)

##DOSBUILDTOP = ..\..\..
##DOSLIBNAME=..\crypto.lib
##DOS!include $(BUILDTOP)\config\windows.in

LIBOBJS = @LIBOBJS@

.c.o:
	$(CC) $(CFLAGS) -c $(srcdir)/$*.c
@SHARED_RULE@

COBJS=	rnd_confoun.$(OBJEXT) c_localaddr.$(OBJEXT) c_ustime.$(OBJEXT) 
OBJS= $(COBJS) $(LIBOBJS)

SRCS=	rnd_confoun.c c_localaddr.c c_ustime.c

all:: all-$(WHAT)

all-unix:: shared $(OBJS)

all-mac:: $(OBJS)

all-windows: $(COBJS)

shared:
	mkdir shared
	
memmove.c: $(SRCTOP)$(S)lib$(S)krb5$(S)posix$(S)memmove.c
	-$(LN) $(SRCTOP)$(S)lib$(S)krb5$(S)posix$(S)memmove.c $@

memmove.o: memmove.c
	$(CC) $(CFLAGS) -c $*.c
@SHARED_RULE_LOCAL@
	

clean:: clean-$(WHAT)
	$(RM) memmove.c

clean-unix::
	$(RM) shared/*
clean-mac::
	$(RM) shared/*
clean-windows::