File: Makefile

package info (click to toggle)
libflorist 2017-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,212 kB
  • sloc: ada: 11,902; ansic: 7,195; makefile: 137; sh: 18
file content (22 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# makefile for Gnatsocks tests
#
LIBS = -lsocket -lnsl -largs
FLORISTDIR = /part9/baker/florist-3.10p
GNATMAKEFLAGS1 = -g -A$(FLORISTDIR)/floristlib -aO$(FLORISTDIR)/floristlib
GNATMAKEFLAGS2 = -cargs -gnatg -largs $(LIBS) -lflorist
TESTS = test_sockets sockettest echoserver multiecho multidb test_unix_sockets
SOURCES = sockettest.adb sockets-internet.ads sockets-internet.adb\
   sockets.ads sockets.adb sockets-unix.ads sockets-unix.adb\
   echoserver.adb \
   test_sockets.adb multiecho.adb test_pkg.ads test_pkg.adb\
   table.adb table.ads multidb.adb\
   test_unix_sockets.adb\
   Makefile READ.ME
all : $(TESTS)
$(TESTS):  %: %.adb \
  $(FLORISTDIR)/floristlib/libflorist.a test_parameters.ads test_parameters.adb
	gnatmake  $(GNATMAKEFLAGS1) $@ $(GNATMAKEFLAGS2)
clean:
	-rm -f *~ *# *.o *.ali b_*.c $(TESTS)