File:
[ELWIX - Embedded LightWeight unIX -] /
tftpd /
src /
Makefile.in
Revision
1.2:
download - view:
text,
annotated -
select for diffs -
revision graph
Mon Feb 17 14:28:29 2014 UTC (10 years, 6 months ago) by
misho
Branches:
MAIN
CVS tags:
tftp1_1,
tftp0_5,
tftp0_4,
tftp0_3,
TFTP1_0,
TFTP0_4,
TFTP0_3,
TFTP0_2,
HEAD
version 0.2
1: #
2: # (C) 2014 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
3: # by Michael Pounov <misho@elwix.org>
4: #
5: # $Author: misho $
6: # $Id: Makefile.in,v 1.2 2014/02/17 14:28:29 misho Exp $
7: #
8: prefix = @prefix@
9: exec_prefix = @exec_prefix@
10: includedir = @includedir@
11: libdir = @libdir@
12:
13: CC = @CC@
14: MKDEP = @MKDEP@
15:
16: BIN = ../bin
17: INC = ../inc
18:
19: LDADD = -lelwix -laitcfg -laitsched @LIBS@
20:
21: CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@
22: LDFLAGS = -L. -L${libdir} @LDFLAGS@
23:
24: SRCS = ${TFTPD_SRCS}
25: PROGS = ${TFTPD_PROG}
26:
27: TFTPD_SRCS = tftpd.c srv.c exec.c
28: TFTPD_OBJS = tftpd.o compile.o srv.o exec.o
29: TFTPD_PROG = TFTPd
30:
31:
32: all: depend \
33: ${PROGS} \
34:
35: depend:
36: ./compile.sh
37: ${MKDEP} ${CFLAGS} ${SRCS}
38:
39: clean:
40: rm -f *.o .depend compile.c *~
41:
42: install:
43:
44: .o: compile.c
45: ${CC} -c ${CFLAGS} $<
46:
47: ${TFTPD_PROG}: ${TFTPD_OBJS}
48: ${CC} ${LDFLAGS} -o${BIN}/$@ ${TFTPD_OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>