source: trunk/src/data_exchange/export/makefile.ux @ 2863

Revision 2863, 3.0 KB checked in by paulf, 13 years ago (diff)

minor MACOSX changes, mostly removing malloc.h since that should be defined in platform.h already

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2#
3#   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
4#   CHECKED IT OUT USING THE COMMAND CHECKOUT.
5#
6#    $Id$
7#
8#    Revision history:
9#     $Log$
10#     Revision 1.3  2007/03/28 15:26:44  paulf
11#     minor MACOSX changes, mostly removing malloc.h since that should be defined in platform.h already
12#
13#     Revision 1.2  2005/07/25 16:15:22  friberg
14#     fixed makefile.ux for export_scnl_ack
15#
16#     Revision 1.1  2005/07/25 16:07:40  friberg
17#      cloned solaris makefile to makefile.ux
18#
19#
20#
21
22CFLAGS = -D_REENTRANT $(GLOBALFLAGS)
23
24B = $(EW_HOME)/$(EW_VERSION)/bin
25L = $(EW_HOME)/$(EW_VERSION)/lib
26
27
28BINARIES = export.o $L/mem_circ_queue.o $L/chron3.o $L/kom.o \
29        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
30        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
31        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
32
33BINARIESACK = export_ack.o $L/mem_circ_queue.o $L/chron3.o $L/kom.o \
34        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
35        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
36        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
37
38BINARIESPRI = export_scn_pri.o $L/priority_queue.o $L/chron3.o $L/kom.o \
39        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
40        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
41        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
42
43BINARIESACTV = export_actv.o $L/mem_circ_queue.o $L/chron3.o $L/kom.o \
44        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
45        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
46        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
47
48
49all:
50        make -f makefile.ux export_generic
51        make -f makefile.ux export_scnl
52        make -f makefile.ux export_scnl_pri
53        make -f makefile.ux export_gen_actv
54        make -f makefile.ux export_scnl_actv
55        make -f makefile.ux export_ack
56        make -f makefile.ux export_scnl_ack
57
58
59export_generic: $(BINARIES) genericfilter.o
60        cc -o $B/export_generic $(BINARIES) genericfilter.o  -mt -lpthread -lc
61
62export_scnl: $(BINARIES) scnfilter.o $L/rdpickcoda.o
63        cc -o $B/export_scnl $(BINARIES) scnfilter.o $L/rdpickcoda.o  -mt -lpthread -lc
64
65export_scnl_pri: $(BINARIESPRI) scnfilter.o $L/rdpickcoda.o
66        cc -o $B/export_scnl_pri $(BINARIESPRI) scnfilter.o $L/rdpickcoda.o  -mt -lpthread -lc
67
68export_gen_actv: $(BINARIESACTV) genericfilter.o
69        cc -o $B/export_gen_actv $(BINARIESACTV) genericfilter.o  -mt -lpthread -lc
70
71export_scnl_actv: $(BINARIESACTV) scnfilter.o $L/rdpickcoda.o
72        cc -o $B/export_scnl_actv $(BINARIESACTV) scnfilter.o $L/rdpickcoda.o  -mt -lpthread -lc
73
74export_ack: $(BINARIESACK) genericfilter.o
75        cc -o $B/export_ack $(BINARIESACK) genericfilter.o  -mt -lpthread -lc
76
77export_scnl_ack: $(BINARIESACK) scnfilter.o $L/rdpickcoda.o
78        cc -o $B/export_scnl_ack $(BINARIESACK) scnfilter.o $L/rdpickcoda.o -mt -lpthread -lc
79
80
81
82lint:
83        lint export.c export_ack.c export_actv.c export_scn_pri.c genericfilter.c scnfilter.c  $(GLOBALFLAGS)
84
85
86# Clean-up rules
87clean:
88        rm -f a.out core *.o *.obj *% *~
89
90clean_bin:
91        rm -f $B/export_generic* $B/export_scnl* $B/export_*actv* $B/export_*ack*
Note: See TracBrowser for help on using the repository browser.