7 VERSIONHI = @VERSIONHI@
8 VERSIONLO = @VERSIONLO@
23 exec_prefix = @exec_prefix@
27 datarootdir = @datarootdir@
28 includedir = @includedir@
30 man1dir = $(mandir)/man1
31 man2dir = $(mandir)/man2
36 DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)
37 CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR)
42 # Compiling entire program or any subproject
43 # ------------------------------------------
47 # Compiling and installing everything and runing test
48 # ---------------------------------------------------
49 install: all installdirs
52 # Deleting all the installed files
53 # --------------------------------
57 # Performing self-test
58 # --------------------
62 # Performing installation test
63 # ----------------------------
67 # Creating installation directories
68 # ---------------------------------
72 # Creating dependencies
73 # ---------------------
77 # $(CPP) $(CPPFLAGS) $(M_OR_MM) *.c >main.dep
80 include $(srcdir)/clean.mk
85 $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
98 # Remaking configuration
99 # ----------------------
101 @if [ -f $(PRJDIR)/devel ]; then\
102 $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" freshconf;\
105 # End of main_in.mk/main.mk