mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 03:11:18 +02:00
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
--- ./Makefile.in.orig
|
|
+++ ./Makefile.in
|
|
@@ -7,9 +7,9 @@
|
|
CC=@CC@
|
|
CFLAGS=@CFLAGS@ @DEFS@ -DOPENVCP_CONFIG=\"$(sysconfdir)/openvcpd.conf\" -DOPENVCP_DATA=\"$(datadir)/openvcpd\" -Ilib/ -Isrc/ -rdynamic -DREVISION=\"$(REV)\" `python-config --cflags`
|
|
LDFLAGS=@LDFLAGS@
|
|
-LIBS=@LIBS@ `python-config --ldflags`
|
|
+LIBS=@LIBS@ `python-config --ldflags` -liptc -lip4tc
|
|
|
|
-OBJECTS = lib/libiptc/libip6tc.o lib/libiptc/libip4tc.o src/modules.o src/misc.o src/node.o src/traffic.o src/logtraffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o lib/ovcpxml.o src/filter.o src/bandwidth.o src/trafficlimit.o src/userbackup.o src/task.o
|
|
+OBJECTS = src/modules.o src/misc.o src/node.o src/traffic.o src/logtraffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o lib/ovcpxml.o src/filter.o src/bandwidth.o src/trafficlimit.o src/userbackup.o src/task.o
|
|
|
|
all: openvcpd lib/pyovcp/ovcp.so
|
|
openvcpd: src/main.c $(OBJECTS) lib/pyovcp/pyovcp.a
|
|
@@ -35,12 +35,6 @@
|
|
|
|
lib/ovcpxml.o: lib/ovcpxml.c
|
|
$(CC) $(CFLAGS) -fPIC -c lib/ovcpxml.c -o lib/ovcpxml.o
|
|
-
|
|
-lib/libiptc/libip4tc.o:
|
|
- cd lib/libiptc/; make libip4tc.o;
|
|
-
|
|
-lib/libiptc/libip6tc.o:
|
|
- cd lib/libiptc/; make libip6tc.o;
|
|
|
|
lib/pyovcp/ovcp.so:
|
|
cd lib/pyovcp/; make ovcp.so;
|