Last change
on this file since 1429 was
1429,
checked in by orlov, 17 years ago
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | TOPDIR = .. |
---|
2 | |
---|
3 | include $(TOPDIR)/rules.mk |
---|
4 | |
---|
5 | PXX_AMODULES = \ |
---|
6 | pxx_exception |
---|
7 | |
---|
8 | PXX_MODULES = \ |
---|
9 | pxx_common \ |
---|
10 | pxx_sys_error \ |
---|
11 | pxx_allocator \ |
---|
12 | pxx_malloc_allocator \ |
---|
13 | pxx_heap \ |
---|
14 | pxx_heap_allocator \ |
---|
15 | pxx_default_allocator \ |
---|
16 | pxx_chunk_allocator_block_header \ |
---|
17 | pxx_chunk_allocator \ |
---|
18 | pxx_buffer \ |
---|
19 | pxx_fd_buffer \ |
---|
20 | pxx_stream \ |
---|
21 | pxx_binary_stream \ |
---|
22 | pxx_fd_binary_stream \ |
---|
23 | pxx_text_stream \ |
---|
24 | pxx_fd_text_stream \ |
---|
25 | pxx_string \ |
---|
26 | pxx_vector \ |
---|
27 | pxx_sock_addr \ |
---|
28 | pxx_stream_socket |
---|
29 | |
---|
30 | PXX_AHEADERS = $(PXX_AMODULES:=.hh) |
---|
31 | PXX_SOURCES = $(PXX_MODULES:=.cc) |
---|
32 | PXX_HEADERS = $(PXX_MODULES:=.hh) |
---|
33 | PXX_IHEADERS = $(PXX_MODULES:=.ih) |
---|
34 | PXX_OBJECTS = $(PXX_MODULES:=.o) |
---|
35 | |
---|
36 | ALL_SOURCES = $(PXX_SOURCES) |
---|
37 | |
---|
38 | DEPS = $(ALL_SOURCES:.cc=.dep) |
---|
39 | |
---|
40 | LIBPXX = libp++.a |
---|
41 | |
---|
42 | DISTFILES = Makefile |
---|
43 | DISTFILES += $(ALL_SOURCES) |
---|
44 | DISTFILES += $(PXX_HEADERS) |
---|
45 | DISTFILES += $(PXX_IHEADERS) |
---|
46 | DISTFILES += $(PXX_AHEADERS) |
---|
47 | |
---|
48 | all:: $(LIBPXX) |
---|
49 | |
---|
50 | $(LIBPXX): $(PXX_OBJECTS) |
---|
51 | ar cru $@ $^ |
---|
52 | |
---|
53 | install:: all |
---|
54 | mkdir -p -m 0755 $(INSTALL_DIR)/lib |
---|
55 | install -m 0644 $(LIBPXX) $(INSTALL_DIR)/lib/ |
---|
56 | |
---|
57 | uninstall:: all |
---|
58 | { \ |
---|
59 | cd $(INSTALL_DIR)/lib \ |
---|
60 | rm $(LIBPXX) \ |
---|
61 | } |
---|
62 | |
---|
63 | clean:: |
---|
64 | rm -f $(LIBPXX) *.o *.dep |
---|
65 | |
---|
66 | -include $(DEPS) |
---|
Note: See
TracBrowser
for help on using the repository browser.