source: trunk/src/archiving/archman/makefile.unix @ 8037

Revision 8037, 882 bytes checked in by stefan, 5 weeks ago (diff)

update release notes, version, some make clean

Line 
1LINUX_FLAGS    = -lpthread
2SOLARIS_FLAGS  = -lnsl -lsocket -lrt -lpthread
3SPECIFIC_FLAGS = $($(PLATFORM)_FLAGS)
4
5CFLAGS = $(GLOBALFLAGS) -Ilibbgs
6
7B = $(EW_HOME)/$(EW_VERSION)/bin
8L = $(EW_HOME)/$(EW_VERSION)/lib
9
10APP = archman
11
12OBJS = $(APP).o
13
14EW_LIBS = \
15        $L/socket_ew.o \
16        $L/socket_ew_common.o \
17        $L/swap.o \
18        -L$L -lbgs -lew_mt
19
20$B/$(APP): $(OBJS) $L/libbgs.a
21        $(CC) -o $@ $(CFLAGS) $(OBJS) $(EW_LIBS) $(SPECIFIC_FLAGS)
22
23$L/libbgs.a:
24        @cd libbgs && \
25                echo ---------- ; \
26                echo Making $(@F) in: `pwd` ; \
27                $(MAKE) -f makefile.unix
28
29
30# Clean-up rules
31clean:  clean/archman \
32        clean/libbgs
33
34clean/archman: PHONY
35        -$(RM) a.out core *.o *.obj *% *~ \
36        $(RM) lib/a.out lib/core lib/*.o lib/*.obj lib/*% lib/*~ lib/*.a
37
38clean/libbgs: PHONY
39        -@cd libbgs && \
40                echo Cleaning in: `pwd` ; \
41                $(MAKE) -f makefile.unix clean
42
43clean_bin: PHONY
44        -$(RM) $B/$(APP) $B/$(APP).exe
45
46PHONY:
Note: See TracBrowser for help on using the repository browser.