source: network-demos/telnetd/Makefile @ ab15736

4.11network-demos-4-10-branch
Last change on this file since ab15736 was c88644c, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 25, 2007 at 4:52:12 PM

2007-09-25 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, ChangeLog?, Makefile, init.c: New files.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  $Id$
3#
4
5SAMPLE=telnetd
6PGM=${ARCH}/$(SAMPLE).exe
7
8MANAGERS=all
9
10# C source names, if any, go here -- minus the .c
11C_FILES=init.c
12C_O_FILES=$(C_FILES:%.c=${ARCH}/%.o)
13
14H_FILES=
15
16DOCTYPES=
17DOCS=$(DOCTYPES:%=$(SAMPLE).%)
18
19SRCS=$(DOCS) $(C_FILES)
20OBJS=$(C_O_FILES)
21
22PRINT_SRCS=$(DOCS)
23
24include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
25include $(RTEMS_CUSTOM)
26include $(PROJECT_ROOT)/make/leaf.cfg
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32DEFINES  +=
33CPPFLAGS +=
34CFLAGS_LD +=
35CFLAGS_OPTIMIZE_V   +=
36CFLAGS_DEBUG_V   += -v -qrtems_debug
37
38LD_PATHS  +=
39LD_LIBS  += -ltelnetd
40
41CFLAGS   += 
42
43#
44# Add your list of files to delete here.  The config files
45#  already know how to delete some stuff, so you may want
46#  to just run 'make clean' first to see what gets missed.
47#  'make clobber' already includes 'make clean'
48#
49
50CLEAN_ADDITIONS += 
51CLOBBER_ADDITIONS +=
52
53all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
54
55${PGM}: $(ARCH) $(OBJS) $(LINK_FILES)
56        $(make-exe)
57
58${ARCH}/init.o: ${ARCH} init.c
59
60# Install the program(s), appending _g or _p as appropriate.
61# for include files, just use $(INSTALL)
62install:  all
63        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests
Note: See TracBrowser for help on using the repository browser.