summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Services/ogAdmAgent/Makefile
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-05-19 18:32:44 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit142cf4849b11160657b3c1c181dc8fd89d06e5d8 (patch)
treea471bba51d4aa4c1ca9f6e7558f7b6feb9d12104 /admin/Sources/Services/ogAdmAgent/Makefile
parentbf1117db75cfdc65d2d2691a8d5747be2b2126ea (diff)
#971 remove ogAdmClient and ogAdmAgent
ogAdmClient has been replaced by ogClient. ogAdmAgent has been integrated into ogAdmServer.
Diffstat (limited to 'admin/Sources/Services/ogAdmAgent/Makefile')
-rw-r--r--admin/Sources/Services/ogAdmAgent/Makefile42
1 files changed, 0 insertions, 42 deletions
diff --git a/admin/Sources/Services/ogAdmAgent/Makefile b/admin/Sources/Services/ogAdmAgent/Makefile
deleted file mode 100644
index b9d39b9b..00000000
--- a/admin/Sources/Services/ogAdmAgent/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# makefile
-
-# Nombre del proyecto
-PROYECTO := ogAdmAgent
-
-# Directorio de instalaciĆ³n
-INSTALL_DIR := /opt/opengnsys
-
-# Opciones de compilacion
-CFLAGS := $(shell mysql_config --cflags)
-CFLAGS += -g -Wall -I../../Includes
-CPPFLAGS := $(CFLAGS)
-
-# Opciones de linkado
-LDFLAGS := -Wl,--no-as-needed $(shell mysql_config --libs) -lpthread
-
-# Ficheros objetos
-OBJS := ../../Includes/Database.o sources/ogAdmAgent.o
-
-
-all: $(PROYECTO)
-
-$(PROYECTO): $(OBJS)
- g++ $(LDFLAGS) $(OBJS) -o $(PROYECTO)
-
-install: $(PROYECTO)
- cp $(PROYECTO) $(INSTALL_DIR)/sbin
- cp $(PROYECTO).cfg $(INSTALL_DIR)/etc
-
-clean:
- rm -f $(PROYECTO) $(OBJS)
-
-uninstall: clean
- rm -f /usr/local/sbin/$(PROYECTO) /usr/local/etc/$(PROYECTO).cfg
-
-sources/%.o: sources/%.cpp
- g++ $(CPPFLAGS) -c -o"$@" "$<"
-
-sources/%.o: sources/%.c
- gcc $(CFLAGS) -c -o"$@" "$<"
-
-