7 VERSIONHI = @VERSIONHI@
8 VERSIONLO = @VERSIONLO@
23 exec_prefix = @exec_prefix@
27 includedir = @includedir@
29 man1dir = $(mandir)/man1
30 man2dir = $(mandir)/man2
35 DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)
36 CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR)
41 # Compiling entire program or any subproject
42 # ------------------------------------------
46 # Compiling and installing everything and runing test
47 # ---------------------------------------------------
48 install: all installdirs
51 # Deleting all the installed files
52 # --------------------------------
56 # Performing self-test
57 # --------------------
61 # Performing installation test
62 # ----------------------------
66 # Creating installation directories
67 # ---------------------------------
71 # Creating dependencies
72 # ---------------------
76 # $(CPP) $(CPPFLAGS) $(M_OR_MM) *.c >main.dep
84 $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
97 # Remaking configuration
98 # ----------------------
100 @if [ -f $(PRJDIR)/devel ]; then\
101 $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" freshconf;\
104 # End of main_in.mk/main.mk