catalinux / Conn (public) (License: LGPLv2) (since 2016-03-01) (hash sha1)
Net library for easy building ipv4/ipv6 network daemons/clients

/Makefile.in (3c820df3b36b4bc844c52bc8c7e86f7843b67bb6) (1311 bytes) (mode 100644) (type blob)

export CC := gcc
export INCS += -I.
export LIBS += 
export CFLAGS += -ggdb3 -Wall -Wextra -pedantic -Wno-long-long -pipe -fpic -O0
export OBJS += Conn_engine_core.o Conn_engine_poll.o Conn_engine_epoll.o Conn.o

.PHONY: all
all:	libConn.so.@VER@ libConn.a


Conn_engine_core.o: Conn_engine_core.c Conn_engine_core.h Conn_config.h
	$(CC) $(CFLAGS) $(INCS) -c Conn_engine_core.c

Conn_engine_poll.o: Conn_engine_poll.c Conn_config.h Conn_engine_core.h
	$(CC) $(CFLAGS) $(INCS) -c Conn_engine_poll.c

Conn_engine_epoll.o: Conn_engine_epoll.c Conn_config.h Conn_engine_core.h
	$(CC) $(CFLAGS) $(INCS) -c Conn_engine_epoll.c

Conn.o: Conn.c Conn.h Conn_engine_core.o Conn_engine_poll.o Conn_engine_epoll.o
	$(CC) $(CFLAGS) $(INCS) -c Conn.c

%.o: %.c
	gcc $(CFLAGS) $(INCS) $< -c

libConn.so.@VER@:	$(OBJS)
	$(CC) $(CFLAGS) $(INCS) -shared -Wl,-soname,libConn.so \
		-o $@ $(OBJS) -lc $(LIBS)
	ln -sf $@ libConn.so

libConn.a:	$(OBJS)
	ar rcs libConn.a $(OBJS)


.PHONY: tests
tests:
	$(MAKE) -C tests

.PHONY: examples
examples:
	$(MAKE) -C examples


.PHONY: clean
clean:
	@-rm -f *.a *.o *.so* $(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* $(I_USR_LIB)
	@mkdir -p $(I_USR_INC)
	@cp -vd *.h $(I_USR_INC)


Mode Type Size Ref File
100644 blob 70 9964a59b5d89f394cc4250ed6d6ce67a5f0cd196 .gitignore
100644 blob 1945 fecf0e7a7e8580485101a179685aedc7e00affbb Changelog.pre109
100644 blob 32275 c9b129ce84ffe0059efc71c9eb160115d0de544e Conn.c
100644 blob 1470 afedf88dd9c3b275e9c7d83d6572c2fcce60e50b Conn.h
100644 blob 726 64b1bad93a84f87c3e93fc24ac5341db691ea578 Conn.spec.in
100644 blob 66 68138d781ca754b15e14c687da91ee261b2c41f3 Conn_config.h.in
100644 blob 30491 b166c64c252c5ee28d832cad269f2fc392e8495d Conn_engine_core.c
100644 blob 9204 f975897b64a208c33f380addd293832ff2fd24f6 Conn_engine_core.h
100644 blob 3609 3f6bac3d86f1b0c177cb9db2721fc71edb969968 Conn_engine_epoll.c
100644 blob 610 b8597ef7043fa9b6ccd58c0f484f040e8621cc95 Conn_engine_epoll.h
100644 blob 2699 cdb9ad643a95b8777c608ef1ca8de10a3599ed4a Conn_engine_poll.c
100644 blob 597 183f7af0b0688200fa8f69527c03ee075c83df12 Conn_engine_poll.h
100644 blob 30 d987fa5df957830331139935d517009e2911b0cf INSTALL
100644 blob 25275 92b8903ff3fea7f49ef5c041b67a087bca21c5ec LICENSE
100644 blob 1311 3c820df3b36b4bc844c52bc8c7e86f7843b67bb6 Makefile.in
100644 blob 192 5b11bdfb23857d8588845465aef993b320596b44 README
100644 blob 2078 1425b11d02e3cd49be474d575a03d0698ce37228 TODO
100755 blob 23 d33bb6c4ecdce1390ce1db3c79ea3b93e22ea755 configure
040000 tree - d4c9c4a69c5cfa2a84316967185f1661b6817779 docs
100755 blob 10910 8fcd88850fe239f609c0d7bb7e09f5b9f853f1b2 duilder
100644 blob 276 a579a2e6c31a058b01f28c69a90dc8f36a9ca8a5 duilder.conf
040000 tree - 44bbe0aba6bc0116534b304ab4a5446f282649c8 examples
040000 tree - 751693d0803f700dd060788cc9383aa24b472267 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