/Makefile.in (19522a9c824e55376c8380dffe2d9e635c1b450b) (1245 bytes) (mode 100644) (type blob)
include Makefile.include
export CC := gcc
export INCS += -I.
export LIBS += -lcrypto -lssl #-lpthread
export OBJS += Conn.o Conn_web.o
export CFLAGS := -Wall -Wextra -pipe -g $(CC_SWITCHES) $(CFLAGS)
.PHONY: all
all: libConn.so.@VER@
Conn.o: Conn.c Conn.h Conn_config.h Conn_intern.h
$(CC) $(CFLAGS) -fpic $(INCS) -c $<
Conn_web.o: Conn_web.c Conn_web.h Conn.h Conn_config.h Conn_intern.h
$(CC) $(CFLAGS) -fpic $(INCS) -c $<
%.o: %.c
$(CC) $(CFLAGS) -fpic $(INCS) -c $<
libConn.so.@VER@: $(OBJS)
$(CC) $(CFLAGS) -fPIC $(INCS) -shared -Wl,-soname,libConn.so.1 \
-o $@ $(OBJS) -lc $(LIBS)
ln -sf $@ libConn.so.1
ln -sf libConn.so.1 libConn.so
(date; echo $(CFLAGS); size libConn.so.@VER@; echo) >> History.size
libConn.a: $(OBJS)
ar rcs libConn.a $(OBJS)
.PHONY: tests
tests:
cppcheck --enable=all -I. .
$(MAKE) -C tests
.PHONY: examples
examples:
$(MAKE) -C examples build
.PHONY: clean
clean:
@-rm -f *.a *.o libConn.so.@VER@ *.so *.so.1
@-rm -f $(PRJ)-*.rpm $(PRJ)-*-*-*.tgz $(PRJ)-*.tar.gz
@$(MAKE) -C examples clean
@$(MAKE) -C tests clean
install: all
@mkdir -p $(I_USR_LIB)
@cp -vd libConn.so libConn.so.1 libConn.so.$(VER) $(I_USR_LIB)
@mkdir -p $(I_USR_INC)
@cp -vd Conn.h Conn_config.h $(I_USR_INC)
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
129 |
38f2534580e0aace0e6a5b49d79ada2c2ca162be |
.exclude |
100644 |
blob |
162 |
30a78e3a392ae33217d139ce27c4e1ebd04aa6e0 |
.gitignore |
100644 |
blob |
169 |
c003c095218f64ad33aeb89987f61eb575557d96 |
.mailmap |
100644 |
blob |
1945 |
fecf0e7a7e8580485101a179685aedc7e00affbb |
Changelog.pre109 |
100644 |
blob |
79746 |
8e7bed6c9418fc54c960a9fdebed721a5f975134 |
Conn.c |
100644 |
blob |
5873 |
a9199c1f3f27263c1cf06622425d907c9f2e5217 |
Conn.h |
100644 |
blob |
917 |
5423bbceb9236d56d8ee827877d8b6d65986c490 |
Conn.spec.in |
100644 |
blob |
747 |
662c3f3fe8d0a3d23770631d7a0a260719d81e62 |
Conn_config.h.in |
100644 |
blob |
5546 |
7bc5f77db036d7714b28600ffd90ab4c5ee080e2 |
Conn_intern.h |
100644 |
blob |
11082 |
71f681091cfb48ebb145ee927a50c5fb18bdf246 |
Conn_web.c |
100644 |
blob |
93 |
4754320eef2b558b97b9c75bd01e545f102670b7 |
Conn_web.h |
100644 |
blob |
30 |
d987fa5df957830331139935d517009e2911b0cf |
INSTALL |
100644 |
blob |
25275 |
92b8903ff3fea7f49ef5c041b67a087bca21c5ec |
LICENSE |
100644 |
blob |
1245 |
19522a9c824e55376c8380dffe2d9e635c1b450b |
Makefile.in |
100644 |
blob |
29 |
e214257f87a28e8fb0413b627cf7ee76ade2e94c |
Makefile.include.in |
100644 |
blob |
192 |
5b11bdfb23857d8588845465aef993b320596b44 |
README |
100644 |
blob |
19376 |
5fbc10d9b77d79cd5f62c5f972cc4f7171a4c4f5 |
TODO |
100755 |
blob |
30 |
92c4bc48245c00408cd7e1fd89bc1a03058f4ce4 |
configure |
040000 |
tree |
- |
d4c9c4a69c5cfa2a84316967185f1661b6817779 |
docs |
100755 |
blob |
16779 |
274273c95ecfd0d46b63e1e3e8fbd24c204586c9 |
duilder |
100644 |
blob |
1344 |
ad09fb79617a9ddf6621a65a946f4da3fc5ae16d |
duilder.conf |
040000 |
tree |
- |
18d4616294d484bd1406a48e601ea0d7725c0258 |
examples |
040000 |
tree |
- |
5643f06c34660e576e6c5d0dee5ac74a2bf34f51 |
tests |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/Conn
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/Conn
Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/Conn
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main