6 VERSIONHI = @VERSIONHI@
7 VERSIONLO = @VERSIONLO@
18 exec_prefix = @exec_prefix@
22 includedir = @includedir@
24 man1dir = $(mandir)/man1
25 man2dir = $(mandir)/man2
29 CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR)
32 # Compiling entire program or any subproject
33 # ------------------------------------------
37 # Compiling and installing everything and runing test
38 # ---------------------------------------------------
39 install: all installdirs
40 $(CP) *.h $(datadir)/include/
43 # Deleting all the installed files
44 # --------------------------------
46 for hdr in *.h; do rm -f $(datadir)/$$hdr; done
49 # Performing self-test
50 # --------------------
54 # Performing installation test
55 # ----------------------------
59 # Creating installation directories
60 # ---------------------------------
62 [ -d $(datadir)/include ] || mkdir -p $(datadir)/include
65 # Creating dependencies
66 # ---------------------
70 # $(CPP) $(CPPFLAGS) $(M_OR_MM) *.c >main.dep
79 # Remaking configuration
80 # ----------------------
82 @if [ -f $(PRJDIR)/devel ]; then\
83 $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" \
87 # End of main_in.mk/main.mk