source: rtems/c/src/libnetworking/rtems_servers/Makefile.am @ e89694e

Last change on this file since e89694e was e89694e, checked in by Joel Sherrill <joel.sherrill@…>, on May 31, 2000 at 10:31:26 PM

Distributed the preinstall of the header files to the directories
owning the header files.

  • Property mode set to 100644
File size: 660 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = ftpd.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
13OBJS = $(C_O_FILES)
14
15include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16include $(top_srcdir)/../../../automake/lib.am
17
18#
19# Add local stuff here using +=
20#
21
22$(LIB): $(OBJS)
23        $(make-library)
24
25all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
26
27.PRECIOUS: $(LIB)
28
29EXTRA_DIST = ftpd.c ftpd.h
30
31H_FILES = ftpd.h
32
33noinst_HEADERS = $(H_FILES)
34
35PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
36
37$(PROJECT_INCLUDE)/%.h: %.h
38        $(INSTALL_DATA) $< $@
39
40include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.