Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-imgsrv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-imgsrv
Commits
c5247adb
Commit
c5247adb
authored
Jul 20, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up Makefile
parent
423a8a31
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
37 deletions
+0
-37
Makefile
Makefile
+0
-31
imgsrv.c
imgsrv.c
+0
-6
No files found.
Makefile
View file @
c5247adb
AXIS_USABLE_LIBS
=
UCLIBC GLIBC
#include $(AXIS_TOP_DIR)/tools/build/Rules.axis
INSTDIR
=
$(prefix)
/usr/local/sbin/
PHPDIR
=
$(prefix)
/usr/html/
CONFDIR
=
$(prefix)
/etc/
INSTMODE
=
0755
INSTOTHER
=
0644
INSTOWNER
=
root
INSTGROUP
=
root
INCDIR
=
$(prefix)
/include
PROGS
=
imgsrv
PROGS
=
imgsrv
#OTHERFILES = exif_init.php
PHPCLI
=
exif.php imu_setup.php start_gps_compass.php
PHPCLI
=
exif.php imu_setup.php start_gps_compass.php
CONFFILES
=
Exif_template.xml
CONFFILES
=
Exif_template.xml
SRCS
=
imgsrv.c
SRCS
=
imgsrv.c
OBJS
=
imgsrv.o
OBJS
=
imgsrv.o
CFLAGS
+=
-Wall
-I
$(ELPHEL_KERNEL_DIR)
/include/elphel
CFLAGS
+=
-Wall
-I
$(ELPHEL_KERNEL_DIR)
/include/elphel
#CFLAGS += -Wall -I$(INCDIR) -I$(ELPHEL_KERNEL_DIR)/include
#CFLAGS += -Wall -I$(INCDIR) -I$(AXIS_KERNEL_DIR)/include -save-temps -dA -dP
all
:
$(PROGS)
all
:
$(PROGS)
$(PROGS)
:
$(OBJS)
$(PROGS)
:
$(OBJS)
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
# cris-strip -s $@
install
:
$(PROGS)
$(INSTALL)
-d
$(INSTDIR)
$(INSTALL)
-m
$(INSTMODE)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(PROGS)
$(INSTDIR)
$(INSTALL)
-d
$(PHPDIR)
$(INSTALL)
-m
$(INSTMODE)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(PHPCLI)
$(PHPDIR)
$(INSTALL)
-d
$(CONFDIR)
$(INSTALL)
-m
$(INSTOTHER)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(CONFFILES)
$(CONFDIR)
clean
:
clean
:
rm
-rf
$(PROGS)
*
.o core
rm
-rf
$(PROGS)
*
.o core
dependency
:
make depend
depend
:
makedepend
-Y
--
$(CFLAGS)
--
$(SRCS)
2>/dev/null
touch
dependency
# DO NOT DELETE
imgsrv.c
View file @
c5247adb
...
@@ -24,18 +24,12 @@
...
@@ -24,18 +24,12 @@
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <time.h>
#include <string.h>
#include <string.h>
#include <syslog.h>
#include <syslog.h>
#include <netinet/in.h>
#include <netinet/in.h>
#include <sys/mman.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
//#include <elphel/c313a.h>
//#include <elphel/exifa.h>
#include <c313a.h>
#include <c313a.h>
#include <exifa.h>
#include <exifa.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment