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

Revision 3186, 3.1 KB checked in by paulf, 13 years ago (diff)

cflags fixed for linux

  • 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.4  2007/12/16 14:50:31  paulf
11#     cflags fixed for linux
12#
13#     Revision 1.3  2007/03/28 15:26:44  paulf
14#     minor MACOSX changes, mostly removing malloc.h since that should be defined in platform.h already
15#
16#     Revision 1.2  2005/07/25 16:15:22  friberg
17#     fixed makefile.ux for export_scnl_ack
18#
19#     Revision 1.1  2005/07/25 16:07:40  friberg
20#      cloned solaris makefile to makefile.ux
21#
22#
23#
24
25CFLAGS = -D_REENTRANT $(GLOBALFLAGS)
26
27B = $(EW_HOME)/$(EW_VERSION)/bin
28L = $(EW_HOME)/$(EW_VERSION)/lib
29
30
31BINARIES = export.o $L/mem_circ_queue.o $L/chron3.o $L/kom.o \
32        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
33        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
34        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
35
36BINARIESACK = export_ack.o $L/mem_circ_queue.o $L/chron3.o $L/kom.o \
37        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
38        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
39        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
40
41BINARIESPRI = export_scn_pri.o $L/priority_queue.o $L/chron3.o $L/kom.o \
42        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
43        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
44        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
45
46BINARIESACTV = export_actv.o $L/mem_circ_queue.o $L/chron3.o $L/kom.o \
47        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
48        $L/sleep_ew.o $L/socket_ew.o $L/socket_ew_common.o \
49        $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o
50
51
52all:
53        make -f makefile.ux export_generic
54        make -f makefile.ux export_scnl
55        make -f makefile.ux export_scnl_pri
56        make -f makefile.ux export_gen_actv
57        make -f makefile.ux export_scnl_actv
58        make -f makefile.ux export_ack
59        make -f makefile.ux export_scnl_ack
60
61
62export_generic: $(BINARIES) genericfilter.o
63        $(CC) $(CFLAGS) -o $B/export_generic $(BINARIES) genericfilter.o  -mt -lpthread -lc
64
65export_scnl: $(BINARIES) scnfilter.o $L/rdpickcoda.o
66        $(CC) $(CFLAGS) -o $B/export_scnl $(BINARIES) scnfilter.o $L/rdpickcoda.o  -mt -lpthread -lc
67
68export_scnl_pri: $(BINARIESPRI) scnfilter.o $L/rdpickcoda.o
69        $(CC) $(CFLAGS) -o $B/export_scnl_pri $(BINARIESPRI) scnfilter.o $L/rdpickcoda.o  -mt -lpthread -lc
70
71export_gen_actv: $(BINARIESACTV) genericfilter.o
72        $(CC) $(CFLAGS) -o $B/export_gen_actv $(BINARIESACTV) genericfilter.o  -mt -lpthread -lc
73
74export_scnl_actv: $(BINARIESACTV) scnfilter.o $L/rdpickcoda.o
75        $(CC) $(CFLAGS) -o $B/export_scnl_actv $(BINARIESACTV) scnfilter.o $L/rdpickcoda.o  -mt -lpthread -lc
76
77export_ack: $(BINARIESACK) genericfilter.o
78        $(CC) $(CFLAGS) -o $B/export_ack $(BINARIESACK) genericfilter.o  -mt -lpthread -lc
79
80export_scnl_ack: $(BINARIESACK) scnfilter.o $L/rdpickcoda.o
81        $(CC) $(CFLAGS) -o $B/export_scnl_ack $(BINARIESACK) scnfilter.o $L/rdpickcoda.o -mt -lpthread -lc
82
83
84
85lint:
86        lint export.c export_ack.c export_actv.c export_scn_pri.c genericfilter.c scnfilter.c  $(GLOBALFLAGS)
87
88
89# Clean-up rules
90clean:
91        rm -f a.out core *.o *.obj *% *~
92
93clean_bin:
94        rm -f $B/export_generic* $B/export_scnl* $B/export_*actv* $B/export_*ack*
Note: See TracBrowser for help on using the repository browser.