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

Revision 3186, 1.3 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:42:27  paulf
14#     minor MACOSX directives
15#
16#     Revision 1.2  2005/07/27 18:46:02  friberg
17#     fix to makefile.ux from the sol version
18#
19#     Revision 1.1  2005/07/25 20:32:51  friberg
20#     added in UNIX makefile
21#
22#
23
24CFLAGS = -D_REENTRANT $(GLOBALFLAGS)
25#LIBS =-lnsl -mt -lpthread
26# removed -lnsl for MACOSX
27LIBS = -mt -lpthread
28
29B = $(EW_HOME)/$(EW_VERSION)/bin
30L = $(EW_HOME)/$(EW_VERSION)/lib
31
32
33EWBIN = $L/kom.o $L/getutil.o $L/logit_mt.o $L/sema_ew.o \
34        $L/transport.o $L/sleep_ew.o $L/socket_ew.o $L/time_ew.o \
35        $L/threads_ew.o $L/socket_ew_common.o
36         
37all:
38        make -f makefile.ux import_generic
39        make -f makefile.ux import_ack
40
41import_generic: import_generic.o $(EWBIN)
42        $(CC) $(CFLAGS) -o $B/import_generic import_generic.o $(EWBIN) $(LIBS)
43
44import_ack: import_ack.o $(EWBIN)
45        $(CC) $(CFLAGS) -o $B/import_ack import_ack.o $(EWBIN) $(LIBS)
46
47
48lint:
49        lint import_generic.c import_ack.c  $(GLOBALFLAGS)
50
51# Clean-up rules
52clean:
53        rm -f a.out core *.o *.obj *% *~
54
55clean_bin:
56        rm -f $B/import_generic* $B/import_ack*
Note: See TracBrowser for help on using the repository browser.