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

Revision 3186, 1.2 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#    $Id$
4#
5#    Revision history:
6#     $Log$
7#     Revision 1.4  2007/12/16 14:50:31  paulf
8#     cflags fixed for linux
9#
10#     Revision 1.3  2007/03/28 16:51:38  paulf
11#     removed malloc.h and tweeked make for MACOSX
12#
13#     Revision 1.2  2005/07/27 19:04:36  friberg
14#     fixed up makefile.ux to be SNCL compat
15#
16#
17#
18
19LIBS = -mt -lpthread -lm
20CFLAGS = -D_REENTRANT $(GLOBALFLAGS)
21
22B = $(EW_HOME)/$(EW_VERSION)/bin
23L = $(EW_HOME)/$(EW_VERSION)/lib
24E = ../export
25
26BINARIES = ringdup.o $L/mem_circ_queue.o $L/kom.o \
27        $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
28        $L/sleep_ew.o $L/time_ew.o $L/threads_ew.o $L/sema_ew.o $L/swap.o         
29
30all:
31        make -f makefile.ux ringdup_generic
32        make -f makefile.ux ringdup_scn
33
34ringdup_generic: $(BINARIES) $E/genericfilter.o
35        $(CC) $(CFLAGS) -o $B/ringdup_generic $(BINARIES) $E/genericfilter.o $(LIBS)
36
37ringdup_scn: $(BINARIES) $E/scnfilter.o
38        $(CC) $(CFLAGS) -o $B/ringdup_scn $(BINARIES) $L/chron3.o $L/rdpickcoda.o $E/scnfilter.o $(LIBS)
39
40
41lint:
42        lint ringdup.c genericfilter.c scnfilter.c $(GLOBALFLAGS)
43
44# Clean-up rules
45clean:
46        rm -f a.out core *.o *.obj *% *~
47
48clean_bin:
49        rm -f $B/ringdup_generic* $B/ringdup_scn*
Note: See TracBrowser for help on using the repository browser.