Merge branch 'dev' of https://github.com/ntop/nDPI into dev
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ $(NDPI_LIB_STATIC): $(OBJECTS)
|
|||||||
|
|
||||||
$(NDPI_LIB_SHARED): $(OBJECTS)
|
$(NDPI_LIB_SHARED): $(OBJECTS)
|
||||||
$(CC) -shared -fPIC $(SONAME_FLAG) -o $@ $(OBJECTS)
|
$(CC) -shared -fPIC $(SONAME_FLAG) -o $@ $(OBJECTS)
|
||||||
ln -Ffsr $(NDPI_LIB_SHARED) $(NDPI_LIB_SHARED_BASE)
|
ln -Ffs $(NDPI_LIB_SHARED) $(NDPI_LIB_SHARED_BASE)
|
||||||
|
|
||||||
%.o: %.c $(HEADERS) Makefile
|
%.o: %.c $(HEADERS) Makefile
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
@@ -57,6 +57,6 @@ clean:
|
|||||||
install: $(NDPI_LIBS)
|
install: $(NDPI_LIBS)
|
||||||
mkdir -p $(DESTDIR)$(libdir)
|
mkdir -p $(DESTDIR)$(libdir)
|
||||||
cp $(NDPI_LIBS) $(DESTDIR)$(libdir)/
|
cp $(NDPI_LIBS) $(DESTDIR)$(libdir)/
|
||||||
ln -Ffsr $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED) $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED_BASE)
|
ln -Ffs $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED) $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED_BASE)
|
||||||
mkdir -p $(DESTDIR)$(includedir)
|
mkdir -p $(DESTDIR)$(includedir)
|
||||||
cp ../include/*.h $(DESTDIR)$(includedir)
|
cp ../include/*.h $(DESTDIR)$(includedir)
|
||||||
|
|||||||
Reference in New Issue
Block a user