summaryrefslogblamecommitdiffstats
path: root/c/src/lib/include/sys/Makefile.am
blob: 32068894e5d779078ead9363d39733f7b25da261 (plain) (tree)
1
2
3
4
5
6
7
8
9


       




                              
                             



       
                           

     
                                                         
 
                                          
 
                    
                        
                                     





                               


                               

                                                
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

if HAS_NETWORKING
else
NETWORKING_H_FILES += ioctl.h
endif

if UNIX
else
NEWLIB_H_FILES += termios.h
endif

H_FILES = utime.h $(NEWLIB_H_FILES) $(NETWORKING_H_FILES)

noinst_HEADERS = utime.h termios.h ioctl.h

PREINSTALL_FILES = \
$(PROJECT_INCLUDE)/sys \
$(H_FILES:%=$(PROJECT_INCLUDE)/sys/%)

$(PROJECT_INCLUDE)/sys:
	@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/sys/%.h: %.h
	$(INSTALL_DATA) $< $@

all-am: $(PREINSTALL_FILES)
debug-am: $(PREINSTALL_FILES)
profile-am: $(PREINSTALL_FILES)

include $(top_srcdir)/../../../automake/local.am