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

##DOSBUILDTOP = ..\..\..
##DOSMYNAME=posix
##DOSOBJFILE=..\$(MYNAME).lst
##WIN16##LIBNAME=..\krb5.lib

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

MACSRCS = getuid.c strcasecmp.c strdup.c

OBJS = setenv.$(OBJEXT)	@LIBOBJS@

all-unix:: shared $(OBJS)
all-mac: $(OBJS)
all-windows:: $(OBJFILE)

##WIN16##$(OBJFILE): syslog.obj sscanf.obj
##WIN16##	$(RM) $(OBJFILE)
##WIN16##	$(CP) nul: $(OBJFILE)

##WIN32##$(OBJFILE): syslog.obj
##WIN32##	$(RM) $(OBJFILE)
##WIN32##	$(LIBECHO) -p $(MYNAME)\ *.obj > $(OBJFILE)

shared:
	mkdir shared

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

clean-mac::
clean-windows::
	$(RM) $(OBJFILE)