source: branches/stable/AISC_COM/C/Makefile

Last change on this file was 12591, checked in by epruesse, 10 years ago

AISC now uses arb_open_socket, arb_socket_write and …_read.

  • SIGPIPE is disabled via setsockopt on mac and via MSG_NOSIGNAL on Linux.
  • No more usleep in write loop.
  • arb_socket_write returns -1 on failure (needed change to client.c as aisc_s_write and aisc_c_write differed in error handling)
  • common.[hc] are gone
  • fixes build failure in build 797
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 886 bytes
Line 
1
2all:
3        echo "Available targets: proto"
4
5GENERATED_HEADERS= \
6        aisc_extern_privat.h \
7        client.h \
8        server.h \
9        struct_man.h \
10
11AISC_MKPT_FLAGS=-P -G
12MKPT_DEP=../../AISC_MKPTPS/aisc_mkpt Makefile
13
14proto:
15        $(MAKE) $(GENERATED_HEADERS)
16
17clean:
18        rm $(GENERATED_HEADERS)
19
20aisc_extern_privat.h: aisc_extern.c $(MKPT_DEP) 
21        $(ARBHOME)/AISC_MKPTPS/aisc_mkpt $(AISC_MKPT_FLAGS) -w $@ $< >$@.tmp
22        $(ARBHOME)/SOURCE_TOOLS/mv_if_diff $@.tmp $@
23
24client.h: client.c $(MKPT_DEP)
25        $(ARBHOME)/AISC_MKPTPS/aisc_mkpt $(AISC_MKPT_FLAGS) -w $@ $< >$@.tmp
26        $(ARBHOME)/SOURCE_TOOLS/mv_if_diff $@.tmp $@
27
28struct_man.h: struct_man.c $(MKPT_DEP)
29        $(ARBHOME)/AISC_MKPTPS/aisc_mkpt $(AISC_MKPT_FLAGS) -w $@ $< >$@.tmp
30        $(ARBHOME)/SOURCE_TOOLS/mv_if_diff $@.tmp $@
31
32server.h: server.c $(MKPT_DEP)
33        $(ARBHOME)/AISC_MKPTPS/aisc_mkpt $(AISC_MKPT_FLAGS) -w $@ $< >$@.tmp
34        $(ARBHOME)/SOURCE_TOOLS/mv_if_diff $@.tmp $@
35
36
Note: See TracBrowser for help on using the repository browser.