source: rtems/cpukit/libmisc/untar/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

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