summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/adasockets/Makefile
blob: 7d0713176faa04e9a25596a742db1135362fb1b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.3 from Makefile.am

# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

prefix = /usr/local/rtems
exec_prefix = ${prefix}

libdir = ${exec_prefix}/lib

NORMAL_INSTALL = :

ADA = /usr/local/rtems/bin/i386-rtemself-gcc
ADAFLAGS = -O2 -gnata -gnatE -gnato -msoft-float -mno-fp-ret-in-387

VERSION = 0.1.3

privatelibdir = $(libdir)/adasockets

SOURCES = \
	sockets-constants.ads \
	sockets-link.ads \
	sockets-multicast.ads \
	sockets-multicast.adb \
	sockets-naming.ads \
	sockets-naming.adb \
	sockets-thin.ads \
	sockets-utils.ads \
	sockets-utils.adb \
	sockets.ads \
	sockets.adb

OBJECTS = \
	sockets-constants.o \
	sockets-link.o \
	sockets-multicast.o \
	sockets-naming.o \
	sockets-thin.o \
	sockets-utils.o \
	sockets.o

ALIS = $(OBJECTS:.o=.ali)

CLEANFILES = $(OBJECTS) $(ALIS)

.SUFFIXES:

all: $(OBJECTS) $(ALI)

install-exec: 
	@$(NORMAL_INSTALL)

install-data: install-data-local
	@$(NORMAL_INSTALL)

install: install-exec install-data all
	@:

mostlyclean-generic:
	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

mostlyclean:  mostlyclean-generic

clean:  clean-generic mostlyclean

.PHONY: tags distdir info dvi installcheck install-exec install-data \
install uninstall all installdirs mostlyclean-generic distclean-generic \
clean-generic maintainer-clean-generic clean mostlyclean distclean \
maintainer-clean


%.o %.ali: %.adb %.ads
	$(ADA) -c $(ADAFLAGS) $<

%.o %.ali: %.adb
	$(ADA) -c $(ADAFLAGS) $<

%.o %.ali: %.ads
	$(ADA) -c $(ADAFLAGS) $<


install-data-local: all
	rm -rf $(privatelibdir)
	mkdir $(privatelibdir)
	cp -p $(OBJECTS) $(ALIS) $(privatelibdir)
	for i in $(SOURCES); do \
	  if test -f $$i; then \
	    cp -p $$i $(privatelibdir); \
	  else \
	    cp -p $(srcdir)/$$i $(privatelibdir); \
	  fi \
	done


### DO NOT REMOVE THIS LINE, IT IS USED BY MAKEDEPEND ###
sockets-constants.o: sockets.ads sockets-constants.ads
sockets-link.o: sockets.ads sockets-link.ads
sockets-multicast.o: sockets.ads sockets.adb sockets-constants.ads sockets-link.ads sockets-multicast.ads sockets-multicast.adb sockets-naming.ads sockets-thin.ads sockets-utils.ads
sockets-naming.o: sockets.ads sockets-constants.ads sockets-naming.ads sockets-naming.adb sockets-thin.ads
sockets-thin.o: sockets.ads sockets-thin.ads
sockets-utils.o: sockets.ads sockets-utils.ads sockets-utils.adb
sockets.o: sockets.ads sockets.adb sockets-constants.ads sockets-link.ads sockets-naming.ads sockets-thin.ads sockets-utils.ads
split.o: split.adb

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: